JavaScript to JSON Online Converter
Convert JSON5 object data to standard JSON in your browser. Supports unquoted keys, single quotes and comments; functions and JavaScript expressions are not executed.
Accepts JSON and JSON5, including comments, single quotes and trailing commas. Functions and JavaScript expressions are not executed.
JS Object
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 and limitations
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.