Alphabet to Numbers Converter
: Turn letters into numbers and numbers back into letters in A1Z26, A=0, reversed or phone keypad codes, with the sum of each word, every reading of a run-together number, and a searchable alphabet number chartAlphabet to Numbers Converter
An alphabet to numbers converter that works both ways: letters to numbers (A=1, B=2 … Z=26), and numbers back to letters. It also counts from 0, reverses the alphabet, or reads the letters on a phone keypad, adds up the numbers of each word, and lists every way a run-together number such as 1225 can be read. With the box empty it shows the alphabet number chart. It runs in your browser.
How to convert letters to numbers and numbers to letters
- Type or paste into
Letters or numbers, or load a.txtfile. TheExamplesgive a text, a line of numbers and a run-together number. With the box empty, the result is the alphabet number chart, which you can search by letter or number. - Leave
DirectiononDetect, or chooseLetters to numbersorNumbers to letters. Detect reads the input as numbers when it holds digits and no letters, and as letters otherwise. - Pick the
Code: A=1 … Z=26 (A1Z26), A=0 … Z=25, reversed A=26 … Z=1, or the phone keypad. For letters to numbers,Letter separatorsets whether the numbers are split by a space, a dash or a comma. For numbers to letters,Letter casegives capitals or lower case. - Read the result under
Result: the numbers or the letters, then theSumof each word, aLetter by lettertable andNotes.Swapturns the result into the input and flips the direction.
Example
Two words as letters to numbers: each letter is its place in the alphabet, the numbers of a word are split by a space and the two words by " / ". Added up, HELLO is 52. Choose a dash as the separator and the same words come out as 8-5-12-12-15 23-15-18-12-4; pasting that back in gives HELLO WORLD.
Hello world8 5 12 12 15 / 23 15 18 12 4Details
- What number is each letter of the alphabet? In the usual A1Z26 code A is 1, B is 2 and so on to Z, which is 26. HELLO is 8 5 12 12 15, and the numbers add up to 52. The A1Z26 cipher is nothing more than this table, written as numbers split by spaces or dashes; the chart shows every letter in all four codes.
- A=0 … Z=25 counts from zero, as programs and the mod-26 ciphers do (Caesar shifts, for instance, add to a number from 0 to 25 and wrap around). A is 0 and Z is 25, so AZ is 0 25. Reversed, A=26 … Z=1, is the numbering Atbash uses: A and Z swap places, so AZ is 26 1.
- The phone keypad code gives each letter the key it is on: ABC is 2, DEF 3, GHI 4, JKL 5, MNO 6, PQRS 7, TUV 8 and WXYZ 9. Keypad numbers are not separated, because the keys are what you press, and every other character stays where it is, so 1-800-FLOWERS comes out as 1-800-3569377. Going back, a digit is every letter on its key, shown in brackets, such as 43556 as [GHI][DEF][JKL][JKL][MNO], because one number can spell many words. 0 and 1 have no letters and stay as they are.
- Numbers to letters. A number is a run of digits. A space, comma, dash, full stop, semicolon, colon or bar between numbers splits letters; a slash, a tab or two or more spaces splits words, and a line break stays a line break. When the numbers are split by dashes or commas, a single space between them is a word break too, so
8-5-12-12-15 23-15-18-12-4reads as two words. Leading zeros are fine: 05 is E. - A number outside the code shows as ?, and a note lists the first ten, such as 27 in A1Z26, where
27 5reads as ?E. A=0 … Z=25 takes 0 to 25 and the others take 1 to 26, so 26 is out of range for A=0 and 0 is out of range for A1Z26. - Run-together numbers. 1225 with no separator is not one number: 12 and 25, 1 and 22 and 5, and other splits all spell something. The main text shows ? for any run of three or more digits and a Possible readings table lists every way to split it into valid numbers, up to the first 50, with the total. 1225 has 5: ABBE, ABY, AVE, LBE, LY. The count is worked out for runs of any length and is exact up to 9,007,199,254,740,991, then shown as more than that; a run of 50 ones has 20,365,011,074 readings, so only the first 50 are listed. Readings are worked out for the first 10 such runs. Put a space or a dash between the numbers to read them one way.
- The Sum table gives each word its numbers added up, for up to 100 words, and a total with the letter count: useful for word-value and alphabet-sum puzzles. It is for the three number codes, not the keypad. The Letter by letter table lists each letter for up to 200 letters; a longer text is listed as each letter used, once, with how many times. A very long input is read in steps with progress, so the page stays usable.
- Accented letters are read as their base letter and the notes say so: café is 3 1 6 5 (é is E), and ß is read as SS, 19 19. Digits, punctuation and other characters are kept as they are, as their own item, and a note counts them.
Limits
- The Latin alphabet only. Cyrillic, Greek, Arabic, Hebrew and other scripts are not given numbers: those characters pass through as typed. For Hebrew and English word values by other systems, use the gematria calculator.
- Accented letters are folded to a base letter (é to E, ß to SS), so the number does not tell the two apart on the way back.
- A run of digits with no separator cannot be read one way: it is shown as ?, with the possible readings listed. The tool does not guess which one you meant.
- Letters to numbers keeps digits and punctuation as typed, so a number already in the text cannot be told from a letter's number when you convert back. Use a separator that the original text does not contain, or convert letters only.
- Phone keypad numbers go one way without ambiguity (letters to digits). Digits to letters give every letter on the key, not a word: the tool does not look words up in a dictionary.
FAQ
What number is each letter of the alphabet?
In A1Z26, A is 1, B is 2, C is 3 and so on to Z, which is 26. Clear the input to see the chart with A=0, reversed and phone keypad numbers beside it. HELLO is 8 5 12 12 15.
What is the A1Z26 cipher?
A simple substitution cipher where each letter is replaced by its number, A=1 to Z=26, with the numbers split by spaces or dashes. HELLO WORLD is 8-5-12-12-15 23-15-18-12-4. It is trivial to break, as each number has one letter, unless the separators are left out.
How do you convert numbers to letters?
Put the numbers in the box, split by spaces, dashes or commas: 8-5-12-12-15 23-15-18-12-4 reads as HELLO WORLD. Numbers 1 to 26 become A to Z. If the numbers have no separator, the page lists every way to read them (1225 has 5).
How do the letters on a phone keypad map to numbers?
ABC is 2, DEF 3, GHI 4, JKL 5, MNO 6, PQRS 7, TUV 8 and WXYZ 9. Choose the phone keypad code and 1-800-FLOWERS becomes 1-800-3569377. Turning digits into letters gives all the letters on each key.
What is the sum of the letters in a word?
Add up the number of each letter: HELLO is 8 + 5 + 12 + 12 + 15 = 52. The Sum table does this for every word, and a total for the whole text.
Runs entirely in your browser. Nothing is uploaded.