Text to ASCII
Convert text to ASCII (and Unicode) code points in your browser. Decimal by default, with hex / binary / octal options. Multi-byte characters are reported as their Unicode code point (which extends ASCII).
Text in, codes out
Each character maps to one decimal (or hex, binary, octal) value. ASCII covers 0-127; Unicode extends it to over a million code points.
Hello
72 101 108 108 111
What you'll use this for
From debugging mysterious Unicode strings to generating byte arrays for embedded code — text-to-ASCII is a handy primitive.
Debugging Unicode
See the exact code points behind a weird-looking string.
Embedded systems
Generate byte arrays for C / Arduino sketches.
CTF challenges
Decode ASCII-encoded flags or convert text for transformation.
Education
Show students the numeric encoding of characters.
How to convert text to ASCII
Paste your text
Any Unicode is fine — emoji, CJK, accents all map to their proper Unicode code point.
Pick base
Decimal, hex, binary, or octal — whichever your target needs.
Pick separator / padding / prefix
Match the format your target expects — space, comma, dash, newline, with or without zero-padding and base prefixes.
Click Convert
Output appears on the right. Copy or download instantly.
Frequently asked questions
ASCII is a subset of Unicode (code points 0–127). This tool reports each character's full Unicode code point, so non-ASCII characters (emoji, accents) get their proper number rather than a multi-byte sequence.
Characters beyond 127 (everything outside basic Latin) have Unicode code points 128 and up. Emoji can be 100000+.
Yes. No signup, no limits, no ads.
Decimal is most common in education. Hex (0x48) is standard in programming. Binary shows bit patterns. Octal is rare today but supported.
Yes — use the ASCII to Text tool.
About this converter
ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding that maps 128 symbols to numbers 0–127. Modern systems use Unicode, which extends ASCII to over a million code points while keeping the first 128 identical.
What it does
- Decimal / hex / binary / octal output, padded or unpadded.
- Unicode-aware — handles surrogate pairs as single code points, so emoji and CJK characters get their real code point (not two halves).
- Separator choice — space, comma, dash, newline.
- Prefixes —
0x,0b,0oto match programming-language literals.
Limitations
- Not bytes. If you want UTF-8 bytes (each emoji might be 4 bytes), use the Text to Hex tool instead.
- One code point per character. Combining sequences (e.g.
éase+◌́) are reported as two code points.