The complete JSON toolkit, right in your browser
Format, validate, repair, compare, and convert JSON with 58 fast, privacy-first tools. No uploads, no sign-up — your data never leaves your machine.
{ "name": "JSON Drift", "alias": "", "version": 2, "tags": [ "json", "tools" ], "meta": { "stars": 1280, "note": null }}- browser tools
- 58browser tools
- client-side
- 100%client-side
- files uploaded
- 0files uploaded
- in-depth guides
- 41in-depth guides
Toolkit
Popular JSON tools
The utilities developers reach for most.
JSON Formatter & Beautifier
Format, prettify, and beautify messy JSON with configurable indentation and key sorting.
jsondrift.com/json-formatterJSON Validator
Validate JSON instantly with precise, human-readable error messages and line numbers.
jsondrift.com/json-validatorJSON Repair & Fix
Fix invalid JSON: trailing commas, quotes, unquoted keys, and LLM markdown fences.
jsondrift.com/json-repairJSON Compare & Diff
Compare two or more JSON files and spot structural and value differences instantly.
jsondrift.com/compareJSON to CSV Converter
Convert JSON arrays and nested objects into clean, flattened CSV ready for spreadsheets.
jsondrift.com/json-to-csvJSON to YAML Converter
Convert JSON to YAML for configs, Kubernetes, and CI pipelines.
jsondrift.com/json-to-yamlJSON Viewer & Tree Explorer
Explore JSON with an interactive collapsible tree view.
jsondrift.com/json-viewerJSON to TypeScript Types
Generate TypeScript interfaces and types from any JSON sample.
jsondrift.com/json-to-typescript
Why JSON Drift
Built for developers who care about their data
Everything runs in your browser
Parsing, formatting, validation, and conversion all happen locally. Your JSON is never uploaded to a server — safe for production configs, tokens, and customer data.
Convert anything
Round-trip JSON to the formats your stack already speaks.
Instant & offline
No round trips, no rate limits. Results as you type — even for large files.
58 tools, one home
Format, validate, repair, compare, convert, and generate types & schemas.
Free, no sign-up
Every tool is free — no account, no ads fighting for attention, no usage caps.
Categories
Browse tools by category
58 tools across 7 categories.
- Format11
Beautify, minify, view, flatten, and tidy JSON.
EditorFormatterMinifier+8 more - Validate6
Catch syntax errors and repair broken JSON.
ValidatorJSON RepairJSONL+3 more - Convert17
Move between JSON, CSV, YAML, XML, and TOML.
JSON → CSVCSV → JSONJSON → YAML+14 more - Compare4
Diff two files and generate JSON patches.
JSON PatchCompareApply Patch+1 more - Schema2
Generate and validate against JSON Schema.
Schema GeneratorSchema Validator - Generate12
Create TypeScript, Go, Python, Java, and C# types.
JSON → TypesJSON → PythonJSON → Go+9 more - AI6
Repair, clean, and explain messy LLM JSON.
AI JSON RepairAI Schema EnforcerAI Explainer+3 more
Workflow
How it works
No accounts, no installs — three steps from messy to clean.
01Paste your JSON
Drop in an API response, config file, or LLM output. It stays on your device.
02Pick a tool
Format, validate, convert, compare, or generate types — with live results as you type.
03Copy or download
Grab the clean result to your clipboard or save it as a file. No sign-up required.
Learn
JSON guides & tutorials
Practical, in-depth articles from the JSON Drift blog.
- Guides9 min
JSON Patch vs JSON Merge Patch: Update JSON the Right Way
Two standards for partial JSON updates compared: JSON Patch (RFC 6902) operations and JSON Pointer, JSON Merge Patch (RFC 7386) semantics, the null trap, array handling, and when to use each with HTTP PATCH.
Read guide - Conversion7 min
How to Convert JSON to YAML (and Back) Correctly
A guide to converting between JSON and YAML: how the data models map, multi-line strings and anchors, the gotchas that bite, and how to convert both directions without corrupting your config.
Read guide - AI10 min
How to Get Reliable JSON from LLMs: Structured Outputs & Schemas
Stop fighting malformed model output. Learn why LLMs produce broken JSON, the reliability ladder from prompting to constrained decoding, how native structured outputs work in 2026, and how to validate and repair the rest.
Read guide - Data Formats7 min
JSON5 vs JSONC vs JSON: Comments and Trailing Commas
Understand the JSON supersets: what JSONC and JSON5 add over standard JSON, when to use each, the tooling that supports them, and how to convert them back to strict JSON.
Read guide - Querying9 min
JSONPath Syntax: Query and Filter JSON (with Examples)
Master JSONPath, the query language for JSON standardized in RFC 9535. Learn root, wildcard, recursive descent, array slices, filter expressions, and functions, with practical examples and tool tips.
Read guide - Comparison9 min
JSON vs YAML vs TOML: Choosing a Config Format
A practical comparison of JSON, YAML, and TOML for configuration: readability, type safety, comments, the YAML gotchas, and a simple rule for picking the right format for your project.
Read guide
The toolkit
The developer-first JSON toolkit
JSON Drift is a free, privacy-first collection of 58 browser-based JSON tools. Format and beautify messy API responses, validate and repair broken JSON, compare two files, convert to and from CSV, YAML, XML, and TOML, generate TypeScript, Go, Python, Java, and C# types, and infer or validate JSON Schema — all without creating an account or uploading a single byte. Every tool runs entirely in your browser, so production configs, customer records, and internal API payloads never leave your machine.
Everything runs in your browser
Most online JSON tools send whatever you paste to a server. JSON Drift does not. Parsing, formatting, validation, conversion, and diffing all happen locally with JavaScript, which means you can safely work with secrets, tokens, and unreleased data — even on machines where copy-paste to cloud tools is blocked by policy.
Because there is no round trip to a backend, results are instant. Paste a 2 MB log file or a deeply nested config and the formatter, viewer, and analyzer respond immediately, with no rate limits and no queue.
Format, validate, and repair JSON
Start with the JSON Formatter to pretty-print minified or hand-mangled JSON with 2-space, 4-space, or tab indentation and optional key sorting. The JSON Validator pinpoints syntax errors with line and column numbers so you can fix a trailing comma or unclosed bracket in seconds. When JSON is genuinely broken — the classic case being output from an LLM wrapped in markdown fences or using single quotes — the JSON Repair tool applies targeted heuristics to recover valid JSON.
- JSON Formatter & Beautifier — readable, consistently indented JSON
- JSON Validator — instant syntax checks with precise error locations
- JSON Repair — fix trailing commas, quotes, and LLM markdown fences
- JSON Viewer — explore large payloads in a collapsible tree
Convert between JSON and the formats you actually use
Data rarely stays in one format. JSON Drift converts JSON to CSV for spreadsheets, to YAML for Kubernetes and CI pipelines, to XML for legacy integrations, and to TOML for Rust and Python config files — and back again. Code-generation tools turn a single JSON sample into TypeScript interfaces, Go structs, Python classes, Java POJOs, or C# models so you can stop hand-typing types.
- JSON ↔ CSV, YAML, XML, and TOML converters
- JSON to TypeScript, Go, Python, Java, and C# type generators
- JSONL / NDJSON tools for logs and machine-learning datasets
- Base64, query-string, and URL encode/decode helpers
Compare, diff, and enforce schemas
The JSON Compare tool highlights structural and value differences between two or more documents — ideal for catching API regressions or config drift between environments. Generate a JSON Schema from a known-good sample, then validate incoming payloads against that contract in review or during an incident. RFC 6902 patch generation captures the exact operations needed to turn one document into another.
Built for real developer workflows
JSON Drift is designed for backend and frontend engineers, data engineers, and anyone debugging APIs at 2 a.m. There are no ads competing for attention, no sign-up wall, and a consistent interface across every tool. Pair the tools with the JSON Drift blog for practical guides on parsing JSON in Python and JavaScript, comparing JSON files, decoding JWTs, and getting reliable structured output from LLMs.
FAQ
Frequently asked questions
Everything you need to know about JSON Drift.
Is JSON Drift free to use?
Yes. Every tool on JSON Drift is completely free, with no sign-up, no account, and no usage limits.
Is my JSON data private?
Yes. All processing happens locally in your browser. Your JSON is never uploaded to a server, which makes JSON Drift safe for production configs, tokens, and sensitive data.
Do I need to install anything?
No. JSON Drift runs entirely in the browser on desktop and mobile. There is nothing to download or install.
What can I do with JSON Drift?
Format, validate, minify, repair, and view JSON; compare and diff files; convert between JSON, CSV, YAML, XML, and TOML; generate TypeScript, Go, Python, Java, and C# types; and generate or validate JSON Schema — among other tools.
Can it fix broken JSON from ChatGPT or other LLMs?
Yes. The JSON Repair and AI JSON Repair tools handle common LLM issues like markdown code fences, single quotes, trailing commas, and truncated output.
Does it work with large JSON files?
Yes. Because everything runs client-side with no upload step, large files are handled quickly, limited only by your device's available memory.