Text to Unicode Converter
NEWConvert text to Unicode code points, \u{…} and \uD83D\uDE00 JavaScript escapes, HTML entities and UTF-8 bytes, or turn escapes back into text.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
12 characters
Character table
| Char | Code point | Decimal | UTF-8 | UTF-16 |
|---|---|---|---|---|
| H | U+0048 | 72 | 48 | 0048 |
| e | U+0065 | 101 | 65 | 0065 |
| l | U+006C | 108 | 6C | 006C |
| l | U+006C | 108 | 6C | 006C |
| o | U+006F | 111 | 6F | 006F |
| ␣ | U+0020 | 32 | 20 | 0020 |
| 😀 | U+1F600 | 128512 | F0 9F 98 80 | D83D DE00 |
| ␣ | U+0020 | 32 | 20 | 0020 |
| c | U+0063 | 99 | 63 | 0063 |
| a | U+0061 | 97 | 61 | 0061 |
| f | U+0066 | 102 | 66 | 0066 |
| é | U+00E9 | 233 | C3 A9 | 00E9 |
Quick Examples
Typical inputs and the results this tool produces.
Overview
Every character in Unicode has a number called a code point, written like U+1F600. This converter shows that number for each character in your text, together with the JavaScript escapes, HTML entities and UTF-8 bytes that stand for it.
Emoji and other characters above U+FFFF are stored in JavaScript as two UTF-16 units, a surrogate pair such as \uD83D\uDE00. The tool shows both that form and the shorter \u{1F600} form.
Switch direction to paste escapes or UTF-8 hex bytes and get readable text back. This helps when you debug a string that shows \u00e9 instead of é, check what an emoji really contains, or prepare text for source code and HTML. It all runs in your browser.
Why use this tool?
- See the code point of any character at once
- Get JavaScript, HTML and UTF-8 forms side by side
- Understand surrogate pairs for emoji
- Decode escaped strings from logs and JSON
- Nothing is uploaded or stored
Features
Code points
Each character as U+XXXX, with its decimal value.
JavaScript escapes
Both \u{1F600} and the older \uD83D\uDE00 surrogate form.
HTML entities
Hexadecimal (😀) and decimal (😀) numeric references.
UTF-8 and UTF-16
The exact bytes and code units for every character.
Both directions
Decode mixed escapes or UTF-8 hex bytes back into text.
Per-character table
A table with one row per character, ready to read or copy from.
How to Use
Pick a direction
Choose Text → Unicode, Unicode escapes → Text, or UTF-8 hex bytes → Text.
Enter your input
Type or paste text, an escaped string or hex bytes.
Set options
Decide whether plain ASCII letters stay as they are in the escaped outputs.
Copy the result
Use the Copy button next to the format you need.