JSON tools
Free online JSON tools: format and validate JSON, test JSONPath queries, generate JSON Schema, repair broken LLM output, and convert CSV to JSON or JSONL — all in your browser.
One format, six focused tools
JSON is the default language of the web: every REST API, configuration file, log pipeline and LLM response speaks it. Working with it daily means four recurring problems — output that will not parse, documents too dense to read, values buried deep inside unfamiliar structures, and data that needs a schema or a different shape. This page gathers every ToolAcorn JSON tool in one place, so the fix is always one click away.
The JSON Formatter pretty-prints, minifies and validates, pinpointing the exact line and column of syntax errors. The JSONPath Tester evaluates queries like $.store.book[?(@.price<10)].title against your document with live results — wildcards, slices, filters and recursive descent included. The JSON Schema Generator infers a draft-07 schema from any sample, with required fields, enums and format detection. And because machine-generated JSON is often broken, the LLM JSON Repair tool salvages output from ChatGPT, Claude and friends: trailing commas, single quotes, markdown fences and truncated payloads are repaired automatically.
Round-tripping tabular data is covered too: the CSV ↔ JSON Converter converts in both directions with type inference, while CSV to JSONL produces the line-delimited format that fine-tuning pipelines and vector databases expect.
Every tool runs entirely in your browser. API responses, customer records and unpublished payloads are processed on your machine and never transmitted — you can verify it in your network inspector.
When you need these tools
Machine-written JSON is where these earn their keep: an LLM answer wrapped in markdown fences, a config file copied out of a README that will not parse, a 40 MB API export you need to query before it goes anywhere near production. They are also the safe route for data you cannot paste into an unknown web app — a customer export, a payload with user data, a config derived from real secrets — because everything stays inside your tab.
A typical workflow
- Paste the broken payload into LLM JSON Repair; it strips fences, trailing commas and single quotes in one pass.
- Confirm the result in the JSON Formatter — if anything is still off, its error message points at the exact line and column.
- Use the JSONPath Tester to pull the three fields you actually need out of a 10,000-object array.
- If the data feeds another system, generate a draft-07 schema with the JSON Schema Generator so the shape is enforced from now on.
How they work together
The converters bridge to spreadsheets: the CSV ↔ JSON Converter for ordinary tables, CSV to JSONL when the destination is a fine-tuning job or a vector database. Outside ToolAcorn, the formatter's output drops cleanly into jq, Python's json module or the devtools JSON viewer, and the generated schemas validate with Ajv or jsonschema — usage snippets for both are on the schema tool's page.
Which JSON tool do you need?
My JSON will not parse — which tool fixes it?
Start with the JSON Repair tool: it fixes the trailing commas, unquoted keys and markdown fences that break machine-generated JSON. If the input is valid but you are hunting a syntax error elsewhere, the JSON Formatter reports the exact line and column.
I just need to read a wall of minified JSON
Use the JSON Formatter — paste, pretty-print with 2 or 4 spaces, optionally sort keys, then copy the result.
I need specific values out of a large document
The JSONPath Tester extracts them: write a query like $.users[*].email and see the matches highlighted live.
I want to validate data or document an API
Generate a JSON Schema from sample data, then validate against it in your code with Ajv or Python's jsonschema — usage snippets for both are on the tool page.
I have spreadsheet data that must become JSON
The CSV ↔ JSON Converter turns rows into objects in both directions; for LLM fine-tuning or vector-database imports use CSV to JSONL instead.