Development

Unicode Escape Encoder / Decoder

Encode text into Unicode escape sequences or decode escaped Unicode back into readable text.

Input text

Encode text as Unicode escapes or decode escape sequences back to text.

Keep standard ASCII characters readable.

Use A–F instead of a–f in escape values.

Encode astral code points as \\u{XXXXX}.

Examples

Characters

15

Escapes

2

Lines

1

Encoded Unicode

Hello, Espa\u00F1a \u{1F680}

Unicode escape conversion

Convert text using standard Unicode escape notation, braced code points or UTF-16 surrogate pairs. All processing happens locally in your browser.

About this tool

What is Unicode Escape Encoder / Decoder?

Convert normal text into Unicode escape sequences or decode Unicode escapes back into readable text entirely in your browser.

Features

Built for fast developer workflows

  • Encode Unicode characters.
  • Decode Unicode escape sequences.
  • Support \uXXXX notation.
  • Support \u{XXXXX} notation.
  • Support UTF-16 surrogate pairs.
  • Handle emoji correctly.
  • ASCII-only encoding mode.
  • Uppercase or lowercase hexadecimal output.
  • Copy transformed output.
  • Live statistics.
  • Runs locally in your browser.

Frequently asked questions

Questions about Unicode Escape Encoder / Decoder

Which escape formats are supported?

The tool supports classic \uXXXX escapes, braced \u{XXXXX} escapes and UTF-16 surrogate pairs.

Does it support emoji?

Yes. Emoji and every valid Unicode code point are correctly encoded and decoded.

Does it upload my data?

No. Everything is processed locally inside your browser.

Related tools