Unicode escape converter
Local processing · No uploads
Convert Unicode escapes to text and text to Unicode locally, with mixed text, emoji and precise error locations.
Usage & limits
How to use
- Paste mixed text or insert an example; optionally select Escape ASCII too. Examples do not run automatically.
- Choose Unicode to text or Text to Unicode. Fix errors at their original line and column.
- Read Result, then explicitly copy or download complete UTF-8 TXT. Convert again after editing input.
Input and output examples
- Example input
\u4F60\u597D,Zero \u{1F600}- Expected output
你好,Zero 😀
- Example input
你好,Zero 😀- Expected output
\u4F60\u597D\uFF0CZero \uD83D\uDE00
- Example input
\u005Cu4F60- Expected output
\u4F60
Formats and limits
- Decode lowercase-u \uXXXX and \u{...}; hexadecimal digits are case-insensitive. Fixed escapes support valid surrogate pairs; braces require 1–6 digits, at most U+10FFFF, excluding surrogate values.
- Only Unicode escapes are converted. JSON structure, U+ notation, HTML entities, URL encoding, \n and \t are not parsed. Use Base64 & URL codec for URL actions. Decoded output is not guaranteed to remain valid JSON or form a directly embeddable Java/JS string literal.
- One layer per operation: original backslash pairs stay unchanged, and only the final unpaired backslash can start an escape. A decoded backslash is never scanned again; decoding is not recursive.
- Encoding preserves printable ASCII by default, except backslashes and ASCII controls, which are always escaped. Escape ASCII too encodes the remaining ASCII characters. Output uses uppercase \uXXXX and surrogate pairs for emoji, without trimming or Unicode normalization.
- Input: 1 MiB UTF-8; result: 8 MiB; processing: 5 seconds, cancellable. Expanded encoding may exceed the input limit when pasted back. Limits or the first invalid escape/isolated surrogate fail the whole operation without truncation. Positions are 1-based; columns count UTF-16 units.
- Paste or type text only: no file import, content history or autosave. Copy and TXT download require your action. Editing input/options invalidates old results. Initial page and assets need a network.
Content is processed in this page, without uploads or site history. First load and on-demand assets need a network. Clear or leave to release tool content; browser-managed restoration is outside the tool’s control.
Browser agent usage
These are interactive browser tools, not HTTP computation APIs. Computation requires JavaScript; initial page and on-demand asset loading need a network.
- Input method
- Fill Input and use an explicit direction button; the ASCII option only affects encoding. Never put content in the URL.
- Reading results
- Read the current successful text in the read-only Result field; errors identify original positions. Edits invalidate results and downloads.
Supported operations
- Unicode to text: decode one layer
- Text to Unicode: reversible encoding
- Copy complete result, download TXT or clear
Locate inputs and buttons by their page labels. After an explicit action, wait for the status to finish before reading the current result. Fix failed input first; do not reuse old results after changing input or settings.
Common questions
Why does an escape with two backslashes stay unchanged?
Original backslash pairs are retained to protect literal escape text. Each operation handles one original layer, without automatic repeated decoding.
How does a real newline differ from visible \n?
An actual LF encodes as \u000A; a backslash followed by n encodes as \u005Cn. Decoding preserves the distinction. Backslashes are always escaped for reversible text round trips.
Can I paste an entire log or JSON document?
Yes, as plain text. Ordinary text is preserved; only Unicode escapes are converted. JSON structure is not validated. Failures retain input and report original line/column positions.
Feedback and suggestions
Leave a problem or suggestion for this tool.
Tool inputs stay local. Only text you explicitly enter in feedback is sent to a separate service and may become public after review. Email stays private to the maintainer.
Account-free feedback is not enabled yet. You can still use GitHub Issues (a GitHub account is required).
GitHub Issues ↗Content reviewed: