Free developer tool

Free Unicode Converter

A Unicode converter turns text into the code points and bytes behind it, and turns those values back into text. Convert between U+ code points, decimal, UTF-8, UTF-16, UTF-32, JavaScript escapes and HTML entities, and see every hidden or combining character, without uploading anything.

Direction

Up to 20,000 UTF-16 units. Everything runs in your browser.

Characters (graphemes)
7
Code points
7
UTF-16 units
8
UTF-8 bytes
11

Character inspector

Every code point with its UTF-8 and UTF-16 encoding. Invisible and combining characters are named and highlighted.

CharacterCode pointDecimalUTF-8UTF-16HTML
HU+004872480048H
éU+00E9233C3 A900E9é
lU+006C1086C006Cl
lU+006C1086C006Cl
oU+006F1116F006Fo
SPACEU+002032200020 
👋U+1F44B128075F0 9F 91 8BD83D DC4B👋

How to convert text to Unicode

  1. 1. Choose a direction

    Pick Text → Unicode to encode text, or Unicode → Text to decode values.

  2. 2. Pick a format

    Select code points, decimal, UTF-8, UTF-16, UTF-32, JavaScript escapes or HTML entities.

  3. 3. Enter input

    Type or paste text, or paste values separated by spaces, commas or new lines.

  4. 4. Inspect and copy

    Check each character, its code point and bytes in the inspector, then copy the result.

Unicode converter FAQ

What is a Unicode converter?

A Unicode converter shows the code points behind text, such as U+00E9 for é, and the bytes or escapes that encode them in UTF-8, UTF-16, UTF-32, JavaScript or HTML. It also decodes those values back into readable text.

What is the difference between Unicode and UTF-8?

Unicode assigns each character a number called a code point. UTF-8, UTF-16 and UTF-32 are encodings that store those numbers as bytes. UTF-8 uses 1 to 4 bytes per code point and is the default for the web.

Why does one emoji show several code points?

Many emoji combine code points. 👩‍💻 is a woman, a zero width joiner (U+200D) and a laptop. Skin tones, flags and accented letters written with combining marks also use more than one code point for one visible character.

Why does 😀 become \uD83D\uDE00 in JavaScript and JSON?

JavaScript strings and JSON \u escapes use UTF-16. Code points above U+FFFF, including most emoji, are stored as a surrogate pair: a high surrogate (D800-DBFF) followed by a low surrogate (DC00-DFFF).

Is my text uploaded?

No. Encoding, decoding, counting and copying run locally in this page. Tornic does not upload or store the text you enter.

Automate the tedious parts of coding

Tornic turns repeatable tasks into deterministic workflows for the AI coding CLIs you already use.

Explore Tornic

Related free tools