JSON Formatter and Validator — JSON5 to JSON Online
Format JSON and JSON5 in your browser, check syntax errors, and copy standard JSON. Supports comments, single quotes and trailing commas without executing JavaScript.
Accepts JSON and JSON5, including comments, single quotes and trailing commas. Functions and JavaScript expressions are not executed.
JSON / JSON5 input
Formatted JSON
How to use this converter
- Paste your source data into the input editor or select a local file.
- Review available settings and check the generated output for errors.
- Copy the result and verify it in your project before using it.
Details en beperkingen
Some converters process data on a server. Avoid confidential input unless you have checked how the selected tool works. Input may remain in this tab between tools; clear it when using a shared device.