💻 Unicode Escapes — encode & decode
Convert non-ASCII text to JavaScript-style \u escape sequences and decode them back to readable characters.
How it works
- Paste or type your text into the input box.
- Choose "Encode to JavaScript unicode escapes" or "Decode from JavaScript unicode escapes" — the result appears instantly in the output box.
- Copy the result with one click. Unicode and emoji are fully supported.
- Everything runs locally in your browser, so even sensitive strings never leave your device.
Examples
- Encoding "café — naïve — 日本語 😀" produces "caf\u00e9 \u2014 na\u00efve \u2014 \u65e5\u672c\u8a9e \u{1f600}".
- Decoding "caf\u00e9 \u2014 na\u00efve \u2014 \u65e5\u672c\u8a9e \u{1f600}" returns the original "café — naïve — 日本語 😀".
- Errors are caught and explained — paste a broken value and the tool tells you what is wrong with it.
Frequently asked questions
What is JavaScript unicode escapes encoding?
Unicode escape sequences (\u0041 style) are how non-ASCII characters are written inside JavaScript strings, JSON and many config formats.
Is my text or data uploaded to a server?
No. The Unicode Escape Converter runs entirely in your browser using JavaScript — nothing you type or paste is sent anywhere, and everything disappears when you close the tab.
Is this tool free to use?
Yes, completely free with no sign-up, no watermarks and no usage limits. Unicode Escape Converter is part of a collection of free tools where new tools are added after review.
Does it work on phones and tablets?
Yes. The layout is fully responsive and all processing is done on your device, so it works on any modern phone, tablet or computer — even offline once the page has loaded.
Related tools
More Developer tools →UUID Generator
Generate up to 100 random UUID version 4 identifiers at once, uppercase or without hyphens. Cryptographically secure, free, no sign-up.
Cron Expression Explainer
Turn a five-field cron expression into plain language and upcoming run times.
CIDR Subnet Calculator
Find the IPv4 network, broadcast, usable hosts, and subnet mask for any CIDR prefix.
URL Inspector
Break an absolute URL into protocol, host, path, query pairs and hash.