Data and JSON tools Free · No sign-up · No upload

JSON Validator

Find out whether JSON is valid in one click. If not, you get the line, the column and a few lines of code with a caret under the mistake. Nothing is uploaded.

  • Free to use
  • Local processing
  • Points to the exact error
  • Warns about risky numbers
Your data
  • Runs on your device. Files are never uploaded.
  • Free and unlimited. No sign-up, no watermark.
Private: processed in your browserNo upload waitIN: JSON → OUT: Report
How was JSON validator?
How it works

JSON validator in three steps

No account, no email, no waiting for an upload.

  1. STEP 01

    Add your JSON

    Paste text into the box or open a .json, .geojson or .txt file.

  2. STEP 02

    Run the check

    The tool reads your JSON with a strict RFC 8259 parser. Choose an indent if you also want a tidy copy.

  3. STEP 03

    Read the report

    Valid JSON gets a summary. Invalid JSON gets the error, line, column and a short code excerpt.

What you get

What JSON validator does, and what it doesn't

We'd rather tell you up front than surprise you after the download.

What you get

  • Error with a code frameYou see the offending line and the lines around it, with a caret under the exact column.
  • A summary of valid filesThe report lists the top-level type, nesting depth, a count of objects, arrays, strings, numbers, booleans and nulls, and the file size.
  • Duplicate key warningsA repeated key in one object is valid syntax but most programs keep only the last value. You are told which keys repeat.
  • Big-integer warningsIntegers beyond 2^53 are flagged, because JavaScript and many tools round them.
  • A formatted copy includedWhen the JSON is valid you also get a neatly indented version to download.

Good to know

  • Syntax onlyThis checks that the text is JSON. To check that the data has the right fields and types, use the JSON schema validator.
  • Strict JSONComments, trailing commas and single quotes are reported as errors, as they are in the JSON standard.
  • First error onlyThe parser stops at the first problem. Fix it and run again to find the next one.
Private by design

Your data never leave your device

The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.

Typical online tool upload

Your device→Their server→Your device

Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.

Mediaextractr no upload

Your device does all the work

The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.

Made for real work

When people use JSON validator

Debug a failing request body

Find the missing quote or comma that makes your API return a 400.

Check a hand-edited config

Confirm a settings file still parses before you deploy.

Review a data export

See the depth and value counts of an export you were handed.

Learn JSON rules

Paste examples and read exactly why each one is accepted or rejected.

Compare

Mediaextractr vs typical upload tools

MediaextractrPrivateTypical upload tools
Your file is uploadedNeverYes
Sign-up neededNoOften, after a few files
Daily file limitNoneOften 1–2 free files
WatermarkNeverSometimes
Wait for upload & downloadNoYes
Speed on very large filesDepends on your deviceDepends on their servers

What counts as valid JSON

JSON allows objects, arrays, strings, numbers, true, false and null. Strings and keys use double quotes. There are no comments, no trailing commas and no undefined or NaN values.

A file can also be valid and still cause trouble. That is why the report adds warnings, for example a repeated key or an integer too large for JavaScript.

After you fix the error

Run the check again until you see Valid JSON. Then pick what comes next:

Common causes of invalid JSON

Most failures come from copy and paste. A log viewer may add a prefix before the opening brace, a spreadsheet may turn quotes into curly ones, and JavaScript object literals often use single quotes or unquoted keys. Remove the extra text, switch to straight double quotes, then run the check again.

FAQ

Questions, answered

Is it safe to check JSON that contains secrets?

Yes. The parser runs locally in your browser tab, and the text is not posted anywhere, so credentials in a config file are not exposed.

What does 'line 3, column 14' mean?

It is the position of the first character the parser could not accept. The code excerpt puts a caret under that column.

Why is a trailing comma an error?

The JSON standard does not allow it. JavaScript and some config formats do, which is why it often slips in.

Can it validate JSON against a schema?

Not here. Use the JSON schema validator, which accepts the data and a schema and lists every mismatch.

Is the tool free and limit-free?

Yes. No account, no watermark and no daily limit.

Does the validator work in any browser?

It runs in current versions of Safari, Chrome, Edge and Firefox on desktop, Android and iOS. No extension or install is needed.