godz.online
Back to tools

Developer tools

Unicode & \u escape explorer

Convert text to and from \u escape sequences, or inspect it character by character. Everything runs in your browser - nothing is uploaded.

Direction
Output

How it works

Inspect any text character by character, or convert it to and from \u escape sequences. In Inspect mode, each character is broken down into its code point (the U+XXXX value that identifies it in Unicode), its decimal value, the JavaScript \u escape, and the HTML decimal and hexadecimal entities. It is a quick way to find the exact code point of a symbol, a space variant, or an emoji.

In Convert mode you can escape a whole string into \u sequences - useful for embedding non-ASCII text safely in source code or JSON - or paste escapes and unescape them back into readable characters. Characters outside the basic range, including emoji, are handled correctly as surrogate pairs, and a brace style (\u{1F600}) is offered for the astral range. Everything runs in your browser, so nothing you paste is uploaded.

Example. Inspecting the euro sign shows U+20AC, decimal 8364, the JavaScript escape \u20AC, and the entities € and €. In Convert mode, escaping a line that contains the euro symbol replaces it with \u20AC, and unescaping that brings the symbol back.

FAQ

What is a code point?

A code point is the number Unicode assigns to a character, written as U+ followed by hexadecimal digits, such as U+0041 for the letter A or U+20AC for the euro sign. It uniquely identifies the character independent of any font or encoding. The Inspect view shows the code point alongside its decimal value and the matching escapes.

What is a \u escape sequence?

It is the way many programming languages, including JavaScript and JSON, write a character by its code point: \u followed by four hex digits, so \u00E9 is e-acute. Characters above U+FFFF use either a surrogate pair of two \u escapes or the brace form \u{1F600}. Escaping lets you put any character into source code using only plain ASCII.

Does it handle emoji and other characters above U+FFFF?

Yes. Characters in the astral range, such as most emoji, are made of two UTF-16 code units (a surrogate pair). The tool inspects them by their true code point and can escape them either as the surrogate pair of \u sequences or in the single brace form \u{...}, and unescapes both back to the original character.

Does it show the official Unicode character name?

No. Looking up names like LATIN SMALL LETTER A would require bundling the full Unicode character database, a large dataset, so this tool stays dependency-free and shows everything that is derivable directly: the code point, decimal value, JavaScript escape, and HTML entities.