ASCII Converter
Turn text into decimal ASCII codes or decode codes back into text — codes can be separated by spaces, commas, or line breaks.
Printable ASCII reference (32–126)
| Code | Character | Code | Character | Code | Character |
|---|
How it works
ASCII (American Standard Code for Information Interchange) assigns every common character a number from 0 to 127 — "A" is 65, "a" is 97, and "0" is 48, which is why uppercase and lowercase letters sit exactly 32 apart. Computers store text as these numbers, so converting text to codes simply looks up each character's number, and decoding does the reverse. The reference table below covers the printable range 32–126: code 32 is the space character, and everything outside this range is a control code (like line feed, 10) or part of extended sets. Because ASCII is a subset of UTF-8, these same codes work identically in modern Unicode text.
How to use
- Type text into the "Text" box — it starts with "Hello" — and the decimal codes appear instantly in the "ASCII codes" box below.
- To decode, type or paste codes into the "ASCII codes" box instead, separated by spaces, commas, or line breaks, and the decoded text appears in the "Text" box.
- Watch the result line: it tells you how many characters were encoded or decoded.
- Look up any code manually in the printable ASCII reference table above, which covers codes 32 (the space character) through 126 (~).
Frequently asked questions
What is "Hello" in ASCII?
72 101 108 108 111 — each character becomes its decimal code. For reference, "A" is 65, "a" is 97, and "0" is 48, which is why uppercase and lowercase letters sit exactly 32 apart in the code table.
What range of codes can I decode?
Codes must be whole numbers from 0 to 255; anything larger is rejected with an error message. Codes 32 through 126 are the printable characters shown in the reference table, while codes outside that range are control codes (like line feed, 10) or extended characters.
Can I paste codes with commas or line breaks?
Yes. Codes can be separated by spaces, commas, or line breaks — the tool splits on any of them, so you can paste in a column of codes or a comma-separated list without reformatting.
Are ASCII codes the same in modern text?
Yes. ASCII is a subset of UTF-8, so the codes 0 through 127 mean exactly the same thing in today's Unicode text — that is why ASCII-encoded data still works everywhere.