JsonDrift toolkit
Free online JSON tools
JsonDrift is a complete, privacy-first JSON toolkit — 58 free tools to edit, format, validate, repair, compare, convert, and schema-check JSON without uploading data to a server. Every utility runs in your browser: paste an API response, fix LLM output, flatten nested logs, convert YAML or XML, generate TypeScript types, or validate JSONL datasets. No sign-up, no rate limits, built for backend engineers, frontend developers, data engineers, and anyone who works with JSON daily.
Showing 58 of 58 tools
Format (11)
- JSON Editor
Write, edit, format, minify, and validate JSON in a fast full-screen or embedded editor.
- JSON Formatter & Beautifier
Format, prettify, and beautify messy JSON with configurable indentation and key sorting.
- JSON Minifier
Compress JSON by removing whitespace to shrink payloads and speed up transfers.
- JSON Viewer & Tree Explorer
Explore JSON with an interactive collapsible tree view.
- JSON Flattener
Flatten nested JSON into a single-level object with dot or underscore keys.
- JSON Escape & Unescape
Escape or unescape strings for code, logs, and API payloads.
- JSON Merge Tool
Deep-merge two JSON objects — nested keys combine, arrays and scalars override.
- JSON Unflatten
Restore nested JSON from flat dot- or underscore-keyed objects.
- JSON Path Extractor
Query JSON with dot paths and bracket indices — extract values at any key path.
- JSON Key Sorter
Sort object keys alphabetically — recursively for stable, readable JSON.
- JSON Pick & Omit Keys
Select or remove top-level keys from a JSON object — whitelist or blacklist fields.
Validate (6)
- JSON Validator
Validate JSON instantly with precise, human-readable error messages and line numbers.
- JSON Repair & Fix
Fix invalid JSON: trailing commas, quotes, unquoted keys, and LLM markdown fences.
- JSONL Validator & Formatter
Validate and format JSON Lines — one JSON object per line.
- JWT Decoder
Decode JWT header and payload — inspect claims without verifying signatures.
- JSON Analyzer & Parser
Analyze JSON structure — depth, key counts, types, and top-level fields at a glance.
- JSON5 Validator & Converter
Validate JSON5 with comments and unquoted keys, then convert to strict JSON.
Convert (17)
- JSON to CSV Converter
Convert JSON arrays and nested objects into clean, flattened CSV ready for spreadsheets.
- CSV to JSON Converter
Turn CSV and spreadsheet data into structured JSON arrays.
- JSON to YAML Converter
Convert JSON to YAML for configs, Kubernetes, and CI pipelines.
- YAML to JSON Converter
Convert YAML configs and manifests into structured JSON.
- JSON to XML Converter
Transform JSON objects into XML documents with a custom root element.
- XML to JSON Converter
Parse XML documents into clean, structured JSON.
- JSON Base64 Encode & Decode
Encode text or JSON to Base64 and decode Base64 back to readable text.
- TOML to JSON Converter
Parse TOML config files into structured JSON for APIs and tooling.
- JSON to TOML Converter
Convert JSON objects to TOML for pyproject.toml, Cargo, and config files.
- JSON to JSONL Converter
Convert a JSON array into newline-delimited JSON (JSONL / NDJSON) for logs and ML pipelines.
- JSONL to JSON Array Converter
Combine JSON Lines into a single JSON array — one object per line to structured array.
- Query String to JSON
Parse URL query strings into structured JSON objects.
- JSON to Query String
Serialize JSON objects into URL-encoded query strings for APIs and links.
- URL Encode & Decode
Percent-encode or decode text for URLs, query params, and API payloads.
- JSON to SQL Converter
Turn a JSON array of objects into CREATE TABLE and INSERT statements.
- JSON to Markdown Table
Convert a JSON array of objects into a GitHub-Flavored Markdown table.
- JSON to HTML Table
Convert a JSON array of objects into a clean, escaped HTML table.
Compare (4)
- JSON Patch Generator
Generate RFC 6902 JSON Patch or RFC 7396 merge patch between two JSON documents.
- JSON Compare & Diff
Compare two or more JSON files and spot structural and value differences instantly.
- JSON Patch Applier
Apply an RFC 6902 JSON Patch or RFC 7396 Merge Patch to a document and get the result.
- JSON 3-Way Merge
Merge two edited JSON versions against a common base and resolve conflicts.
Schema (2)
Generate (12)
- JSON to TypeScript Types
Generate TypeScript interfaces and types from any JSON sample.
- JSON to Python Converter
Generate Python dict literals or dataclass-style structures from JSON samples.
- JSON to Go Struct Generator
Infer Go struct definitions with JSON field tags from example JSON.
- Random JSON Generator
Generate random nested JSON for tests, mocks, and schema prototyping.
- JSON to Java Class Generator
Generate Java classes with Jackson annotations from JSON samples.
- JSON to C# Class Generator
Generate C# classes with JsonProperty attributes from JSON examples.
- JSON to Zod Schema Generator
Generate Zod schemas and inferred TypeScript types from JSON samples.
- JSON to Rust Struct Generator
Generate Rust serde structs with rename attributes from JSON samples.
- JSON to Swift Codable Generator
Generate Swift Codable structs with CodingKeys from JSON samples.
- JSON to Kotlin Data Class Generator
Generate Kotlin data classes with @SerializedName from JSON samples.
- JSON to PHP Array Converter
Convert JSON to a PHP array literal with short array syntax.
- JSON to Ruby Hash Converter
Convert JSON to a Ruby hash literal with the hash-rocket syntax.
AI (6)
- AI JSON Repair
Fix broken LLM JSON — fences, truncation, unquoted keys, and JS literals. Rule-based today.
- AI JSON Schema Enforcer
Auto-fix JSON to match a schema — coerce types, drop extras, fill required fields.
- AI JSON Explainer
Human-readable summary of JSON structure and field meanings from naming patterns.
- AI JSON Cleaner
Smart cleanup — remove nulls, empty strings, trim whitespace, drop empty objects.
- AI JSON Redactor
Mask passwords, API keys, PII, and secrets before pasting JSON into an LLM.
- AI JSON Token Counter
Estimate the LLM token count of a JSON payload for context budgeting.
The toolkit
Free Online JSON Tools for Developers
A complete, privacy-first JSON toolkit — format, validate, convert, compare, and generate schemas, all running locally in your browser.
Why use JsonDrift JSON tools?
JSON is the default format for REST APIs, configuration files, log events, LLM structured outputs, and cloud-native manifests. You need fast, trustworthy utilities that do not exfiltrate production payloads. JsonDrift processes everything client-side so configs, customer records, and internal API samples stay on your machine.
Unlike ad-heavy tool farms, JsonDrift is developer-first: clear validation errors with line numbers, sensible defaults, schema tooling, and a consistent UI across every tool.
Format & edit JSON
Start with the JSON Editor for live editing, or use the Formatter to pretty-print minified JSON with 2-space, 4-space, or tab indentation. The Minifier compresses payloads for APIs and CDN assets. The Viewer exposes an interactive tree for exploring deep structures. Flatten nested objects for analytics, and Escape/Unescape strings when embedding JSON in code or logs.
- JSON Editor — write, format, minify, validate in one workspace
- JSON Formatter & Beautifier — pretty-print with optional key sorting
- JSON Minifier — remove whitespace for smaller payloads
- JSON Viewer — collapsible tree explorer
- JSON Flattener — dot or underscore flat keys
- JSON Escape & Unescape — safe strings for code and APIs
Validate & repair JSON
Syntax validation catches trailing commas, unquoted keys, and broken strings before deploy. JSON Repair applies heuristics for common LLM and hand-edit mistakes — markdown fences, single quotes, trailing commas. JSONL Validator checks newline-delimited JSON line by line for logs and ML datasets. JSON Schema Validator asserts types, required fields, and enums beyond mere syntax.
- JSON Validator — instant syntax check with line/column errors
- JSON Repair — fix invalid JSON from LLMs and configs
- JSONL Validator & Formatter — one JSON object per line
- JSON Schema Validator — validate against a schema document
Convert between formats
Move data between JSON and the formats your stack uses: CSV for spreadsheets, YAML for Kubernetes and CI, XML for legacy integrations, TypeScript for type-safe frontends. Round-trip CSV ↔ JSON for analyst workflows without Python scripts.
- JSON ↔ CSV — spreadsheets and APIs
- JSON ↔ YAML — configs and manifests
- JSON ↔ XML — legacy and enterprise systems
- JSON to TypeScript — generate interfaces from samples
Compare, diff, and schema tools
Compare two or more JSON documents in structural or data mode — ideal for API regression and config drift. Generate JSON Schema from golden samples, then validate production payloads against the same contract in CI or during incident response.
- JSON Compare & Diff — multi-file structural and value diffs
- JSON Schema Generator — infer schema from example JSON
- JSON Schema Validator — path-level schema errors
Privacy and performance
JsonDrift never uploads your JSON. Tools run locally in the browser with no account required. That makes the platform suitable for on-call debugging, security reviews, and editing production configs when cloud paste tools are not allowed.
FAQ
Frequently asked questions
Are JsonDrift tools free?
Yes. All tools are free with no sign-up. Processing happens in your browser.
Is my JSON uploaded to a server?
No. JsonDrift does not send your data to any server for formatting, validation, or conversion.
Which JSON tool should I use first?
Use the Validator for syntax checks, the Formatter to read messy JSON, the Repair tool for LLM output, and Compare for diffs. The Editor is best for sustained editing.
Can I use these tools for ChatGPT or LLM JSON?
Yes. Use Repair, Validator, and Schema Validator to gate model output before production.
Do tools work on mobile?
Yes. The UI is responsive; large files may be slower on low-memory devices.
Is there an API?
Tools are browser-based today. API access is on the JsonDrift roadmap.
Looking for guides? Visit the JSON Drift blog or start with the JSON editor.