Skip to main content
Yoryantra
← Back to Tools

Unicode Escape Sequence Converter

Decode or encode Unicode escapes while exposing code points, surrogate pairs, and invalid values.

Choose a Unicode Task

Paste Unicode escapes, JavaScript strings, HTML entities, emoji, Indic text, multilingual text, or copied API output.

Options

Unicode escapes are common in JavaScript, JSON, logs, API responses, localization files, and copied text from debugging tools.

Output

Unicode escape output will appear here.
Unicode escape conversion happens directly in your browser. Your pasted text is not uploaded to a server.

Converting Unicode Escape Sequences Into Readable Text

Unicode escape sequences often appear in JSON, JavaScript strings, API responses, logs, localization files, and copied debugging output. Text like \\u0928\\u092E\\u0938\\u094D\\u0924\\u0947 can be hard to read until it is decoded back into normal characters.

JavaScript's four-digit \uXXXX form represents one UTF-16 code unit, not necessarily one complete Unicode character. Characters above U+FFFF need a surrogate pair in that form, while \u{...} can represent the code point directly.

Unicode Escapes and Real Characters

A Unicode escape is just a text representation of a character. The escape \\u0041 represents the letter A, while values outside the basic range may need surrogate pairs or braced escapes depending on the programming language.

Lone surrogate code units are not Unicode scalar values. During decode they are surfaced as the replacement character rather than being silently presented as valid text. The decoder also distinguishes four-digit \u escapes, braced Unicode escapes, \x byte escapes, and optional HTML numeric entities instead of treating them as one interchangeable syntax. The character table is useful when emoji, combining marks, Indic text, or visually similar symbols need exact code-point inspection.

JavaScript syntax reference: MDN lexical grammar — string escapes.

Example Unicode Escape Text

Hello \u0928\u092E\u0938\u094D\u0924\u0947 \u{1F600}