
Ferramentas / Build suite
Validate, repair, explore and reshape JSON in one place, then take it away as a schema, TypeScript types or CSV.
Paste JSON and learn what is wrong with it, down to the line and column. Repair the usual mistakes with a visible list of every change. Then query it, browse it as a tree or a table, infer a schema, flatten it for a spreadsheet or a config file, and export. Everything runs in your browser. Nothing is uploaded or saved.

What is inside
The scanner follows the JSON grammar and reports the line and column, what it expected, and the line with a marker under the problem.
One button fixes trailing commas, single quotes, unquoted keys, Python True, False and None, and comments. It tells you exactly what it changed, for example "2 trailing commas removed", and asks you to check the result. It never changes the data silently.
Most parsers keep the last value and drop the rest without a word. The studio lists each duplicated key and its path before you rely on the data.
Two spaces, four spaces or tabs. Sort keys at every depth. Escape a document into a JSON string and unescape it back, handy for payloads stored inside other payloads.
Use $.users[?(@.logins > 10)].name, slices like [0:2], negative indexes, wildcards, recursive ..key and filters with and, or and comparisons. No code is evaluated. Plain paths such as users[0].name also work.
Click a tree node to query it. Arrays of objects become a sortable, filterable table with CSV export. Infer a JSON Schema or TypeScript types, or read counts of keys, depth and value types.
Turn nested JSON into one level of path keys and back. Keys that contain dots or brackets are escaped so the round trip is exact. We test 1,500 random documents with awkward keys. If two paths would collide, flatten stops and says which.
Values that start with = + - or @ get a leading apostrophe by default so a spreadsheet does not run them as formulas. Switch it off if you need raw values.
Worked example
Click Sample. It holds three users, some with optional fields, plus a meta object. Here is what each view tells you.
| View | What you do | What you see |
|---|---|---|
| Query | $.users[?(@.logins > 10)].name | Ada and Grace. Linus has 3 logins. |
| Query | $..logins | 41, 17 and 3, found at any depth. |
| Table | Click the logins header | Linus first, then Grace, then Ada. Filter "ada" leaves 1 of 3 rows. |
| Schema | Open the schema tab | name, role and logins are required. email and tags are optional because not every user has them. logins is an integer. |
| TypeScript | Same tab | email?: string and tags?: string[] on the user type. |
Repairing broken JSON
| Problem | What the repair does |
|---|---|
| Trailing comma | Removed. |
| Single-quoted strings | Converted to double quotes. |
| Unquoted keys | Quoted. |
| True, False, None | Changed to true, false, null. |
| // and /* */ comments | Removed. |
| Missing brackets, truncated text, anything else | Not guessed. You get the line and column instead. |
Repair makes the text valid. It cannot know what you meant, so read the change list before you use the result.
How to use it
Step 1
Paste JSON or open a file. The status line says Valid, or gives the line and column of the first problem.
Step 2
If it is invalid and the cause is a common one, press Repair and read the list of changes.
Step 3
Use Query or Tree to find the value you need. Click a tree node to get its path.
Step 4
For a list of records, open Table, sort and filter, then copy or download CSV.
Step 5
Generate a schema or TypeScript types, or flatten the document for a flat config.
What it cannot do
It covers the common JSONPath features listed above. It does not support script expressions, unions like [0,2], or functions. Different JSONPath tools disagree on edge cases, so check results that matter.
A schema inferred from one sample describes that sample. It cannot know a field is an enum, or that a string is a date. Review it before you enforce it.
Numbers such as 12345678901234567890 or 0.12345678901234567 are kept exactly as written in the tree, table, query, schema, CSV and every format operation, and a line under the status says how many there are. A query like @.id==12345678901234567890 compares the full digits, and the schema calls a long whole number an integer. Exponents longer than 9 digits and numbers longer than 10,000 digits are the limit: for those inputs the tool shows the limit instead of views, query and CSV, and leaves your input unchanged, so nothing is rounded.
After a duplicate, the last value wins, as in every browser parser. The warning is there so you can fix the source.
A 2 MB array of 30,000 objects loaded in about half a second in our test. The tree shows the first 200 children of each node and the table draws the first 500 rows, with a note when it cuts. CSV export has all rows.
It infers a schema. It does not check a document against one you supply.
What it does
Free JSON formatter, validator and repair tool: line and column errors, visible auto-repair, JSONPath-style query, tree and table views, sort and filter, schema and TypeScript inference, flatten and unflatten, CSV export. It runs in your browser.
| Function | What it does here |
|---|---|
| Validate with a location | Line, column and marker |
| Fix common errors | Yes, with a list of every change |
| Other formats (XML, YAML, and more) | No, JSON only |
| Sharing | No link, no upload |
Their FAQ says data saved without a login becomes public. Here nothing is saved or shared.
Reading the result
"Valid JSON" with the size in bytes, or the error with its line and column. When it is not valid, the repair row lists every change it would make before you accept any of them.
Tree shows the structure. Query shows "N results" for your path. Table lays an array of objects out in columns. Schema and Stats describe what is in the data you pasted.
It describes the sample you pasted, not every document your system may produce. A field missing in the sample will be missing from the schema.
The CSV is built from the rows and columns of the Table tab. The box "Protect CSV from spreadsheet formulas" is ticked by default, so a cell that starts with =, +, - or @ gets a leading apostrophe and a spreadsheet will not run it as a formula. That changes the cell text. Untick the box if you need the raw values. Nothing is saved or sent.
Common mistakes
Pressing Repair on {a:1,'b':True,c:None,d:[1,2,],} fixes it, and the note lists what changed: trailing commas, single quotes, unquoted keys, Python values, comments. A repair makes the text valid, not correct. Check the list against what you meant.
{"a":1,"a":2} is valid JSON, and parsers keep the last value. The tool names each duplicated key and its path so the first value is not lost without notice.
12345678901234567890 stays exact in every view and export, so you can query and export it as a number. Past the stated limits (exponents over 9 digits, numbers over 10,000 digits) the tool shows the limit and produces no views or exports, so nothing is rounded.
Paths like $.a[0].b, $.a[*].b, $..b, $.a[-1], $.a[0:1] and filters such as $.a[?(@.b>1)] work. A form it does not support, such as $.a[b=2], gives an error naming the position instead of an empty result.
A value starting with =, +, - or @ can run as a formula when the CSV is opened in a spreadsheet. The Protect CSV from spreadsheet formulas box is on by default and prefixes such values with an apostrophe. Turn it off only for data you trust.
The schema and TypeScript types come from the values in this one document. A field that is always present here may be optional elsewhere. Review them before you rely on them.
Questions
No. Parsing, repair, queries and exports run in your browser tab. Opening a file reads it locally.
No. Close the tab and it is gone.
Because an automatic fix can change meaning. You should see every change.
Two different paths would produce the same key, so one value would overwrite another. The tool stops and names them.
Yes. users[0].name works as well as $.users[0].name.
Nothing. No account.
Your data
The tool runs in this browser tab. It does not need a server to do its job. The JSON you paste stays in the page. Nothing is copied, downloaded or shared unless you press the button for it.
Keep going
Input To Output
Pipeline
Bar Compare
Support Matrix
Before After
Before After
Before After
Before After
Before After
Before After
Input To Output
Pipeline
Bar Compare
Before After
Before After
Input To Output
Input To Output
Pipeline
Authored Tiles