{}JSON FYI

JSON Validator & Linter

Free · No signup · Runs locally4.8 · 142 ratings

Paste JSON for instant validation with precise line/column errors, lint warnings, formatting, minification, and a tree explorer. Runs entirely in your browser.

Ready when you are.

Paste JSON on the left, or click Sample to try a quick example. Validation runs as you type — entirely in your browser.

EmptyType: Nodes: 0Depth: 0Size: 0 B
Precise errors

Parse failures include line and column with a hint and a code snippet so you fix issues in seconds.

Lint rules

Catches trailing commas, duplicate keys, comments and unquoted identifiers — the most common JSON mistakes.

Beautify & minify

Format with 2/4 spaces or tabs, optionally sort keys. Minify to one line for transport.

Tree explorer

Collapsible viewer with type badges. Click any node to copy its JSONPath ($.users[0].email).

100% private

All processing happens in your browser. Nothing uploaded, no logging, works offline after first load.

Keyboard friendly

⌘B beautify, ⌘M minify, Tab to indent. Drag-and-drop files or upload from disk.

Examples

Catch a missing comma
Input
{
  "name": "Ada"
  "role": "engineer"
}
Output
Error · line 3, col 3
Expected ',' or '}' after value

The validator reports the first invalid token with line, column, and a hint.

Beautify a single-line payload
Input
{"users":[{"id":1,"name":"Ada"},{"id":2,"name":"Linus"}]}
Output
{
  "users": [
    { "id": 1, "name": "Ada" },
    { "id": 2, "name": "Linus" }
  ]
}
Minify for transport
Input
{
  "ok": true,
  "items": [1, 2, 3]
}
Output
{"ok":true,"items":[1,2,3]}

From 38 bytes to 26 bytes — 32% smaller before gzip.

Use cases

Frequently asked questions

Is my JSON sent to a server?+

No. JSON FYI runs 100% in your browser. Nothing is uploaded — you can use it offline once the page is loaded.

What does the validator check?+

It enforces the JSON specification (RFC 8259): proper quoting, valid escapes, no trailing commas, no comments, balanced brackets, valid numbers, and a single root value. Errors include the exact line and column.

What lint warnings does it surface?+

Trailing commas, duplicate object keys, JavaScript-style comments, and unquoted identifiers like True/None — all common mistakes when copying from JS or Python literals.

How big a file can I validate?+

Anything your browser can hold in memory — typically tens of megabytes. Very large documents may slow the tree view; the validator and formatter remain fast.

Does it support JSON5 or JSONC?+

No. JSON FYI follows strict JSON. Comments, trailing commas, and unquoted keys are flagged so your data stays interoperable.

Is it free?+

Yes — completely free, no signup, no ads tracking your data.

Related tools & guides