How to Use a Virtual Keyboard on a Computer 


Published: 17 Sep 2026


If your physical keyboard stops working, typing on a computer can become a real problem. You may need to enter a password, search the web, or write a document. In such cases, knowing how to use virtual keyboard on computer can help you keep working.

In my years of helping people solve common computer problems, I have often found the On-Screen Keyboard useful when a physical keyboard is not available. Windows has a built-in option that you can control with a mouse or touchscreen.

In this guide, I will show you how to use a virtual keyboard on Windows and Mac. You will also learn how to type with it, use useful features, and fix common problems. If you want to learn what a virtual keyboard is first, read our guide on What Is a Virtual Keyboard? 

How to use virtual keyboard on computer with an on-screen keyboard
Table of Content
  1. How to a Use Virtual Keyboard on a Computer
  2. How to Open a Virtual Keyboard on Windows
    1. Open the On-Screen Keyboard With a Keyboard Shortcut
    2. Open the On-Screen Keyboard From Settings
    3. Open the On-Screen Keyboard With Windows Search
    4. Open the On-Screen Keyboard With the Run Command
    5. Open the On-Screen Keyboard From the Sign-In Screen
  3. How to Type With a Virtual Keyboard
    1. Type Letters and Numbers
    2. Use Space, Enter, and Backspace
    3. Use Shift and Caps Lock
    4. Type Symbols and Special Characters
  4. How to Use a Virtual Keyboard Without a Physical Keyboard
    1. Use a Mouse or Touchpad
    2. Use a Touchscreen
    3. When Your Physical Keyboard Is Not Working
  5. How to Use a Virtual Keyboard on a Mac
    1. Use Keyboard Viewer on Mac
    2. Use the Accessibility Keyboard on Mac
  6. How to Use On-Screen Keyboard Features
    1. Use Text Prediction
    2. Use the Numeric Keypad
    3. Use Hover Mode
    4. Use Scan Mode
    5. Make the On-Screen Keyboard Start Automatically
  7. On-Screen Keyboard vs Touch Keyboard
  8. How to Fix a Virtual Keyboard That Is Not Working
    1. Virtual Keyboard Does Not Open
    2. Virtual Keyboard Does Not Type
    3. Touch Keyboard Does Not Appear
    4. Virtual Keyboard Is Missing Some Keys
    5. Virtual Keyboard Covers the Screen
  9. How to Close a Virtual Keyboard
  10. Frequently Asked Questions About Using a Virtual Keyboard
  11. Conclusion

How to a Use Virtual Keyboard on a Computer

A virtual keyboard lets you type on a computer without using a physical keyboard. To use a virtual keyboard on a computer, first open the virtual keyboard or On-Screen Keyboard.

Then follow these simple steps:

  1. Click or tap inside the text box where you want to type.
  2. Click or tap the letters, numbers, or symbols on the virtual keyboard.
  3. Use Space, Enter, Backspace, Shift, and other keys as needed.
  4. Continue typing until you finish your text.

For example, open Notepad, click inside the blank page, and use the On-Screen Keyboard to type a short sentence. You can control it with a mouse, touchpad, or touchscreen.

How to Open a Virtual Keyboard on Windows

Windows has a built-in On-Screen Keyboard (OSK) that lets you type without a physical keyboard. You can open it in several ways, including a keyboard shortcut, Settings, Windows Search, the Run command, or the sign-in screen.

Open the On-Screen Keyboard With a Keyboard Shortcut

The direct On-Screen Keyboard shortcut is Windows + Ctrl + O.

  1. Press Windows + Ctrl + O together.
  2. The On-Screen Keyboard will appear on the screen.
  3. Click its keys to start typing.

This shortcut is useful when your physical keyboard is working.

Open the On-Screen Keyboard From Settings

You can also open the Windows virtual keyboard from the Settings app. The steps are slightly different in Windows 11 and Windows 10.

