Unicode Escape Converter
Paste text to get escaped forms in the flavor you need — JavaScript/JSON string escapes, CSS escapes, or HTML character references — and decode any of them back into readable characters.
How to use
Turn characters into \u escapes for JS, JSON, CSS or HTML and back. Your data is processed only inside this browser tab.
FAQ
When do I need this?
When non-ASCII has to survive a place that mangles encodings: source strings, CSS content, config files, JSON payloads.
Does it handle emoji?
Yes. Characters outside the basic plane appear as a surrogate pair, which is what JavaScript string literals expect.
Related tools
Base64 Encoder / Decoder
Convert text or files to Base64 and back, with correct UTF-8 handling.
PopularURL Encoder / Decoder
Percent-encode or decode URLs and parameter values, plus a query breakdown.
PopularHTML Entity Encoder / Decoder
Escape HTML special characters into entities, or bring them back.
Number Base Converter
Binary, octal, decimal and hex — exact, at any size.
PopularMorse Code Translator
Encode text to dots and dashes and back again.
JSON Formatter
Beautify, minify and validate JSON right in your browser. No uploads, nothing leaves your device.
Popular