ASCII Converter
Convert text into ASCII and Unicode code points — and turn code points back into text. See every character's code in decimal, hex, octal and binary. Free, instant and 100% in your browser.
How to use the ASCII converter
- Choose a direction. Use Text → Codes to look up character codes, or Codes → Text to rebuild text from a list of numbers.
- Enter your input. Type or paste, then pick decimal, hexadecimal, octal or binary. The output and the per-character table update as you type.
- Copy or download. Grab the codes with the copy button, save them as a text file, or press swap to convert the result the other way.
About this tool
ASCII assigns a number to each of the 128 basic characters — letters, digits, punctuation and control codes. This converter shows those numbers, and because it reads text by Unicode code point rather than by raw byte, it also handles the full Unicode range: accented letters, symbols, non-Latin scripts and emoji. Each character is displayed as a code point in decimal, hexadecimal, octal and binary at the same time, alongside its standard U+XXXX notation.
When decoding, the tool is forgiving about how you write the numbers: plain values, 0x hex, U+ notation and HTML entities like A are all understood. Everything is computed locally in your browser with JavaScript, so nothing you enter is uploaded or stored — the tool is safe for private text and keeps working offline once loaded.
Frequently asked questions
What is the difference between ASCII and Unicode code points?
For the first 128 characters they are identical — the ASCII value equals the Unicode code point. Above 127, ASCII stops but Unicode continues, so characters like é (233) or 😀 (128512) still get a code point here even though they are not ASCII.
How do I convert code points back to text?
Switch to Codes → Text and enter the numbers separated by spaces or commas. You can mix notations: 72 0x69 U+2764 all work. Choose the number format that matches plain values without a prefix.
Why does one emoji sometimes show as one code point?
Characters are read by code point using proper Unicode iteration, so an emoji such as 😀 counts as a single character with one code point (128512), not as two surrogate halves.
What are the ABBR labels in the table?
Codes 0–31 and 127 are non-printing control characters. The table shows their standard abbreviations — for example NUL (0), TAB (9), LF (10, line feed) and CR (13, carriage return) — instead of an invisible glyph.