U+

Unicode Escape & Unescape Online

Free online Unicode escape and unescape tool. Convert text to \uXXXX sequences and back. Supports all Unicode characters including emoji.

Input
Result
💡 What is this

Unicode Escape

  • Unicode escaping converts characters into \uXXXX notation (or \u{XXXXX} for characters outside the BMP like emoji).
  • This is used in JavaScript, JSON, Java, Python, and other languages to represent non-ASCII characters safely.
📖 How to use

Step by Step

  • Paste text with special characters and click Escape
  • Or paste \uXXXX sequences and click Unescape
  • ASCII characters (32-126) are preserved as-is
  • Emoji and CJK characters are fully supported
🎯 Use cases

When to use

  • Embedding Unicode in source code safely
  • Debugging encoding issues in JSON/APIs
  • Converting emoji to escape sequences
  • Preparing text for systems that only support ASCII

Frequently Asked Questions

Are emoji supported?
Yes. Emoji and all Unicode characters above U+FFFF are encoded using surrogate pairs (\uD800-\uDFFF) which is the standard JavaScript representation.
Which characters get escaped?
Only non-ASCII characters (code point > 126) and control characters (code point < 32) are escaped. Standard printable ASCII stays readable.