Windows 11:

  1. Open Settings.
  2. Select Accessibility.
  3. Select Keyboard.
  4. Turn on On-Screen Keyboard.

Windows 10:

  1. Open Settings.
  2. Select Ease of Access.
  3. Select Keyboard.
  4. Turn on Use the On-Screen Keyboard.
Windows 11 Settings showing the On-Screen Keyboard option

The virtual keyboard will then appear on your screen.

Windows Search provides another simple way to find the On-Screen Keyboard.

  1. Open Windows Search.
  2. Type On-Screen Keyboard.
  3. Select the app from the search results.

The keyboard will open, and you can use it with a mouse, touchpad, or touchscreen.

Open the On-Screen Keyboard With the Run Command

You can use the osk command to open the virtual keyboard quickly.

  1. Press Windows + R to open the Run box.
  2. Type osk.
  3. Press Enter.

Windows will open the On-Screen Keyboard. You can then select its keys with your mouse, touchpad, or touchscreen.

Open the On-Screen Keyboard From the Sign-In Screen

If your physical keyboard is not working, you can open the On-Screen Keyboard before signing in to Windows.

  1. Go to the Windows sign-in screen.
  2. Select the Accessibility button in the lower-right corner.
  3. Select On-Screen Keyboard.
  4. Click the keys to enter your password or PIN.
  5. Sign in to Windows.

Note: These On-Screen Keyboard methods work on most Windows laptops and desktop computers.

How to Type With a Virtual Keyboard

Once the virtual keyboard is open, you can type much like you would with a physical keyboard. Click or tap inside the text field first, then select the keys you need on the screen.

Type Letters and Numbers

Click a letter on the virtual keyboard to enter it in the text field. You can also click the number keys to enter numbers.

Use Space, Enter, and Backspace

These keys handle common typing tasks:

  • Space: Adds a space between words.
  • Enter: Starts a new line or confirms an entry, depending on the app.
  • Backspace: Deletes the character to the left of the cursor.

Click or tap the required key on the virtual keyboard to use it.

Use Shift and Caps Lock

You can use Shift and Caps Lock to change letter case or enter certain symbols.

  • Shift: Click Shift and then select a letter to type it in uppercase. You can also use it with a number or symbol key.
  • Caps Lock: Turns uppercase typing on or off.

These keys work much like they do on a physical keyboard.

Type Symbols and Special Characters

The virtual keyboard can also enter common symbols and special characters. Their location can vary with the keyboard layout and language settings.

  • @ for email addresses
  • # for hashtags or other text
  • $ for currency amounts
  • % for percentages

If a symbol appears above a number or letter, select Shift and then click that key. This lets you type symbols without a physical keyboard.

How to Use a Virtual Keyboard Without a Physical Keyboard

You can still use your computer when the physical keyboard is unavailable. The Windows On-Screen Keyboard lets you type with a mouse, touchpad, or touchscreen.

Use a Mouse or Touchpad

You can use a virtual keyboard with a mouse by selecting each key on the screen.

  1. Move the pointer over the key you need.
  2. Click the key.
  3. Continue clicking the keys to type.
  4. Select keys such as Space, Enter, or Backspace when needed.

A touchpad works in the same basic way. Move the pointer with your finger and click the required key. This lets you type without using physical keys.

Use a Touchscreen

If your computer supports touch input, you can enter text directly on the virtual keyboard.

  • Tap inside the text field where you want to type.
  • Tap each letter, number, or symbol on the keyboard.
  • Continue tapping the keys until you finish typing.

This method does not require a mouse or touchpad. It works on computers that support touchscreen input.

When Your Physical Keyboard Is Not Working

A virtual keyboard is useful when your physical keyboard is broken, disconnected, or temporarily unavailable. You can still perform basic typing tasks without physical keys.

For example, you can use it to:

  • Enter a Windows PIN or password
  • Search the web
  • Type in a document
  • Fill out an online form
  • Enter text in an app

