A=1, B=2 … Z=26 — encode text to numbers or decode numbers to text, pick hyphen / space / comma separators, one-click copy — browser-only
- Runs locally
- Category Text
- Best for Removing repetitive cleanup work from everyday writing and operations.
Result appears here.What this tool does
Free A1Z26 cipher encoder and decoder. The A1Z26 cipher replaces every letter with its position in the alphabet: A is 1, B is 2, all the way to Z is 26. Type HELLO and you get 8-5-12-12-15; paste 8-5-12-12-15 back and you get HELLO again. It works both ways in one tool. Encoding ignores case (a and A both map to 1), keeps words apart with a space, and lets you choose how the numbers inside a word are joined — hyphen, plain space or comma — so you can match whatever style a puzzle uses. Decoding reads every one- or two-digit run back to a letter and tolerates messy separators, so a string copied out of a Reddit thread still resolves. Anything that is not a letter passes straight through. This is the cipher Gravity Falls fans decode in the credits, and a staple of escape rooms and beginner CTF challenges — a teaching cipher, not encryption. Runs entirely in your browser, with a shareable link that reopens the exact same puzzle. 100% client-side, nothing is uploaded.
Tool details
- Input
- Files + Text + Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 9 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Text · Content Creator
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How A1Z26 Cipher (Letter ⇄ Number) fits into your work
Use it to clean, compare, reshape, or extract plain text before it goes into a document, CMS, spreadsheet, or prompt.
Text jobs
- Removing repetitive cleanup work from everyday writing and operations.
- Making text easier to compare, paste, publish, or feed into another tool.
- Working with content locally when the text is private or unfinished.
Text checks
- Scan for unintended whitespace, duplicate lines, and lost punctuation.
- For long text, test the first few lines before applying the whole change.
- Copy the final output only after checking the preview.
Good next steps
These links move the current task into a more complete workflow.
- 1 Number to Words Spell any number in English — cheque amounts, ordinals, British vs American "and" — 100% browser-only Open
- 2 Caesar Cipher Encoder & Decoder Encrypt, decrypt and brute-force a Caesar shift cipher — all 25 shifts at once, ROT13 shortcut, browser-only Open
- 3 Atbash Cipher Mirror the alphabet, A↔Z B↔Y, no key, self-reciprocal so the same button encodes and decodes, browser-only Open
Real-world use cases
Solve a Gravity Falls or cartoon end-credits cipher
The episode ends and a row of numbers flashes in the credits. Paste them in, switch to Numbers to Text, and read the hidden message instead of pausing the frame to count letters on your fingers. Hyphen, space or comma separators are all handled, so whatever style the screenshot used, the decode just works.
Build a clue for an escape room or treasure hunt
You want a clue that players solve with nothing but a pen. Type the answer phrase, encode it to numbers, and print 20-8-5 11-5-25 9-19 9-14 20-8-5 4-18-1-23-5-18 on the card. Players who recognise the A=1 pattern crack it by hand, which is exactly the satisfying moment a good puzzle is built around.
Set or solve a beginner CTF challenge
A CTF prompt drops a string of numbers in the 1 to 26 range — a tell that it is A1Z26 rather than ASCII or hex. Decode it here in one paste to recover the flag fragment, or go the other way to author your own intro-level challenge for a workshop without writing any code.
Make a low-tech secret note with a kid
Teaching a child how ciphers work is easier when they can do the math: A is 1, B is 2, count along the alphabet. Encode a short message together, write the numbers on paper, and let them decode it back by hand — then check the answer here. It turns the alphabet into a game.
Common pitfalls
Mixing up the separator levels. Letters inside a word use the small separator (hyphen, space or comma) and words are split by a space. If you join everything with one space, 8 5 becomes ambiguous with the word break, so keep a clear gap only between words.
Reading two-digit numbers as two single digits. 12 is L, not 1 then 2 (AB). When decoding by hand, group the digits the way the encoder did; this tool reads up to two digits per letter so 12 always resolves to L.
Treating A1Z26 as encryption. The rule is public and keyless, so anyone who recognises the pattern reads the message instantly. Use it for puzzles and teaching, never to protect a password or anything that needs to stay private.
Privacy
Every step — looking up each letter, joining the numbers, decoding them back — is plain JavaScript that runs in your browser tab. The text you encode and the numbers you decode never leave the page, and nothing is logged. One caveat: the shareable link puts your input, direction and separator in the query string, so a link pasted into chat records that text in the recipient server access log. For anything sensitive, use the copy button and paste the result rather than sharing the URL — though A1Z26 is a puzzle cipher and should never carry a real secret anyway.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- 24-Point Solver & Game 24-point solver and game — enter 4 numbers and get every solution instantly, or play random hands against the clock.
- Age Calculator Calculate your exact age — years, months, days, hours. Compare two dates or count to a future date.
- Airline Luggage Allowance Checker Airline luggage allowance — 50+ carriers' carry-on / checked baggage rules with size, weight, and excess fee.
- Annuity Calculator Annuity & retirement calculator — see monthly income from your savings, accumulation + payout phases, multiple scenarios.