Unicode Converter
See the code points, UTF-8 bytes, percent encoding and Base64 for any text - or resolve escapes back to text. Nothing is uploaded.
How the Unicode converter works
Every character has a code point, the number Unicode assigns to it. This page shows each code point as U+XXXX, 0xXXXX and a decimal value, then adds the UTF-8 byte sequence, the percent-encoded form and the Base64 form of the whole text. It also runs in reverse: paste escapes such as \u0041, U+0041, 0x41 or A and resolve them back to plain characters. Surrogate pairs are handled natively, so one emoji counts as one code point. Related helpers on this site include the HTML entity decoder for named entities and the JSON formatter for the output.
Frequently asked questions
What does this converter show?
For each code point it lists the U+ form, the 0x form and the decimal value, followed by the UTF-8 byte sequence, the percent-encoded form and the Base64 form of the whole text.
How are code points counted?
One entry per Unicode code point. An emoji outside the basic plane counts as a single code point even though JavaScript stores it as two surrogate halves.
Can it turn escapes back into text?
Yes. Paste sequences such as \u0041, U+0041, 0x41 or A and press the resolve button to turn them back into ordinary characters.
Is the text sent anywhere?
No. Code points, bytes, percent and Base64 are all produced with built-in browser APIs, so nothing leaves your device.
Which UTF encodings are covered?
Code points are shown directly and bytes are shown as UTF-8, which is what the web uses. UTF-16 and UTF-32 are represented through their code point values rather than a byte dump.
Why do some characters show multiple UTF-8 bytes?
UTF-8 uses one byte for ASCII and more bytes for higher code points, so a two-, three- or four-byte sequence is the expected result rather than an error.
Related: decode named entities with the HTML entity decoder, format the result with the JSON formatter, adjust letters with the text case converter, count words with the word counter, and browse every browser-only tool on the all tools page.