Unicode Converter
This tool converts text to Unicode code points and back. It writes them as U+, JavaScript, HTML, CSS or decimal, and shows the UTF-8 and UTF-16 bytes.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Unicode Converter online
- Pick the direction. Text to code points, or back.
- Pick the format. U+, JavaScript, HTML, CSS or decimal.
- Type the input. Text or code points.
- Read the result. See the code points and the bytes.
Why use this free Unicode Converter
- Five output formats
- UTF-8 and UTF-16 bytes
- Table for each character
- Reads many escape forms
- Handles emoji
- Share by link
What a code point is
Unicode gives every character a number called a code point, written U+ followed by hex digits. The letter A is U+0041, the euro sign is U+20AC and the grinning face emoji is U+1F600. A computer then stores that number in an encoding such as UTF-8 or UTF-16, which uses different byte patterns.
Formats for programmers
You can write code points as U+0041, as a JavaScript escape \u0041 or \u{1F600}, as an HTML entity A, as a CSS escape \41 or as a decimal number. Pick the form that your language needs. The tool turns each character of the input into the chosen form, separated by spaces.
A worked example
The text "Aé€😀" has 4 characters. It is written as U+0041 U+00E9 U+20AC U+1F600. In UTF-8 it takes 10 bytes, and in UTF-16 it takes 5 units, because the emoji needs two. The table shows the bytes of each character: é is C3 A9 in UTF-8.
Back to text
Switch the direction and paste code points in any of the forms above, mixed if you like: U+0048 U+0069, \u0048\u0069, Hi or the decimal numbers 72 105. The tool turns them into text. A value above U+10FFFF or in the surrogate range D800 to DFFF is not a character, and the tool says that no valid code points were found.
Why it helps
Code points help when text does not show as expected: you can see if a quote is a plain quote or a curly one, if a space is a no-break space, or if two letters that look the same are different. They also help you write escapes for source code and web pages that must use only plain characters.
Using the tool
Change the text or any option of the Unicode Converter and the answer moves straight away. Undo and redo step back through your earlier text.
Unicode Converter: frequently asked questions
What is U+0041?
What is the difference between a code point and a byte?
How many bytes is an emoji in UTF-8?
Can I turn escapes back into text?
Which formats can it read?
Where does my text go when I use the Unicode Converter?
How do I keep the result of the Unicode Converter?
Related searches for Unicode Converter
- Unicode Converter online
- free Unicode Converter
- Unicode Converter online free
- Unicode Converter for mobile
- Unicode Converter without sign up
- Unicode Converter – Text & Writing Tools
Unicode Converter is a free online tool on MAITBOX, in the Text & Writing Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.