Skip to content

Encoders & Decoders

Unicode Escape / Unescape

Escape non-ASCII characters to JavaScript \u sequences or unescape them back to readable text. Handles BMP and surrogate pairs—runs in your browser.

Loading tool…

How to use

  1. Paste text or escaped string
  2. Choose Escape or Unescape
  3. Copy the result
  • Hex Encoder / Decoder

    Encode UTF-8 text to hexadecimal bytes or decode hex back to readable text. Accepts spaced, compact, or 0x-prefixed hex—runs locally.

  • HTML Encoder / Decoder

    Escape special characters to HTML entities or decode entities back to plain text. Useful when embedding snippets safely in markup—runs in your browser.

  • ASCII Converter

    Convert text to decimal ASCII/Unicode code points or decode code lists back to text. Supports space, comma, or semicolon separators—runs locally in your browser.

Frequently asked questions

Which escape formats are supported?

Escape outputs \uXXXX for BMP characters and surrogate pairs for astral code points. Unescape also accepts \x, \u{…}, and CSS-style escapes.

When should I use HTML encode instead?

Use HTML Encoder for entity-safe markup (&, <). Use this tool for JavaScript string literals and source code.

Is my text uploaded?

No. Escaping runs entirely on your device.