Offline JSON Validator Free
Validate JSON structure and find syntax errors.
Runs offline in Devy, a desktop app with 234 developer tools for Windows, macOS and Linux. Free in Devy Tools, with no account and no time limit.
What the JSON Validator is for
A JSON validator checks that text is valid JSON before you send it to an API, commit it as config or load it in code. When it isn't, it tells you what's wrong and where, which is far quicker than reading a stack trace.
Devy shows whether the JSON is valid, and for valid JSON its root type, number of top-level keys and size.
Example
Invalid JSON
{
'name': 'Asha',
"roles": ["admin", "editor",],
} What's wrong
1. Strings and keys must use double quotes: 'name' → "name"
2. No comma after the last item in an array: "editor",] → "editor"]
3. No comma after the last property: ],} → ]} Why use it offline
Validate real payloads and configs without pasting them into someone else's website. Everything runs on your computer, even with no internet.
- Nothing you paste or open is uploaded
- Works on a plane, behind a VPN or with no network
- No ads, no sign-up, opens in a second
How to use the JSON Validator
- Download Devy for Windows, macOS or Linux and open it.
- Search for “JSON Validator” on the home screen, or open the Validators & Testers category.
- Paste your input or open a file, then copy or save the result.
Good to know
- JSON is stricter than JavaScript: no single quotes, no trailing commas, no comments, no unquoted keys, and no NaN, Infinity or undefined.
- true, false and null must be lowercase.
- A UTF-8 byte order mark or invisible characters copied from a web page can make otherwise good JSON fail. Devy's Invisible Character Inspector finds them.
- Valid JSON can still be the wrong shape for your API. To check required fields and types, use the JSON Schema Validator.
More validators & testers tools in Devy
Questions
Is JSON with comments (JSONC) valid?
Not as standard JSON. Some tools such as VS Code's settings accept comments, but JSON parsers in most languages reject them. Remove the comments before validating.
Why is my JSON valid here but rejected by my API?
Being valid JSON only means the syntax is right. The API may expect different field names, types or required fields; check its documentation or validate against its JSON Schema.
Is the JSON Validator free?
Yes. The JSON Validator is one of the 45 tools in Devy's free plan. There's no account, no trial to run out and no limit on use.
Does it send my data anywhere?
No. The JSON Validator runs inside the Devy desktop app on your computer. What you paste or open isn't uploaded, logged or shared, and it works with no internet connection.
Which computers does it run on?
Windows, macOS and Linux. Download Devy from this site or install it from the Microsoft Store.