JSON Lint โ€” Validate JSON & Find Errors

A free edge API by formatho.com, privacy-first developer tools.

Open the full browser tool →

Free, no signup, runs entirely in your browser — your data never leaves your device.

๐Ÿ”“ Free๐Ÿ”’ Zero tracking๐Ÿšซ No data collectionโšก Edge-fast

Usage โ€” catch a trailing comma with its exact position

curl "https://json-lint-formatho.filesformatho.workers.dev/api?json=%7B%22a%22%3A%201%2C%7D"

Returns valid: false with {"line":1,"column":9,"message":"Trailing comma before '}'"} โ€” plus the offending context.

Usage โ€” duplicate key detection

curl -X POST "https://json-lint-formatho.filesformatho.workers.dev/api" -d '{"id": 1, "name": "a", "name": "b"}'

Strict JSON.parse accepts this (last key silently wins) โ€” the linter flags $.name as a duplicate with both line numbers.

What it checks

Full parameter reference: /api endpoint.

Privacy-first: linting runs in-memory at the edge; nothing you send is logged or stored.

Full browser tool

Lint JSON entirely client-side: JSON Lint on formatho.com.

All Formatho edge APIs

Browse every free Formatho Worker tool on the Formatho Tools index.