Skip to content
100% local

Keyboard shift cipher

Encrypt text by shifting each letter to its neighboring key on a QWERTY keyboard.

Input
Output

Keyboard shift cipher

A keyboard shift cipher replaces each letter with the key next to it on a keyboard. Type a message and shift it left or right within its row — "hi" becomes "jo" with one key to the right. The three letter rows (QWERTY, ASDFGH, ZXCVBN) cycle independently, so the key at the end of a row wraps back to the start.

Set the number of keys (1 to 9), the direction and the layout: QWERTY, QWERTZ or AZERTY. "Letters only" moves just the letter keys. "Letters, digits and symbols" also moves the number row and, on QWERTY, the punctuation keys. The symbol rows are US-only, so on QWERTZ and AZERTY that scope moves letters and digits. Spaces, emoji and accented characters pass through, and case is kept.

If you have gibberish and no key, choose Automatic. The tool tries every shift from 1 to 9 in both directions, compares each result with typical English letter frequencies and lists the five likeliest readings, best first. Short text cannot be ranked reliably, so you get a warning under about twelve letters.

How to recognise a keyboard shift: word lengths and spaces stay the same, and stray punctuation such as ; [ or , shows up inside words, because those keys sit next to the letters. Real gibberish rarely does that.

It is a puzzle cipher, not security. Everything runs in your browser, and your text never leaves your device.

FAQ

How does the keyboard shift cipher work?
Each letter moves to the neighbouring key in its row, left or right, by 1 to 9 keys. Keys at the end of a row wrap around to the start of the same row.
How do I decode a message when I do not know the shift?
Choose Automatic as the direction. The tool tries all 18 combinations of direction and shift, ranks them by how English the letters look and lists the best five. Pick the one that reads as words.
How can I tell that text is a keyboard shift?
Word lengths and spaces are unchanged, and punctuation keys such as ; [ or , appear inside words. With the symbols scope, one key to the right turns hello into jr;;p.
Which keyboard layouts and keys are supported?
QWERTY, QWERTZ and AZERTY letter rows. The wider scope also moves digits, and on QWERTY the punctuation keys. Symbol rows for QWERTZ and AZERTY are not included.
Does my text leave my device?
No. Everything runs in your browser, and nothing is sent to any server.