Unicode escape / unescape
Escape non-ASCII characters to \uXXXX sequences, or decode them back.
Related tools
All Encoding & decoding tools →Unicode escape / unescape works straight from this page — free, instant, nothing to install. You will find it under Encoding & decoding, with JSON String Escape / Unescape and String escape / unescape for the neighbouring cases.
How to use it
- Open the tool — no signup or install needed.
- Enter your input or adjust the available options.
- Get your result instantly, then copy or download it.
Frequently asked questions
What does Unicode escape / unescape do?
Escape non-ASCII characters to \uXXXX sequences, or decode them back.
When would I actually use this?
Reading a payload someone sent you, embedding a small file in a config, and finding out why a query string breaks once it reaches the server.
What is the most common mistake?
Treating Base64 as a form of protection. It is an encoding, not encryption — anyone can decode it instantly, and a token pasted into a public issue is a leaked token.
How is Unicode escape / unescape different from JSON String Escape / Unescape?
They sit next to each other but answer different questions: JSON String Escape / Unescape is the one to open when you need it to turn raw text into a JSON-safe string and back, with control characters, \uXXXX, emoji surrogate pairs and lone surrogates handled exactly like JSON.stringify. Pick whichever matches what you're starting from — both are free.
Is there a tool for the next step?
String escape / unescape is the closest one after this: Escape a string for JSON/JavaScript or unescape it back to raw text.
Where do the figures come from?
The encodings follow their RFCs, so a round trip is lossless. URL encoding has two variants — one that encodes a space as %20 and one as a plus sign — and the tool says which it applies.