How to Use a Virtual Keyboard on a Mac

Mac computers include built-in tools for on-screen typing. You can use Keyboard Viewer for a simple virtual keyboard or the Accessibility Keyboard when you need to use your Mac without a physical keyboard.

Use Keyboard Viewer on Mac

Keyboard Viewer displays your keyboard layout on the screen. You can click its keys to enter letters, numbers, symbols, and other characters.

Keyboard Viewer virtual keyboard on a Mac

To open Keyboard Viewer on Mac:

  1. Click the Input menu in the menu bar.
  2. Select Show Keyboard Viewer.
  3. Click the keys on the on-screen keyboard to enter text.

If you do not see the Input menu, go to Apple menu > System Settings > Keyboard > Text Input > Edit. Turn on Show Input menu in menu bar, then open Keyboard Viewer from the menu bar.

Use the Accessibility Keyboard on Mac

The Accessibility Keyboard is a full virtual keyboard for Mac. It lets you enter text and use your Mac without a physical keyboard.

To turn it on:

  1. Open Apple menu > System Settings.
  2. Select Accessibility.
  3. Select Keyboard.
  4. Turn on Accessibility Keyboard.

The keyboard appears on the screen. You can click its keys with a mouse or trackpad to type.

How to Use On-Screen Keyboard Features

After learning the basic typing controls, you can use several On-Screen Keyboard features to make typing easier. Windows provides options such as text prediction, a numeric keypad, hover mode, and scan mode.

Use Text Prediction

Text Prediction suggests words as you type. You can select a suggested word instead of entering every letter.

To turn it on:

  1. Open the On-Screen Keyboard.
  2. Select Options.
  3. Turn on Use Text Prediction.
  4. Select a suggested word when it appears.

This can make typing faster, especially when entering longer words.

Use the Numeric Keypad

The numeric keypad adds a separate number pad to the On-Screen Keyboard. It is useful when you enter numbers often or prefer a number-pad layout.

  1. Open the On-Screen Keyboard.
  2. Select Options.
  3. Turn on Turn on numeric keypad.

The OSK will expand to show the numeric keypad.

Use Hover Mode

Hover mode lets you select a key without clicking it.

  • Move the mouse or another pointing device over a key.
  • Keep the pointer there for the set time.
  • Windows enters the character automatically.

You can adjust the hover duration in the On-Screen Keyboard options. This can help if clicking keys is difficult.

Use Scan Mode

Scan mode moves through keys or groups of keys on the On-Screen Keyboard. It provides another way to select keys without clicking each one directly.

  • Wait for the desired key or group to be highlighted.
  • Use the available selection method to choose it.
  • Continue until you finish typing.

Scan mode can be useful for people who need an alternative input method.

Make the On-Screen Keyboard Start Automatically

If you use the On-Screen Keyboard often, you may be able to set it to start automatically when you sign in to Windows.

  • Open Windows Settings.
  • Go to Accessibility settings.
  • Look for the On-Screen Keyboard options.
  • If your Windows version provides an automatic startup option, enable it.

The exact option and location can vary between Windows versions.

On-Screen Keyboard vs Touch Keyboard

The on-screen keyboard vs touch keyboard difference can be confusing because both let you type without a physical keyboard. However, they are made for different typing needs. For more details about the Touch Keyboard and its available layouts, see Microsoft’s Touch Keyboard guide.

On-Screen Keyboard vs Touch Keyboard in Windows
FeatureOn-Screen KeyboardTouch Keyboard
Main purposeFull on-screen keyboard Touch-friendly typing
Physical keyboardNot requiredNot required
Keyboard layoutFull keyboard layoutTouch-friendly layout
Input methodsClick, hover, or scanTouch-focused input
Best suited forAccessibility and mouse-based typing Touch-based typing

Is on-screen keyboard the same as touch keyboard? No. The On-Screen Keyboard shows a full keyboard on the screen. The Touch Keyboard is designed mainly for touch-based typing.

