Skip to content
100% local

Multi-tap phone code

Convert text to and from the key-press sequence typed on an old 12-key mobile keypad.

Input
Output

Multi-tap phone code

Before touchscreens and full keyboards, texting on a mobile phone meant tapping a numeric key one to four times to reach the letter you wanted: two taps on the 2 key for "b", four taps on the 7 key for "s". This tool reproduces that multi-tap keypad exactly, converting plain text into the digit sequence you would have typed and decoding a sequence back into text.

The keypad layout option lets you switch between the standard arrangement (2 = abc, 3 = def, all the way to 9 = wxyz, with 0 for space and 1 cycling through basic punctuation) and a custom alphabet of your own choosing, entered as eight comma-separated groups of letters for keys 2 through 9. "Keep spaces and punctuation" decides whether word breaks and the handful of supported punctuation marks are encoded too or simply dropped, and "Distinguish upper and lower case" marks capital letters so a decoded message keeps its original casing instead of coming back all lowercase. When you are decoding a sequence and are not sure which layout produced it, turn on brute-force to see the result under both the standard layout and any custom one you have entered, side by side.

Only the 26 plain letters, the space, and a small punctuation set actually exist on a real multi-tap keypad, so accented letters, digits, emoji and other symbols are not reinterpreted as something they are not — they pass straight through as themselves, and a round trip through encode and decode always reconstructs your original text exactly, whatever it contains. Windows and Unix line breaks are treated the same way.

Everything runs locally in your browser: nothing you type is uploaded or stored anywhere. Copy the result, download it as a .txt file, or send the output straight back into the input to decode what you just encoded.

FAQ

What does the digit sequence actually mean?
Each digit is the key you would press, repeated once per tap: pressing 7 four times types "s", the fourth letter on that key. Key presses for one letter are separated by a space so the tool always knows where one letter ends and the next begins.
Can I use a keypad layout other than the standard one?
Yes. Switch "Keypad layout" to custom and enter your own eight comma-separated letter groups for keys 2 through 9, for example a different letter order or a non-English arrangement.
What happens to accented letters, digits or emoji?
A real multi-tap keypad has no key for them, so this tool passes them through unchanged rather than guessing. Encoding and then decoding always gives back exactly what you started with.
What does the brute-force option do?
When decoding, it decodes the same key sequence under the standard layout and, if you have entered one, your custom layout too, and lists both results so you can see which one produces readable text.
Is my text uploaded anywhere?
No. Conversion runs entirely in your browser using JavaScript — nothing you type or paste ever leaves your device.