Command Palette

Search for a command to run...

UN

Unicode Converter

Convert text to and from Unicode code points, HTML entities, JavaScript escapes, and CSS escapes. Emoji and astral characters handled correctly.

What is a Unicode Converter?

A Unicode converter turns readable text into the numeric code points that computers store, and turns those numbers back into text. Every character, from the letter A to a Chinese ideograph to an emoji, has a Unicode code point, a number usually written like U+0041 for A or U+1F30D for the earth emoji. This tool reads whatever you type and shows the code point behind each character in the notation you choose, so you can see exactly what a string is made of.

As a Unicode to text converter, it takes "U+0048 U+0069 👋" in Decode mode with Auto-detect and returns "Hi👋", even though the input mixes two notations. As a text to Unicode converter, Encode turns "é" into U+00E9 in Code Point format, and the table under the boxes lists its decimal value 233, the HTML entity é and the UTF-8 bytes C3 A9. Typing one character and reading that row makes it a char to Unicode converter too.

The same code point can be written many ways depending on where it is used. A web page might need an HTML entity like A or A, a JavaScript string needs an escape like \u0041, a CSS content value uses \41, and a spec or bug report often quotes the U+ form. This converter produces any of those from one input and decodes them back to plain text, so you can move a tricky character between an editor, a stylesheet, and a script without retyping it or guessing the syntax.

It handles the parts of Unicode that break simple conversions. Characters outside the Basic Multilingual Plane, such as most emoji, are stored in JavaScript as two surrogate halves, and this tool reads and writes them by true code point so an emoji round-trips correctly instead of splitting into garbage. A per-character table also shows the code point, decimal value, HTML entity, and raw UTF-8 bytes for each glyph. Everything runs entirely in your browser, so the text you paste, which might be user data or an unreleased string, is never uploaded, and the tool keeps working offline once loaded.

How to use the Unicode Converter?

  1. Choose encode or decode

    Select Encode to turn text into Unicode notation, or Decode to turn Unicode notation back into readable text.

  2. Pick a format

    Choose the notation you want: code point (U+), decimal, hex, HTML entity, JavaScript escape, or CSS escape. Decode also offers an auto mode that detects common formats.

  3. Enter your text

    Type or paste your input and press Encode or Decode. In Encode mode a per-character table also updates as you type, showing the code point, decimal, HTML entity, and UTF-8 bytes for up to 200 characters.

  4. Copy the result

    Copy the converted output to your clipboard, ready to drop into HTML, CSS, a script, or a document.

Key Features

  • Seven Notations

    Convert to code point (U+), decimal, hex, HTML decimal and hex entities, JavaScript escapes, and CSS escapes from one input

  • Encode And Decode

    Go both ways: turn text into any notation, or paste encoded text and get the original characters back

  • Emoji And Astral Safe

    Reads and writes characters beyond the Basic Multilingual Plane by true code point, so emoji and rare scripts round-trip correctly

  • Auto-Detect Decoding

    An auto mode recognises U+, backslash-u, and HTML entity forms in the same input, so mixed pastes still decode

Frequently Asked Questions

Paste your text into the input area with Encode selected and pick a format such as code point or HTML entity. The tool shows the Unicode representation of every character instantly, all inside your browser.

Comments

0 comments

0/2000 characters

No comments yet. Be the first to share your thoughts!

unicode convertertext to unicodeunicode to textcode point converterunicode escapetext to code pointshtml entity converterunicode to characterutf-8 converterunicode to text converterunicode text convertertext to unicode converterchar to unicode converter