Unicode Decode: Fix Garbled Text in Logs and APIs

5/28/20262 min readBy RM
unicodeencodinglogsapidebuggingjson

If you see text like \u00e9 or \u2014 in logs, you are looking at escaped Unicode, not the final characters. Decode it before you debug the message itself. Otherwise you might be chasing encoding noise instead of a real bug.

Use the Unicode Decoder to turn escapes back into readable text.

Quick steps

  1. Paste the escaped string (from JSON, logs, or source code).
  2. Decode it in the tool.
  3. Copy the readable output and continue debugging.

What you are fixing

You seeIt usually means
\u0048\u0065\u006c\u006c\u006fThe word Hello stored as escapes
\u2014An em dash character
\u041f\u0440\u0438\u0432\u0435\u0442Cyrillic text (e.g. Привет) in escaped form

Escapes are common in JSON APIs, JavaScript string literals, and log pipelines that serialize Unicode for ASCII-safe transport.

Examples

ASCII word from escapes

Input:

\u0048\u0065\u006c\u006c\u006f

Output: Hello

Punctuation in a log line

Input:

Hello\u2014world

Output: readable text with an em dash between Hello and world

JSON string field (paste the escape sequence only, or the quoted value)

Input:

\u00e9

Output: é

If the whole payload is JSON, format it first with JSON Formatter, then decode individual string values.

Common mistakes

  • Double-escaped strings. Some logs escape backslashes twice (\\u2014). You may need to decode more than once or unescape the source format first.
  • Mixed encodings. If the string is already valid UTF-8 text, running a Unicode decoder may not change anything. That is expected.
  • Wrong tool first. URL-encoded text (%C3%A9) needs URL Decode. Base64 blobs need Base64 Decode.

Verification checklist

  • Confirm the output shows the characters you expect (accents, dashes, emoji).
  • If output still looks wrong, check whether the upstream step used URL encoding or HTML entities (HTML Decode).

When to use something else

  • Encode text to escapes: use Unicode Encoder.
  • Invalid JSON structure: fix JSON before decoding nested fields.

FAQ

Does this work for JSON?

Yes. Developers often decode JSON string fields while inspecting API responses.

Can I encode back to Unicode escapes?

Use Unicode Encoder or your language’s JSON serializer, not the decoder.

What about emoji?

Emoji decode correctly when the escape sequences are valid (including surrogate pairs for some characters).

Is my text sent to a server?

No. Decoding runs in your browser.

Related tools