Quick answer

Unicode in JSON strings uses \u followed by exactly four hexadecimal digits.

JSON Invalid Unicode Escape

Unicode in JSON strings uses \u followed by exactly four hexadecimal digits. Wrong length or non-hex characters cause an error.

Common causes

How to fix

FAQ

What is the correct JSON Unicode escape format?
\u followed by exactly four hex digits, e.g. \u00A9 for ©.
How do I escape emoji in JSON?
Use UTF-8 encoding (no escape needed) or surrogate pairs with \u.

Fix it now

Try in validator (prefill this example)

Related

All tools · Canonical