How to Solve the Japanese Keyboard Cipher: Reading Kana from the Key Layout (Conversion Tables)
If you see a jumble of letters and symbols like “vnz” or “tg@fjs@kdq” that reads neither as romaji nor as English, it may be a Japanese keyboard cipher based on the kana printed on computer keys. Japanese keyboards have hiragana printed on the keys alongside the Latin letters, so you can read the cipher just by swapping each letter for the kana on the same key. This guide covers the steps for solving it, the kana-input key tables (key → kana and kana → key), how dakuten and small kana are handled, what to watch for on US-layout keyboards or keyboards without kana, and tips for setting puzzles.
What is the keyboard cipher? Reading Latin keys as kana
Most computers sold in Japan have a JIS-layout keyboard, with Latin letters and numbers printed on the left of each key and hiragana on the right. The kana on the right are what you type with when using Japanese “kana input” mode: for example, the V key carries hi, N carries mi, and Z carries tsu.
The keyboard cipher replaces each kana of the answer with the letter or symbol on the key where that kana is printed. Himitsu (“secret”) is on the V, N and Z keys, so it becomes “vnz”. The solver looks at each letter and reads the kana on the same key to reach the answer. Since the computer in front of you doubles as the conversion table, it’s a popular prop for puzzle events in offices and classrooms and for escape games.
- himitsu (secret) → vnz
- ohayō (good morning) → 6f94
- arigatō (thank you) → 3lt@s4
- kagi wa mado no shita (the key is under the window) → tg@fjs@kdq
Key → kana table (for solving)
To solve, replace the letters and symbols of the cipher from left to right using this table. Upper and lower case are treated the same. The table follows the JIS kana-input layout, row by row from the top of the keyboard. Kana are shown in romaji; ゛ is the dakuten mark and ゜ the handakuten mark.
| Keyboard row | Key = kana |
|---|---|
| Number row | 1 = nu, 2 = fu, 3 = a, 4 = u, 5 = e, 6 = o, 7 = ya, 8 = yu, 9 = yo, 0 = wa, - = ho, ^ = he, ¥ = ー |
| Top row (Q…) | Q = ta, W = te, E = i, R = su, T = ka, Y = n, U = na, I = ni, O = ra, P = se, @ = ゛, [ = ゜ |
| Middle row (A…) | A = chi, S = to, D = shi, F = ha, G = ki, H = ku, J = ma, K = no, L = ri, ; = re, : = ke, ] = mu |
| Bottom row (Z…) | Z = tsu, X = sa, C = so, V = hi, B = ko, N = mi, M = mo, , = ne, . = ru, / = me, \ = ro |
The key point is that kana are assigned not only to the 26 letters but also to the 10 number keys and several symbol keys. If a cipher contains symbols like “@”, “[”, “;”, “:”, “,” or “.”, it’s very likely a keyboard cipher.
Kana → key table (for making ciphers)
When making a cipher, this table in kana-chart order is handy. The letter or symbol in each cell is the key for that kana.
| Row | a column | i column | u column | e column | o column |
|---|---|---|---|---|---|
| a row | a = 3 | i = E | u = 4 | e = 5 | o = 6 |
| ka row | ka = T | ki = G | ku = H | ke = : | ko = B |
| sa row | sa = X | shi = D | su = R | se = P | so = C |
| ta row | ta = Q | chi = A | tsu = Z | te = W | to = S |
| na row | na = U | ni = I | nu = 1 | ne = , | no = K |
| ha row | ha = F | hi = V | fu = 2 | he = ^ | ho = - |
| ma row | ma = J | mi = N | mu = ] | me = / | mo = M |
| ya row | ya = 7 | yu = 8 | yo = 9 | ||
| ra row | ra = O | ri = L | ru = . | re = ; | ro = \ |
| wa row | wa = 0 | wo = Shift + 0 | n = Y | ー = ¥ |
Dakuten is the “@” key and handakuten the “[” key, both typed after the character. Ga is “t@” and pa is “f[”. This is the same order you use when actually typing in kana input, so you can check it on a keyboard.
How to solve a keyboard cipher in 4 steps
- 1
Decide whether it’s a keyboard cipher
Suspect a keyboard cipher if the letters can’t be read as romaji (few vowels a, i, u, e, o), don’t form English words, and are mixed with numbers or symbols such as @ ; :.
- 2
Find the key for each character
On your keyboard, find the key matching each letter or symbol and write down the kana printed on its right. If your keyboard has no kana, use the table above.
- 3
Attach @ and [ to the previous character
@ is dakuten and [ is handakuten. “t@” reads as ka + ゛ = ga.
- 4
Reread it as a sentence
Small kana (small tsu, ya, yu, yo) may be written full-size, so if you get something like ga-tsu-ko-u, read it as gakkō (“school”).
For practice, solve “tg@fjs@kdq”. T = ka, G = ki, @ = ゛, F = ha, J = ma, S = to, @ = ゛, K = no, D = shi, Q = ta gives ka ki゛ ha ma to゛ no shi ta, that is, kagi wa mado no shita: “the key is under the window”.
Things to watch for when solving and making ciphers
| Watch out for | Details | What to do |
|---|---|---|
| Upper and lower case | In kana input, Shift gives a small kana on some keys (Z gives small tsu), but ciphers usually ignore case | Read upper and lower case as the same kana; use lower case when setting a puzzle |
| wo | Typed with Shift + 0, so as a letter it can’t be told apart from “0” (wa) | Keep wo out of the answer, or add a note that 0 should be read as wo |
| Small kana | Small tsu, ya, yu and yo are the shifted keys (Z, 7, 8, 9) | Treat them as full-size in the cipher and let the solver read them back |
| Long-vowel mark ー | The ¥ key, shown as “\” on some keyboards | Avoid ー in the answer, or cover it with a hint |
| US-layout keyboards | No kana printed, and symbol keys such as @ and [ are in different places from JIS | Hand out the table, or add “on a Japanese keyboard” |
Laptops without kana on the keys and English (US-layout) keyboards are becoming more common. For puzzles solved on the venue’s computers, check beforehand whether the keyboards have kana printed on them. Mac JIS keyboards use the same kana layout as Windows JIS keyboards.
Practice puzzles
Using the table or a keyboard, try these four. They get harder further down as more symbols appear. The answers are in the right-hand column.
| Puzzle | Hint | Answer |
|---|---|---|
| qtomk | Letters only; what you look for in a treasure hunt | takaramono, treasure (Q = ta, T = ka, O = ra, M = mo, K = no) |
| fuv@ | Blooms in the summer night sky | hanabi, fireworks (F = ha, U = na, V = hi, @ = ゛) |
| t@yf@; | Words of encouragement | ganbare, go for it (T = ka, @ = ゛, Y = n, F = ha, @ = ゛, ; = re) |
| 6/w@s4 | What you say on a birthday | omedetō, congratulations (6 = o, / = me, W = te, @ = ゛, S = to, 4 = u) |
As in puzzles 3 and 4, once the @ for dakuten and number or symbol keys come in, the cipher looks much harder than one made only of letters. Setters can use this to adjust the difficulty.
Tips for setting keyboard cipher puzzles
- In the hint, only tell solvers to look at the keyboard, as in “read the characters on the right side of the keys” or “English through Japanese keys”.
- Choosing an answer with few dakuten keeps @ out of the cipher, so it looks clean and the method is harder to guess from the symbols.
- Conversely, to make it harder, choose an answer with many number and symbol keys; it’s less obviously a keyboard cipher than one made only of letters.
- Showing the number of characters in the answer lets solvers notice if they’ve counted @ or [ as a separate character.
- In escape games, link the answer to the next room’s password or the number of a locked box to raise the excitement.
In the Japanese Cipher Puzzle Maker, set the method to “Keyboard cipher (kana input)” and you can turn kana into a cipher, or letters and symbols back into kana, just by entering them. The on-screen table follows the keyboard layout, so it also works as a hint to show solvers. To compare difficulty with other ciphers, see How to make Japanese puzzle ciphers: types and difficulty, and for puzzles in pager digits, The Japanese pager cipher: conversion table and how to read it.
FAQ
- How do I read “vnz” in the keyboard cipher?
- The V key carries hi, N carries mi and Z carries tsu, so it’s himitsu (“secret”). On a Japanese (JIS-layout) keyboard, read the kana printed on the same key as each letter.
- How is dakuten written in the keyboard cipher?
- Dakuten is the “@” key and handakuten the “[” key, added after the character: ga is t@ and pa is f[. It’s the same order you use when typing in kana input.
- How do I solve it on a keyboard without kana?
- Use the table in this article or the conversion table in the Japanese Cipher Puzzle Maker. On US-layout keyboards, the symbol keys are also in different places from JIS, so read symbols from the table.
- Does upper or lower case change the reading?
- In kana input, some keys give a small kana with Shift, but ciphers are generally read without distinguishing case. Setters should use lower case throughout to avoid confusion.
- Which key is wo?
- Shift + 0 (the wa key). As a letter it can’t be told apart from 0, so if you include wo in an answer, cover it with a hint or rephrase the word.
Tools in this article
Related articles
The Japanese Pager Cipher: Conversion Table, How to Read It, and Common Number Messages
When you see a run of two-digit numbers like “11 12 32 44 93”, you may guess it’s the Japanese pager (pokebell) cipher, but you can’t read it without the table. The pager cipher simply turns the row and column of the Japanese kana chart (the gojūon table) into digits, so once you know the rule you can read and write it without looking anything up. This guide covers the conversion table and how to read the pager cipher (pokebell-uchi), how to type dakuten, Latin letters and numbers, a list of common messages in digits, how it differs from number wordplay like “0840 (ohayō)”, and tips for using it in puzzles.
Read article →How to Make and Solve the Japanese Mobile Keypad Cipher: Flip-Phone Multi-Tap and Flick Tables
A cipher like “2 22* 6 7 44444* 55555 33 4”, where the same digit repeats again and again, is the Japanese “keitai-uchi” (mobile keypad) cipher: each kana is written as the number of times you press a key on an old flip phone’s keypad. (That example reads kagi wa mado no shita, “the key is under the window”.) Even people who grew up on smartphones can read it by thinking of flick input instead, which makes it a handy cipher for Japanese puzzle hunts and treasure hunts. This guide covers the conversion tables for multi-tap (toggle input) and flick input, how dakuten and small kana are handled, the spacing pitfall that changes the reading, how it differs from the pager cipher, and tips for building puzzles.
Read article →Japanese Keyboard Stuck in Kana Input? How to Switch Back to Romaji Input
You press "a" and get the hiragana "chi", or type "ohayou" and get "rakuchinrana". If that happens on a computer keyboard, Japanese input has switched to kana input. In most cases you can return to normal romaji input by pressing one key combination again. This article covers how to turn off kana input on Windows and Mac, why it switches on by itself and the setting that stops it happening again, and how to turn text like "rakuchinrana" that you typed without noticing back into what you meant to write.
Read article →