Search for a tool
Keyboard Change Cipher

Tool to simulate a computer keyboard change: typing the keys in position P on a keyboard in the same key in position P but on another keyboard layout (QWERTY/Android/Mac etc.)

Results

Keyboard Change Cipher -

Tag(s) : Substitution Cipher

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Keyboard Change Cipher' tool for free! Thank you!

Keyboard Change Cipher

Keyboard Layout Changer

 



Answers to Questions (FAQ)

What is the keyboard layout substitution cipher? (Definition)

The keyboard layout substitution cipher consists of substituting characters according to corresponding positions in two different keyboard layouts. Computer keyboards may have different key arrangements depending on the country and the layout standard. Pressing the same physical key can therefore produce different characters depending on the active layout, such as French AZERTY or US QWERTY.

How to encrypt using the Keyboard Layout Substitution cipher?

Select the 2 keyboard layouts to use for substitution.

QWERTYQWERTYUIOPASDFGHJKLZXCVBNM
AZERTYAZERTYUIOPQSDFGHJKLMWXCVBN
AlphabetABCDEFGHIJKLMNOPQRSTUVWXYZ
DVORAKPYFGCRLAOEUIDHTNSQJKXBMWVZ

Example: The principle is to replace each character with the character associated with the same position in the other layout. For example, the physical key corresponding to the letter A on an AZERTY keyboard produces the letter Q with the US QWERTY layout.

Example: The exact mapping depends on the supported layouts and on how characters are associated by the tool.

How to decrypt a Keyboard Layout Substitution cipher?

Encryption and decryption use the same substitution principle, provided that the source and target layouts are reversed. To recover the original text, apply the inverse substitution using the mapping table in the opposite direction.

Which letters occupy the same positions on different keyboard layouts?

QWERTY and AZERTY keyboards share several letters in the same positions, including E, R, T, Y, U, I, O, P, S, D, F, G, H, J, K and L in common layouts. However, the exact correspondences depend on the keyboard variant and the method used to compare positions.

How to change the keyboard layout on a computer?

Software-wise, the operating system allows different keyboard layouts to be selected. A physical key generates a code that the system interprets according to the active layout to produce a character or trigger an action.

On Windows, the WINDOWS+SPACE shortcut or, depending on the configuration, ALT+SHIFT can be used to switch keyboard layouts.

Physically, many USB keyboards can be used with different systems and layouts, but compatibility depends on the connector, hardware and supported features. Changing the software layout does not change the characters printed on the keys.

How to recognize a Keyboard Layout Substitution ciphertext?

A keyboard layout change can be treated as a monoalphabetic substitution when each source character always corresponds to the same target character. In that case, character frequencies are preserved under the substitution, and the index of coincidence remains unchanged if the transformation is bijective and applied consistently.

Letters, digits, punctuation marks and accented characters may be transformed differently depending on the selected layouts. Switching from AZERTY to QWERTY therefore does not systematically turn accented characters into digits.

What are the variants of the Keyboard Layout Substitution cipher?

Many keyboard layout variants exist depending on the country, language and standard, including AZERTY, QWERTY and Dvorak. A substitution can also be defined by shifting key positions or using a custom layout. Variants may affect letters, digits, punctuation marks and accented characters.

Source code

dCode retains ownership of the "Keyboard Change Cipher" source code. Any algorithm for the "Keyboard Change Cipher" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Keyboard Change Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Keyboard Change Cipher" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Keyboard Change Cipher" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).

Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).

To cite dCode.fr on another website, use the link: https://www.dcode.fr/keyboard-change-cipher

In a scientific article or book, the recommended bibliographic citation is: Keyboard Change Cipher on dCode.fr [online website], retrieved on 2026-11-20, https://www.dcode.fr/keyboard-change-cipher

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Keyboard Change Cipher' tool for free! Thank you!


https://www.dcode.fr/keyboard-change-cipher
© 2026 dCode — The ultimate collection of tools for games, math, and puzzles.
▲  
Feedback