Unicode Escape Converter

Encode any text to \uXXXX Unicode escape sequences or decode them back to readable characters, with support for all Unicode planes including emoji.

Input

Mode:

Quick Examples

Output

Copied!

Summary

Encode any text to \uXXXX Unicode escape sequences or decode them back to readable characters, with support for all Unicode planes including emoji.

How it works

  1. Paste or type your text (or escape sequences) into the input area.
  2. Choose Encode to convert characters to \uXXXX sequences, or Decode to convert sequences back to text.
  3. For characters above U+FFFF (emoji, rare scripts), encoding uses surrogate pairs in \uHHHH\uHHHH format compatible with JavaScript strings.
  4. The output appears instantly — copy it with the Copy button.
  5. Use the Swap button to flip input and output for round-trip checks.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu