Skip to content
Toolzen
  • Image CompressorImage tools
  • Image ResizerImage tools
  • Image ConverterImage tools
  • Favicon GeneratorImage tools
  • Merge PDFPDF tools
  • Split PDFPDF tools
  • Remove PDF PagesPDF tools
  • Images to PDFPDF tools

Unicode Escape Converter

Convert text to Unicode escape sequences for JavaScript, JSON, HTML, CSS and Python, and decode them back.

Loading tool…

How to use the Unicode Escape Converter

  1. 1

    Choose a direction and, for escaping, the format you need.

  2. 2

    Type or paste your text.

  3. 3

    Copy the result.

Frequently asked questions

Which formats are supported?

JavaScript and JSON \uXXXX (with surrogate pairs), ES6 \u{…}, HTML &#x…; and &#…;, CSS \XXXX, Python \u and \U, and U+XXXX code points.

Do I need to choose the format when decoding?

No. Every supported format is detected automatically, even when they are mixed in the same text.