Validate JSON Without Uploading

Paste a document to see whether it is valid JSON (or JSON Lines). If it is valid, you are told so and which format was detected. If it is not, you get the parser’s error message so you can find the typo.

This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.

How to check a document

1. Paste the text. 2. Read the result: valid, with the detected format, or invalid, with an error description.

A missing comma after a property, or a trailing comma in strict JSON, is a typical failure. JSON Lines is accepted when each line is a value.

What this does not do

It does not check a file against a JSON Schema, and it does not pretty-print or fix the text. Use the formatter or minifier after the document is valid. The text stays in your browser and is not uploaded.

Frequently asked questions

Is my JSON uploaded?

No.

Does it accept JSON5 or JavaScript objects?

This validator is for JSON (and JSON Lines). For JavaScript-style objects with unquoted keys, try the stringify tool instead.

Will it tell me the line number of an error?

You see the parser’s error message, which often includes a position, but that depends on the error.

Can I validate several files at once?

Paste one document at a time.

More JSON Tools