Keyboard Layout Viewer

See exactly which character each physical key produces on your system, read directly from your browser's real keyboard layout data - or press keys live to confirm it yourself.

HARDWARETESTINGPRO / KEYBOARD LAB

Live Keyboard Layout Inspector

Checking API

Explore your operating system's key map when your browser exposes it, or observe characters from keys you actually press. Physical key codes and produced characters stay separate.

Layout APIChecking…Requesting map
Mapped positions0OS map or observed
Observed presses00 unique physical codes
Last key / character—Nothing recorded
Checking Keyboard Layout Map API availability. Live capture is off.
Live key capture is off Click Start Live Capture, then focus this area and press physical keys. Tab remains available to leave.
OS mapObserved keyNot mappedCurrently down

Keyboard diagram is illustrative, not automatic ANSI/ISO hardware detection. On phones, swipe horizontally inside the diagram. Click a drawn key to inspect it; clicking does not simulate a hardware press.

0 of 0 mapped keys

Selected physical position

Select a key on the diagram to inspect its code, mapping source and observations.

A Shift/Ctrl/Alt combination may produce a different character; it does not overwrite the unmodified base mapping. Dead keys and IME composition may need additional OS-specific testing.

Recent observed presses

No keys observed yet. Press Start Live Capture and use the focus area.

Privacy: Observations stay in this browser tab unless you choose CSV Export. Browser-restricted shortcuts and keys intercepted by the OS cannot be measured here. Layout-map API availability varies by browser and security context.

★ ★ ★ ★ ★
1/5 (1 rating)

What Is a Keyboard Layout Viewer?

This tool shows which character each physical key on your keyboard actually produces, according to your operating system's currently active layout. In browsers that support it, it reads this directly from the Keyboard Layout Map API. In browsers that don't expose that data, it builds the same picture live from real keydown events as you press keys - either way, nothing on this page is guessed or assumed from a generic layout template.

This matters more than it sounds. Physical key position and printed character don't always match - an AZERTY, QWERTZ, or Dvorak layout puts different characters on the same physical keys as a standard US QWERTY board, and even within QWERTY, punctuation keys shift between regional variants.

How to Use the Keyboard Layout Viewer

  1. Open the tool and check Layout API. When your browser allows the Keyboard Layout Map API, the software-layout characters fill in from your operating system. If it says Unavailable or Blocked, use live capture to observe your keyboard directly.
  2. Choose Common desktop or Show optional ISO key to adjust the diagram. This only changes the drawing; the website cannot automatically identify the physical ANSI or ISO key shape. On a small screen, swipe inside the diagram to see the remaining keys.
  3. Click Start Live Capture and make sure the dedicated capture box has focus. Press physical keys on your keyboard. Currently held keys light up; the last physical code, browser-reported character, total observed presses and mapped positions update live. Tab can still move focus out of the capture area.
  4. Compare the colored keys: OS map shows a character supplied by the layout API, while Observed key means an unmodified physical keypress was reported by the browser. Shift, Ctrl and Alt combinations appear in the recent event history but do not overwrite the unmodified base character.
  5. Click a drawn key to inspect its physical code, OS API value, observed base value and press count. Use Find physical code / mapped character to highlight positions such as KeyQ, IntlBackslash or a specific symbol.
  6. Use Refresh OS Map after changing your operating system's language/layout. Choose Clear Observations to remove recorded keypresses without clearing the OS map, or Stop to stop collecting new keypresses. Export CSV downloads the observed/base mapping and key counts to your own device when data is available.

How It Works

Where supported, this tool calls navigator.keyboard.getLayoutMap(), a browser API that returns the character mapped to each physical key code by your operating system's active layout - no typing required. Where that API isn't available, the grid instead labels each key using the key property of real keydown events, so pressing a key fills in exactly what your system reports for it, live.

Understanding Your Results

  • Grid matches what you expect for your language layout - your system layout is being read and applied correctly.
  • A key shows a character you didn't expect - you may have a regional layout active (AZERTY, QWERTZ, Dvorak, etc.) rather than standard US QWERTY, which is normal and not a fault.
  • Layout API shows "Not supported" - this simply means your browser doesn't expose that specific API; the live key-press fallback still gives you accurate results as you type.

Browser Limitations

The Keyboard Layout Map API is currently only implemented in Chromium-based browsers, and even there, it may require a secure (HTTPS) context and can be restricted in some embedded or sandboxed environments. On unsupported browsers, this tool cannot pre-fill the grid without you pressing each key at least once, since there's no other honest way to know what each key produces.

Common Mistakes to Avoid

  • Expecting the grid to auto-fill on every browser - only Chromium-based browsers support the underlying API; others need live key presses.
  • Assuming a "wrong" character means a hardware fault - mismatched characters usually mean a different regional layout is active, not a broken key.
  • Testing with a virtual keyboard software layer active - some remapping tools change what the browser sees; disable them first for an accurate read of your physical keyboard.

If a key isn't registering at all rather than showing the wrong character, check it with the Keyboard Tester instead.

Frequently Asked Questions

Why does my browser show "Not supported"?

The Keyboard Layout Map API is currently limited to Chromium-based browsers like Chrome, Edge, and Opera. Firefox and Safari don't implement it yet, so this tool falls back to reading your layout live from keydown events instead.

Does this detect my keyboard's physical layout, like ANSI vs ISO?

No, it shows which character each key produces based on your operating system's software layout setting, not the physical shape or size of the keyboard itself.

Is this reading anything from my system beyond the layout map?

No. It only reads the character-per-key mapping through the standard API, or from key presses you make yourself - nothing else about your system is accessed.

Why does a key show a symbol I don't recognize?

This usually means a non-US layout is active, such as AZERTY or QWERTZ, where punctuation and symbol keys are arranged differently than standard US QWERTY.

Is any of this data stored or sent anywhere?

No. Everything is read and displayed locally in your browser and is never transmitted or saved.

Conclusion

Whether you're confirming a new keyboard's regional layout or just curious what a specific key actually produces, this viewer gives you a real, live answer instead of a generic assumption. For confirming that every key registers at all, pair this with the Keyboard Tester.