Unicode escape encoder and decoder

Convert text to Unicode escapes or decode literal Unicode escapes.

Local processing · Nothing is uploaded · 1 MB input limit

Input & settings

Paste text or drop a UTF-8 text file
Ready. Enter your input to begin.

How to use this tool

Encoding uses \uXXXX for BMP characters and \u{XXXXX} for supplementary code points. Decoding accepts both forms and valid surrogate pairs.

Limits and behavior

Only Unicode escapes are decoded. Other escape sequences remain literal. Malformed escapes, out-of-range values, and unpaired surrogates are rejected. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.

Unicode Escape Encoder & Decoder

Convert text to literal Unicode escape sequences or decode supported escapes. Use this browser-based utility to process supplied text and inspect the generated result.

Does this convert the text into a secure cipher?

No. Unicode escaping is a reversible textual representation, not encryption.

Related tools: text to code points · normalize unicode text

Built on Hatchable