Unicode Escape Converter
About this tool
Some logs print Chinese as \uXXXX. Decode to read it, or escape text before pasting into JSON.
Features
- Text to \uXXXX and back
- Useful for JSON-escaped logs
- Local; it does not change your encoding policy
How to use
- Paste text or \u sequences.
- Encode or decode.
- Copy the readable result.
When to use it
- A log shows \u4e2d\u6587
- A frontend error string is escaped
- You need code points, not a guess at the glyph
Examples
- 中 becomes \u4e2d.
- A run of \uXXXX sequences decodes to readable text.
FAQ
Is this UTF-8 bytes?
No. It handles JS/JSON \u escapes, not hex dumps.
Emoji?
Escapes follow UTF-16 code units, so surrogate pairs may appear as two \u tokens.
Back to Encoding Tools Hub
Guides