Quick answer
JSON Encoding – causes and fixes.
JSON Encoding
JSON Encoding – causes and fixes. Use a JSON validator to locate the error.
Common causes
- Wrong encoding.
How to fix
- Use UTF-8.
Use our JSON Validator to paste your input and see the exact error location. Validatethis.org offers free validators for JSON, XML, CSV, HTML, and more. Check /tools for the full list. For API access and integration, see /developers.
FAQ
- Encoding?
- UTF-8.
- UTF-16?
- Rare.
Fix it now
Try in validator (prefill this example)