The last JSON tool you will ever need.
Format, validate, convert and diff JSON. Instant, accurate and 100% private — every byte stays in your browser, never on a server.
✓No upload · No data sent · Works offline after first visit
Live JSON formatter — validate, inspect & explore.
Paste any JSON or pick a real-world sample. Instantly get syntax highlighting, type distribution, structure shape, and click any line to copy its JSONPath. Zero uploads — runs entirely in your browser.
Your complete JSON toolkit
Format, validate, diff, convert formats, generate typed code, and more — 83+ tools, all free, all browser-side, zero uploads.
JSON Tools
10JSON Formatter
Beautify and format JSON with configurable indentation and syntax highlighting.
JSON Validator
Catch syntax errors instantly with exact line and column numbers.
JSON Minifier
Strip whitespace and compress JSON — see exact bytes saved.
JSON Diff
Compare two JSON objects side-by-side and highlight every change.
JSON Fixer
Fix broken JSON — trailing commas, single quotes, and comment syntax.
JSONPath Tester
Test JSONPath expressions against live JSON and see all matching nodes.
Converters
10JSON to CSV
Export JSON arrays to spreadsheet-ready CSV with one click.
CSV to JSON
Import CSV files and convert to JSON arrays with auto-detected headers.
JSON to YAML
Convert JSON to human-readable YAML config format, bidirectional.
YAML to JSON
Convert YAML configuration files to JSON objects instantly.
JSON to XML
Generate well-formed XML with a configurable root tag.
XML to JSON
Parse XML documents and convert them to clean JSON objects.
Code Generators
17JSON to TypeScript
Auto-generate TypeScript interfaces from any JSON structure.
JSON to Go Struct
Generate Go structs with proper json tags from any JSON object.
JSON to Python Class
Generate @dataclass, TypedDict, or Pydantic v2 classes from JSON.
JSON to Java POJO
Generate Java POJO classes with Jackson or Lombok @Data annotations.
JSON to C# Class
Generate C# classes for System.Text.Json or Newtonsoft.Json.
JSON to Kotlin
Generate Kotlin data classes with @JsonProperty annotations.
Dev Tools
27JWT Decoder
Decode JWT tokens, inspect claims, and check expiry instantly.
Base64 Encoder / Decoder
Encode or decode Base64 — Standard, URL-safe, and Raw variants.
Hash Generator
Generate SHA-256, SHA-512, SHA-1 hashes and HMAC signatures.
URL Encoder / Decoder
Encode or decode URLs — query, path, and form-encoded values.
cURL to Code
Convert cURL commands to Go, Python, JavaScript, PHP, and Ruby.
ENV ↔ JSON
Convert .env files to JSON objects and back with full fidelity.
Formatters & Preview
12SQL Formatter & Minifier
Beautify or minify SQL with clause line-breaks and configurable keyword casing.
HTML Formatter & Minifier
Beautify or minify HTML with clean indentation and bytes-saved reporting.
CSS Formatter & Minifier
Beautify or minify CSS and see exactly how many bytes you saved.
JavaScript Formatter & Minifier
Beautify JS/TS or minify with terser and see the bytes saved.
Markdown Preview
Live GitHub-flavored Markdown preview with tables, task lists and code blocks.
Mermaid Diagram Preview
Render Mermaid flowcharts, sequence and ER diagrams — export SVG or PNG.
AI Tools
7AI JSON Assistant
Fix, explain, convert & generate JSON, schema, mock data, queries and regex with AI.
AI Regex Generator & Explainer
Generate a regex from plain English, or paste a regex to have it explained.
AI SQL Generator
Turn a plain-English request into SQL for Postgres, MySQL, SQLite or SQL Server.
AI Mock Data Generator
Generate a realistic JSON array of test data from a description.
AI Cron Generator
Convert a plain-English schedule into a cron expression with an explanation.
AI JSON Query Generator
Describe what to extract in plain English — get a jq filter and JSONPath expression.
JSON examples for AI & LLM engineering
Copy-ready request & response shapes for OpenAI, Anthropic Claude, embeddings, RAG, agents, function calling, MCP and more — every field documented, one click to open in a tool.
OpenAI Chat Completion Response
OpenAI Chat Completions API response with choices, message, finish_reason, and usage.
View exampleAnthropic Claude Messages Response
Claude Messages API response with content blocks, stop_reason, and token usage.
View exampleLLM Tool / Function Call
Function-calling JSON: a tool definition plus the model's tool_call with arguments.
View exampleEmbedding Vector Response
Embeddings API response with the vector array, model, and usage.
View exampleRAG Document Chunk
A RAG chunk with text, source metadata, embedding reference, and relevance score.
View exampleChat Conversation History
Ordered messages array with system, user, and assistant roles for LLM chats.
View exampleAI Agent Run Trace
Agent run with goal, reasoning steps, tool calls, observations, and final output.
View exampleMCP Message (Model Context Protocol)
Model Context Protocol (MCP) JSON-RPC 2.0 message: tools/list and tools/call.
View exampleTake JSONKit into your browser
Auto-formats any JSON API response into a tree, diffs two documents, decodes JWTs, and captures network JSON in DevTools — free, no account.
✓ Live on the Chrome Web Store
- Auto-formats any JSON API response into a tree
- Local JSON diff & instant JWT decode
- 100% private — zero network requests
What engineers say about JSONKit
Developers share how JSONKit fits into their daily workflow — formatting, diffing, validating, and converting data.
Learn JSON — guides & tutorials
Frequently asked questions
Instant results
Every tool processes JSON using native browser APIs. No upload spinner, no loading state. Format a 5 MB file in under 100 ms.
Completely private
Your JSON never leaves your browser. No telemetry on content. Paste production secrets without worry — we literally cannot see them.
Works offline
All processing runs in your browser. Works offline after the first visit — no server, no backend, no data ever transmitted.