Skip to content

How to Change and Check the Keyboard Layout in Windows

Published: · 4 min reading time · Updated:

In Windows 11 two different shortcuts change your keyboard layout, and only one of them is meant to be pressed on purpose. Windows plus Space cycles through the layouts you have installed and shows a small panel while it does so. Left Alt plus Shift does much the same thing silently, which is why a keyboard that suddenly prints the wrong characters is usually a switched layout rather than a broken board.

Read the language indicator first

Once a second layout is installed, Windows puts an indicator in the taskbar next to the clock, showing a short code such as ENG or DEU. That indicator is the fastest diagnosis available, because it tells you which layout is active in the window you are typing in right now.

The catch is that the setting can be per window. Windows has an option called let me set a different input method for each app window, and when it is on, your browser and your text editor can sit on different layouts at the same time. A problem that follows one application and not another is almost always this setting.

Add, remove and reorder layouts

Layouts live under Settings, then Time and language, then Language and region. Each installed language has a menu with Language options, and inside it a Keyboards section where you add or remove a layout. A language can hold several: English can carry both the plain United States layout and United States International at once, which is how most people end up cycling between two arrangements they did not knowingly install.

Removing what you do not use is the permanent fix. If only one layout remains, Windows plus Space has nothing to cycle to, the taskbar indicator disappears, and the accidental switch stops being possible.

The two hotkeys themselves live in a different place, under Advanced keyboard settings, behind a link named input language hot keys. The dialog that opens is the old Text Services panel, and it lets you set the switch between input languages to none. Left Alt plus Shift sits a thumb's width from the combinations people use all day, so turning it off is a reasonable choice.

Why wrong characters are almost never a fault

A keyboard sends the position of the key that moved. The character is decided afterwards by the active layout, which is why the same physical key can produce three different symbols on three machines. Two properties describe this split precisely: KeyboardEvent.code names the physical position, and KeyboardEvent.key names the character the layout produced.

Our keyboard test shows both for every keypress. If you press the key to the right of L and the position reports correctly while the character is wrong, the layout is wrong and the hardware is fine. If the position itself never arrives, the switch or the cable is the suspect.

Three symptoms come up again and again.

One symptom that is not a layout problem: a numeric keypad producing arrow keys instead of digits. That is Num Lock, and it toggles independently of everything above.

Checking a layout before you trust it

After a change, type a line that reaches beyond the letters. Digits, an apostrophe, a full stop, a comma, a question mark and the key next to Enter cover most of the positions that move between national arrangements. The letters agree across almost all Latin layouts, so testing with letters alone proves very little.

If you are moving between arrangements that differ by only a few keys, the keyboard test shows the physical position of every key next to the character it produces, which is a quick way to identify what a colleague's machine was actually set to. The historical reason these variants differ by so little is in why the QWERTY layout exists.

For an unhurried check, start with Lewis Carroll's opening of Alice in Wonderland, published in 1865, where a bored child on a riverbank refuses to read her sister's book. Its vocabulary is plain, but those 301 characters turn on a colon, close on a question mark and carry a pair of quotation marks, and all of those sit on keys that move between national layouts. Digits move too, so follow it with the list of old English standards from the Encyclopaedia Britannica of 1911, 315 characters with a year in brackets after almost every entry, or with Gilbert White's description of his Hampshire parish from 1789, whose 393 characters carry distances and a latitude among the place names. If they come out clean, your layout and your hands agree. All three are waiting in the typing test, each with its author, year and source on its own page.

Pick a text

Every passage is in the public domain. Author, year and source stand on its page.

Alice in Wonderland, tired on the bank

Lewis Carroll · 1865

Charles Dodgson, who wrote as Lewis Carroll, told the first version of this story during a boat trip on the Thames near Oxford on 4 July 1862. The book was published in 1865 with illustrations by John Tenniel. Dodgson taught mathematics at Christ Church and wrote on logic under his own name. Project Gutenberg holds the full text.

Type this text

Britannica 1911: old English standards

Encyclopaedia Britannica · 1911

The eleventh edition of the Encyclopaedia Britannica appeared between 1910 and 1911 in twenty nine volumes, and its copyright has long expired. This passage lists old English and Scottish standards by year, from 1495 to 1618, including the Stirling jug used for the Scots pint. Dates in brackets and semicolons between them make it a precise exercise for the number keys. Wikisource has transcribed the whole edition article by article.

Type this text

The Natural History of Selborne, the parish

Gilbert White · 1789

Gilbert White published The Natural History of Selborne in 1789 and built the book out of letters to his correspondents. He spent most of his life as a curate in that Hampshire village and recorded what he saw there year after year. The book has stayed in print continuously since the eighteenth century. Project Gutenberg carries the full text.

Type this text

More from the blog

Dvorak and Colemak Compared With QWERTY

Colemak changes 17 keys from QWERTY, Dvorak rearranges nearly all. Home row contents, relearning cost, and when neither layout is worth it.

Read the article

ISO vs ANSI Keyboard Layout Differences Explained

Enter shape, left Shift width, one extra key and the backslash position: 105 keys against 104, and what that costs at the keycap shop.

Read the article

Why the QWERTY Layout Exists, and Why It Stayed

QWERTY reached its modern letter order in an 1878 patent. Typebar jams, telegraph operators, and why ISO/IEC 9995 standardises positions only.

Read the article

Dead Keys Explained, and Why They Look Broken

A dead key prints nothing until the next keystroke arrives, which is why a working key can look faulty in a keyboard test.

Read the article

Tools

Keyboard test

Press a key and watch it light up. It shows keys that stay silent, keys that fire twice, and how many keys your board reads at once.

Check your keyboard

Typing test

A hundred short texts, from Aesop to the US Constitution. You get speed, accuracy and a map of the keys you keep missing.

Measure your speed