Developer ToolsEncoders & DecodersFree Tool

Unicode Escaper

Escape non-ASCII characters into \uXXXX Unicode escape sequences, leaving standard ASCII characters untouched.

How to Use Unicode Escaper
  1. 1Paste text with non-ASCII characters
  2. 2Click Process
  3. 3Copy the escaped output
Frequently Asked Questions

Any character with a code point above 127 (i.e. non-ASCII) is converted to a 4-digit hex \uXXXX sequence; standard ASCII letters, numbers, and punctuation are left unchanged.

Not fully — since it operates on JavaScript's UTF-16 code units rather than full code points, characters represented as surrogate pairs (many emoji) will be escaped as two separate \uXXXX sequences rather than one combined code point escape.

Yes — the Unicode Unescaper tool converts \uXXXX sequences back to their original characters.

No — conversion happens entirely in your browser.

Related Tools

Related Articles

More from Developer Tools