Validate, format, import and export JSON in your browser.
Paste or type JSON in the input panel. On every change, the editor tries to parse it: valid JSON appears in the result panel with two-space indentation; otherwise, the browser syntax error is displayed. Format rewrites the input with indentation.
{'nome': 'Ana', "idade": 30,}
{
"nome": "Ana",
"idade": 30
}
There are three issues: single quotes around keys and values, and a trailing comma after the last item. JSON requires double quotes and does not allow trailing commas.
| Problem | Cause | How to fix it |
|---|---|---|
| Trailing comma | A comma after the last object property or array item. | Remove the comma after the final element. |
| Single quotes | Keys or strings enclosed in single quotes. | Use double quotes ("). |
| Unquoted key | JavaScript object syntax, such as {nome: "Ana"}. | Enclose the key in double quotes: {"nome": "Ana"}. |
| Comments | Lines containing // or /* */ are not part of standard JSON. | Remove comments or use a format that supports them, such as JSONC or YAML. |
| Invalid values | undefined, NaN, Infinity and unquoted dates are not JSON. | Use null, a valid number or a quoted string. |
| Line break inside a string | A literal line break inside a quoted value. | Replace it with \n inside the string. |
Your input is processed in your browser and is not sent to Novemax. Each tab is saved in your browser local storage (localStorage), so you can return to it later. On a shared computer, clear your tabs before leaving. The site uses Google Analytics and Google AdSense according to your cookie preferences; these services do not receive the text you type in the editor.
No. Validation and formatting run in your browser using JavaScript. Your input is not sent to Novemax. It is saved only in browser local storage until you clear the tab or delete the site data.
The text stays in your browser but is saved locally. On a shared computer, clear your tabs before leaving. Avoid pasting production keys and passwords into any online tool.
Validation checks syntax. Formatting reorganizes spaces and line breaks and only works with valid JSON.
Your API may require a particular schema, including required fields and types. This editor checks syntax only.
The tool has no fixed size limit, but large files depend on your browser memory and may slow down the page.