ASCII/Unicode Converter
Turn text into decimal, hex, \u escape or HTML entity codes, or turn codes back into text.
Supports decimal (space-separated), hex (0x), unicode (\u), HTML (&#;) formats
ASCII Table (32-126)
| Char | DEC | HEX |
|---|
Every character has a Unicode code point. On the Text to Code tab, the converter shows that number in four notations. On the Code to Text tab, it turns numbers back into characters. Everything happens in this page.
Typing Hi, a space and the Korean syllable for "ga" (U+AC00) gives:
| Box | Result |
|---|---|
| DEC | 72 105 32 44032 |
| HEX | 0x48 0x69 0x20 0xAC00 |
| \u | \u0048\u0069\u0020\uAC00 |
| &# | Hi 가 |
The space is character 32. Below the converter is an ASCII table for 32 (space) through 126 (~), and each box has a Copy button.
Decoding reads one format at a time
The Code to Text tab looks for \u first, then &#, then 0x, and reads only the first format it finds. With no marker it reads decimal numbers separated by spaces or commas. Mixed input converts only partly, so paste one format at a time. It does not read hex entities such as 한, and it reads only four-digit \u escapes, so emoji above U+FFFF need to be entered in another form.
If two strings look identical but compare as different, check their codes. A zero-width space (8203, 0x200B) is a common hidden culprit in text copied from web pages and chat apps.