How to Fix a Virtual Keyboard That Is Not Working

A virtual keyboard may sometimes stop working. It may not open, type, or show the keys you need. Try these simple fixes first.

Virtual Keyboard Does Not Open

If the virtual keyboard is not opening, check the On-Screen Keyboard setting in Windows.

  • Turn the On-Screen Keyboard setting off and on again.
  • Restart Windows if the keyboard still does not open.
  • Try opening the keyboard again.

Virtual Keyboard Does Not Type

If the virtual keyboard is not typing, make sure you click inside the place where you want to type.

  • Click inside a search box, document, or text box.
  • Try typing in another app, such as Notepad.
  • Close and open the keyboard again if the keys do not work.

Touch Keyboard Does Not Appear

If the Touch Keyboard is not appearing, check its Windows settings and taskbar options.

  • Make sure the Touch Keyboard is turned on.
  • If you use a touchscreen, check that the screen responds to touch.
  • Use the On-Screen Keyboard if you need a full keyboard on the screen.

Virtual Keyboard Is Missing Some Keys

If the virtual keyboard is missing keys, the keyboard layout may be different.

  • Check the language and keyboard layout in Windows.
  • Choose the layout you need.
  • Check the keyboard again.

Virtual Keyboard Covers the Screen

If the virtual keyboard covers the screen, move it to another place.

  • Move the keyboard to another part of the screen or minimize it when needed.

How to Close a Virtual Keyboard

When you finish typing, click the X button to close the On-Screen Keyboard. You can also minimize it if you want to hide it temporarily. 

Frequently Asked Questions About Using a Virtual Keyboard

Have a few questions about using a virtual keyboard? Here are quick and simple answers to the most common ones.

Can I Use a Virtual Keyboard on Any Computer?

Yes, most modern computers support a virtual keyboard. Windows has the On-Screen Keyboard, while Mac has Keyboard Viewer and Accessibility Keyboard.

Can I Use a Virtual Keyboard in a Web Browser?

Yes, you can use a virtual keyboard in a web browser. It works for search boxes, online forms, email fields, and other text areas.

Can I Change the Language of the Virtual Keyboard?

Yes, you can change the language or keyboard layout of a virtual keyboard. Windows will show the keys for the selected layout.

Can I Change the Size or Position of the Virtual Keyboard?

Yes, you can move and resize the On-Screen Keyboard when these options are available. This can help keep the keyboard from covering important parts of the screen.

Can I Use a Virtual Keyboard for Gaming?

Yes, you can use a virtual keyboard for some games. However, it may be difficult for games that require fast or repeated key presses.

Is It Safe to Enter Passwords Using a Virtual Keyboard?

Yes, you can use a built-in virtual keyboard to enter passwords. For better security, use the built-in keyboard provided by your operating system and avoid unknown third-party keyboard apps.

Conclusion

Knowing how to use a virtual keyboard on a computer can help you keep working when a physical keyboard is unavailable. Windows and Mac both provide built-in tools for on-screen typing. You can use them with a mouse, touchpad, or touchscreen.

Now, you can use these steps whenever you need to type without a physical keyboard.


Gaurav Avatar
Gaurav

Hi, I'm Gaurav, with over 12 years of experience in the IT and Computer Education field. I also hold a Master's degree in IT. I created this blog to teach computer basics in a simple and clear manner. From hardware to software, AI to troubleshooting, I cover it all. I aim to help beginners learn step by step. Let's make technology easy, fun, and valuable for everyone!


Please Write Your Comments
Comments (0)
Leave your comment.
Write a comment
INSTRUCTIONS:
  • Be Respectful
  • Stay Relevant
  • Stay Positive
  • True Feedback
  • Encourage Discussion
  • Avoid Spamming
  • No Fake News
  • Don't Copy-Paste
  • No Personal Attacks
`