What is an ASCII converter?
An ASCII converter turns plain text into ASCII codes — and ASCII codes back into plain text. Type “A” and you get 65. Type 65 and you get “A”. Each character becomes its code number, and each code number becomes its character.
ASCII — the American Standard Code for Information Interchange — is the table that gives every character a number from 0 to 127. A is 65, B is 66, a is 97, 0 is 48, and a space is 32. Computers store text as these numbers, and the converter shows the numbers behind the words you type every day.
The converter works in both directions. Text to codes is what developers use to inspect data, build test strings, and see exactly what a file contains — including characters you cannot see, like the space at 32 and the newline at 10. Codes to text is what they use to decode a list of numbers back into the words they came from.
How ASCII conversion works
Each character has one code. To turn text into codes, look up each character in the ASCII table and write the numbers down separated by spaces: “Hi” is H=72 and i=105, so it becomes “72 105”. “Hello” is H=72, e=101, l=108, l=108, o=111, so it becomes “72 101 108 108 111”. One number per character, in the same order.
To turn codes back into text, split the numbers on spaces and look each one up in reverse: 72 is H and 105 is i, so “72 105” becomes “Hi”. The two directions are exact inverses — convert there and back, and you get the text you started with. Commas work as separators too, so “72, 105” decodes the same way.
Try a single letter. “A” is 65 — the first code most people memorise, because A is the start of the capital letters. “a” is 97, the start of the lower-case letters. The gap between them is 32, which is why converting case by hand means adding or subtracting 32 — and why a case converter is the faster way to do it.
The ASCII table, and the numbers worth knowing
The capitals run from 65 to 90: A is 65, B is 66, and Z is 90. The lower-case letters run from 97 to 122: a is 97, b is 98, and z is 122. The digits run from 48 to 57: 0 is 48, 1 is 49, and 9 is 57. Those three ranges are the ones people use most, and they are the ones worth memorising.
The space is 32, the exclamation mark is 33, and the full stop is 46. The numbers below 32 are control codes — instructions, not characters. 10 is the newline, which moves to the next line. 9 is the tab. 13 is the carriage return. You never see them on screen, but they are in every text file you have ever opened.
The gap of 32 between capitals and lower case is the table's neatest trick. A is 65 and a is 97; B is 66 and b is 98; Z is 90 and z is 122. Add 32 to a capital and you get the lower-case letter; subtract 32 and you go back. A base converter shows the same codes in binary and hex — 65 is 41 in hex and 1000001 in binary.
A worked example: “Hello” in ASCII codes
Take the word “Hello”. Look up each letter: H is 72, e is 101, l is 108, l is 108 again, and o is 111. Write them down separated by spaces and “Hello” becomes “72 101 108 108 111”. Five letters, five numbers, in the same order.
Check the reverse. Split “72 101 108 108 111” on the spaces: 72, 101, 108, 108, 111. Look each one up: 72 is H, 101 is e, 108 is l, 108 is l again, and 111 is o. The numbers spell “Hello” again, which is how you know the conversion is right.
Try a shorter one. “A” is a single code: 65. And “Hi” is “72 105”: H is 72 and i is 105. A word counter tells you how long the text is before you convert it — “Hello” is 5 characters and 1 word — and this converter tells you what those 5 characters are made of.
Who uses an ASCII converter
Developers use it every day. Data arrives as numbers, logs show codes instead of characters, and the first question is always what the text behind the numbers says. A developer who sees 72 101 108 108 111 in a log pastes it here and reads “Hello” — ten seconds of work that saves an hour of guessing.
Students use it to learn how computers store text. The ASCII table is the first table most programmers memorise, and converting a name to codes and back is the fastest way to make it feel real instead of abstract. Type your name, watch the numbers appear, and the table stops being a poster on the wall.
Security learners use it to understand encoding. ASCII codes are the raw material of every other encoding — hex, base64, and Unicode all build on the same idea that a character is a number. A base64 encoder decoder teaches the next step, and a binary calculator shows the 0s and 1s underneath the codes.
ASCII converter vs a base converter
A base converter does a similar job with numbers instead of text: it turns 65 into 41 in hex and 1000001 in binary. This converter turns text into decimal codes, where A is 65 and H is 72. The numbers behind the text are the same — only the base changes.
The difference is what each tool takes as its input. The base converter takes a number and rewrites it in another base. The ASCII converter takes a character and looks up its number. If you have the text, use this tool. If you have the number and want it in hex or binary, use the base converter.
A binary calculator is the third member of the family: it works with the 0s and 1s underneath the codes — 65 is 1000001 in binary, and 97 is 1100001. ASCII, hex, and binary are three ways of writing the same numbers, and each one serves a different reader — learner, debugger, or machine.
Common ASCII conversion mistakes
The most common mistake is mixing up the capital and lower-case ranges. A is 65 and a is 97 — a gap of 32. Type 65 expecting a lower-case a and you get a capital A instead. The ranges are 65 to 90 for capitals, 97 to 122 for lower case, and 48 to 57 for digits. Check the range before you trust the letter.
Second: forgetting that the space is a character too. A space is 32, and “Hi there” is “72 105 32 116 104 101 114 101” — with 32 in the middle where the space was. Drop the 32 and the words join together. The same goes for the newline at 10 and the tab at 9: invisible characters have codes, and the codes are what the converter shows.
Third: codes outside the table. Standard ASCII runs from 0 to 127. This decoder accepts codes up to 255, which covers the extended Latin-1 range — é is 233, for example — but a code above 255 has no character here at all. If the decoded text comes out short, check the input for a number past 255. Fourth: reading the codes as one long number. “72 105” is two codes, H and i; “72105” is one number that means nothing. Keep the spaces.
How to use this ASCII converter
Type or paste your text into the box — “A”, “Hi”, a sentence. Pick the direction: text to ASCII codes, or ASCII codes to text. The result appears instantly in the output box below, with the input length and output length shown above it. There is no button to press and no form to submit; every change updates the result live.
To decode, switch the direction to codes to text and paste the numbers, separated by spaces or commas. Codes from 0 to 255 are accepted; standard ASCII is 0 to 127. To try another text, select all, delete, and paste the new one. The conversion resets instantly.
Everything runs in your browser. No sign-up, no account, no data sent anywhere — your text never leaves your device. It works offline once the page has loaded, so you can use it in an editor, a terminal, or anywhere else you read codes. Try it with something real before you need it: convert your name to codes, then convert it back.
Start with your name. Convert it to codes, write the numbers down, then switch the direction and convert them back. If the name comes back exactly, the round trip works. Then try a sentence with a space in it, and watch the 32 appear where the space was. Once you can read a short word in codes, try the numbers that matter: 65 for A, 97 for a, 48 for 0, and 32 for space. Four numbers, and the table starts to feel like something you know instead of something you look up.
Keep a small list of the codes you mix up, and check it each time you convert.