Skip to the test
KeyboardTest

ANSI vs ISO Keyboard Layout: Which One Do You Need?

Keycap sets, replacement keyboards and layout settings all depend on knowing whether you have an ISO or ANSI board, and the difference is just a few keys around Enter and the left Shift. The checker asks for three key presses, decides from the physical codes they send, and shows the matching diagram. If you then press ; and ', it also hints which regional variant you have. The mac keyboard test runs entirely in your browser, so nothing you press is stored or sent anywhere.

Three-key check

Dashed keys show the two candidates for each step

Step 1 of 3

Press the key immediately to the right of the left Shift.

Three key presses decide it; the diagram highlights the two candidate keys for each step.

Verdict

--

Regional variant hint
--

Step results

    Last key
    --
    event.code
    --

    Wondering whether you need an ISO or ANSI keyboard? The answer comes down to a handful of physical keys, and ANSI vs ISO is the first thing to settle before you buy mechanical keyboards or swap keycaps. Both layouts are common in the United States, Canada, Europe and Asia, but each suits different typing, gaming and language needs.

    What Is an ANSI Keyboard Layout?

    The ANSI keyboard takes its name from the American National Standards Institute, the body that set this keyboard standard for the QWERTY layout inherited from the typewriter. You will spot the ANSI layout by its horizontal Enter key, a wide rectangular Enter key on a single row, and by its long left Shift key. A full-sized board carries 104 keys, and the ANSI layout is the default across North America, Canada and much of Asia. Custom keyboard builders favour it too, since most PCB and plate design start with the ANSI layout, and most keyboards sold in the US follow it. For javascript keycode, open the tool on this site: no install, account or sign-up needed.

    What Is an ISO Keyboard Layout?

    The ISO keyboard follows the standard published by the International Organization for Standardization. Its tall Enter key is shaped like an upside-down L (an L-shaped Enter) that spans two rows, beside a short left Shift key. That shorter Shift frees room for one more key, bringing a full-size board to 105 keys. You will find the ISO layout across the UK, Europe and Latin America, along with other country-specific layouts such as PTB and JIS. National variants like QWERTZ and AZERTY build on the same ISO design, so a national board is still ISO underneath. Try the mobile keypad tester next if you want another angle on how your keyboard behaves.

    ANSI vs ISO Keyboard Layout: Key Differences Side by Side

    These key differences show up in five places, and the table below summarises the physical layout of each. Every other key, from the letters to the function row, sits in much the same spot on both layouts, so your hands adapt quickly.

    ANSI vs ISO Keyboard Layout: Key Differences Side by Side
    FeatureANSIISO
    Enter keyHorizontal rectangle, one rowL-shaped, two rows
    Left Shift2.25u, long1.25u, short
    BackslashAbove EnterBeside Enter
    Right AltStandard AltAlt Gr
    Key count104 keys105 keys

    Enter Key Shape and Size

    The enter key is the biggest tell. The ANSI layout keeps it short and wide, so your pinky reaches it quickly during fast typing, while the ISO version is taller and easier to find by touch, though it sits a little farther from your hand.

    Left Shift Key Length

    The left Shift key is the other giveaway. An ANSI keyboard gives you a 2.25u key beside the home row, whereas ISO shortens it to 1.25u. That left Shift key length is why the ISO board has room for the extra key, and why some typists need a moment to reach it. Many users also find the longer left Shift key more comfortable.

    Backslash Key Location

    The backslash sits above Enter on ANSI. On ISO it moves next to the Enter key, and the pipe and other symbols shift with it, which matters if you type a lot of file paths and code.

    Alt Gr and Key Count

    The gap comes from that additional key. ISO also swaps the right Alt for Alt Gr, which opens a third layer of tertiary characters: the euro sign, diacritical marks and other special characters, with no alt codes to memorise. Accented characters and regional characters become far easier to type this way.

    ISO or ANSI Keyboard: How to Tell Which Keyboard Type You Have

    It takes seconds to identify your keyboard type, because you only need to look at two keys.

    Check the Enter Key and Left Shift

    If Enter is one wide row and the left Shift runs long, you have ANSI. If Enter is tall and a small key sits beside a short Shift, you have the ISO layout. This works on a laptop, a Windows desktop or a Mac, and it is the most reliable check, and mechanical keyboards, office keyboards and laptops all follow it.

    Check How Your Software Maps Input

    Windows and macOS can remap what a key types, so a board that prints the wrong symbol may just be set to another locale. That setting changes the output, not the physical shape of the keys, so always trust what you see over what appears on screen.

    Where Keyboard Layouts Are Most Common

    Regional availability follows spoken tongue and region. ANSI boards dominate in the United States, while the ISO layout is the norm wherever people write in the German, French, Spanish or Nordic languages. Shoppers in other regions will find that the keyboards for their local standard are plentiful, and fewer choices exist for the other one, so check whether you need ANSI or ISO before you shop. Most users never need to think about this, because a board bought locally already matches local software.

    Can You Use ISO Keycaps on an ANSI Keyboard?

    Keycap compatibility is where the choice bites, because ISO and ANSI keycaps are cut differently for Enter and Shift. Replacement keycaps for the Enter, Shift and neighbouring keys are cut for one layout, so most keycap sets fit only one of the two. PBT and ABS sets are sold in both, and a custom keyboard with hot-swap switches is easy to upgrade once you match the plate and keycap customization to your layout. Many makers sell a universal kit that covers both, so check the listing before you order.

    Pros and Cons of ANSI and ISO Boards

    The pros and cons come down to comfort and supply. The ANSI layout is easy to find in the US, has the widest choice of parts, and its long left Shift suits many users. Its drawback is the lack of an extra key for symbols, which limits non-English writing. The ISO layout adds a third character layer and that extra key, but the short Shift can feel cramped for some users, and ISO boards are harder to buy outside Europe. Comfort is personal, so weigh the layout against your own hands before you buy keyboards in bulk.

    Which Is Better: ANSI or ISO Keyboard?

    Neither is objectively better. Which is better depends on where you live, what you type and which layout your hands already know.

    Gaming With Either Board

    For gaming, many gamers prefer the ANSI layout because the long Shift key is hard to miss in a fast match, and gaming keyboards ship in ANSI first. Gaming on ISO works fine, and some players map the spare key to macros. Gaming speed depends more on your key feel and your practice than on the layout.

    Programming and Coding

    Programming favours whichever layout you already know. US programmers like ANSI for its bracket and backslash spots, but European programmers on ISO rarely lose speed.

    Typing Speed and Comfort

    Typing speed barely changes between the two. Typing efficiency comes from muscle memory and familiarity, so a typist who switches faces a short adjustment period. Ergonomics are personal, and an ergonomic gain from either layout matters less than practice. For comfort, pick the form your hands recognise.

    Multilingual Typing and Accents

    Multilingual writers gain the most from ISO. Accents, umlauts and other non-English letters used in European languages sit within reach through the right Alt key, so German, French, Spanish and Portuguese typists rarely change.

    Can You Switch Between ISO and ANSI Layouts?

    You can, and your setting makes the move simple. Expect the left Shift and Enter to feel odd for about a week, and keep spare caps ready if your board is a custom build.

    Choosing Between an ISO and ANSI Keyboard: Final Takeaways

    Pick ANSI if you write mostly in English and want the widest choice of parts and keyboards. Pick ISO if you type in several languages or already use it. Match your keycaps to the keyboard layouts you use, and the rest of your setup will follow. Typists and users who stay with the layout they know almost always stay comfortable.

    Frequently asked questions

    Can I buy ANSI keycaps for an ISO board?

    Mostly. Letters and numbers fit; you need an ISO Enter, a short left Shift and the extra 1u key, which some sets include as an ISO kit.

    Is UK layout ISO?

    Yes. UK, German, French, Spanish, Italian, Nordic and most European layouts are ISO. US, and most Asian English layouts, are ANSI.

    My laptop is ISO but the OS is set to US.

    The physical layout and the OS language are independent. The checker reads the physical keys; the layout detector reads the language.

    The three steps disagreed.

    A remapped or non-standard board. Trust the first step: IntlBackslash existing is the strongest ISO signal.

    Comments and feedback