All JSON Tools
69 free tools for working with JSON - format, convert, generate typed code, debug errors, and test with sample data. Every tool runs entirely in your browser: no signup, no upload, no limits.
Core Apps
The full-featured editors and viewers at the heart of JSON Console.
JSON FormatterFormat, validate, and beautify JSON with code, tree, table, and graph views.JSON EditorFull Monaco-based editor with dual-pane diff and smart formatting.JSON ViewerExplore documents as an interactive tree, table, or graph.JSON ConverterMulti-format conversion workspace: YAML, CSV, XML, SQL, TOML, HTML.Text DiffLine-by-line text comparison with highlighted changes.Markdown EditorMarkdown editing with live preview and HTML export.
Format Converters
Convert JSON to and from CSV, YAML, XML, Base64, and SQL.
JSON to CSVPaste a JSON array of objects on the left and get a spreadsheet-ready CSV with headers on the right - free, instant, and entirely in your browser.CSV to JSONPaste CSV with a header row and get a typed JSON array of objects - numbers and booleans detected automatically, all in your browser.JSON to YAMLPaste JSON and get clean, idiomatic YAML with 2-space indentation - ready for Kubernetes manifests, CI pipelines, and config files.YAML to JSONPaste any YAML document and get pretty-printed JSON - anchors resolved, full YAML 1.2 support, errors reported with line numbers.JSON to XMLPaste JSON and get well-formed XML with proper escaping - arrays become repeated elements, keys become tags, output always parses.XML to JSONPaste XML and get clean typed JSON - repeated elements become arrays, numeric and boolean text is converted automatically.JSON to Base64Paste JSON to validate and Base64-encode it in one step - UTF-8 safe, ready for headers, secrets, and environment variables.Base64 to JSONPaste a Base64 string and get pretty-printed JSON - works for JWT segments, Kubernetes secrets, and webhook payloads.JSON to SQLPaste a JSON array and get a CREATE TABLE statement with inferred column types plus one INSERT per row - ready for SQLite or Postgres.SQL FormatterPaste messy SQL and get it formatted with consistent indentation and uppercase keywords - readable, review-ready, entirely in your browser.JSON to TOMLPaste JSON and get equivalent TOML - tables, arrays, and typed values - ready for Cargo.toml, pyproject.toml, and app configs.TOML to JSONPaste TOML - Cargo.toml, pyproject.toml, any config - and get pretty-printed JSON with types preserved.JSON to JSON LinesPaste a JSON array and get JSON Lines (NDJSON) - one compact object per line, the format logs, ML datasets, and streaming pipelines expect.JSON Lines to JSONPaste JSON Lines (logs, dataset exports) and get a pretty-printed JSON array - with the exact line number reported if any record is broken.JSON to ExcelPaste a JSON array and download a real .xlsx spreadsheet - headers from your keys, types preserved, generated entirely in your browser.Excel to JSONDrop an .xlsx, .xls, or .csv file and get a JSON array - first row becomes the keys, multi-sheet workbooks supported, file never uploaded.
Code Generators
Turn a JSON payload or schema into typed models for 11 languages.
JSON to TypeScriptPaste an API response and get TypeScript interfaces - nested objects become named interfaces, arrays infer element types.JSON to GoPaste JSON and get compilable Go structs - PascalCase fields, json tags with original keys, int64/float64 types, nested structs.JSON to JavaPaste JSON and get Java POJO classes with private fields and getters/setters - ready for Jackson or Gson deserialization.JSON to PythonPaste JSON and get Python dataclasses with type hints - snake_case fields, nested classes, an easy starting point for Pydantic.JSON to C#Paste JSON and get C# classes with PascalCase properties and JsonPropertyName attributes for System.Text.Json.JSON to PHPPaste JSON and get PHP 8 classes with typed public properties under strict_types - nested classes and array docblocks included.JSON to KotlinPaste JSON and get Kotlin data classes annotated for kotlinx.serialization - @SerialName added wherever names differ.JSON to RustPaste JSON and get Rust structs with serde derives - snake_case fields, #[serde(rename)] where needed, ready for serde_json.JSON to SwiftPaste JSON and get Swift Codable structs - camelCase properties with CodingKeys mapping the original snake_case keys automatically.JSON to DartPaste JSON and get Dart classes with typed fields and fromJson factory constructors - ready for Flutter apps.JSON to RubyPaste JSON and get Ruby classes with attr_reader and hash-based initializers - typed structure instead of nested hash access.Schema to TypeScriptPaste a JSON Schema and get TypeScript interfaces - required vs optional respected, enums become unions, nullable types handled.Schema to ZodPaste a JSON Schema and get a Zod schema with the inferred TypeScript type - runtime validation and static types from one source.
Utilities
Minify, sort, escape, stringify, and screenshot JSON.
JSON EscapePaste any text and get a valid JSON string literal - quotes, backslashes, newlines, and control characters escaped correctly.JSON UnescapePaste an escaped JSON string and get readable text - if the result is itself JSON, it is pretty-printed automatically.JSON MinifyPaste formatted JSON and get the smallest valid version - all whitespace stripped, meaning unchanged, typically 20-40% smaller.JSON RepairPaste broken JSON and get valid JSON back - unquoted keys, single quotes, trailing or missing commas, comments, Python literals, and truncated output fixed automatically, in your browser.JSON Sort KeysPaste JSON and get every object's keys sorted alphabetically at all depths - deterministic, diff-friendly output; arrays untouched.JSON to ImagePaste JSON and download a beautiful syntax-highlighted PNG - three themes, 2x resolution, perfect for docs, slides, and social posts.JSON StringifyPaste JSON and get it as an escaped string literal - minified, quoted, and ready to embed inside another JSON document or code.JSON FlattenPaste nested JSON and get a single-level object with dotted paths as keys - ready for CSV export, spreadsheets, and diff-friendly comparison.
Inspect & Test
Compare, query, decode, validate, and generate test data.
JSON Schema GeneratorPaste a JSON document and get a JSON Schema (draft 2020-12) - types inferred per field, nested objects and arrays included.JSONPath TesterPaste JSON, type a JSONPath expression, and see matching values live - wildcards, recursive descent, filters, and slices supported.Mock JSON GeneratorPaste one sample record and generate up to 1,000 mock records with the same structure - names, emails, IDs, and dates faked realistically.JSON ComparePaste two JSON documents and see only real differences - key order and formatting ignored, changes listed by path with type mismatches flagged.JWT DecoderPaste a JWT and instantly see its decoded header and payload with expiry status - fully local, the token never leaves your browser.YAML ValidatorPaste YAML and validate it instantly - syntax errors reported with line numbers, valid documents shown in normalized form.YAML FormatterPaste messy YAML and get it re-formatted with consistent 2-space indentation and normalized style - meaning unchanged.JWT GeneratorType claims JSON and a secret, get a signed HS256 JWT live - test tokens for development without touching a server.CSV ViewerPaste CSV or open a file and read it as a real table - sticky headers, live row filtering, quoted fields parsed correctly.
Dev Utilities
Everyday developer utilities: encoding, hashing, IDs, time, and text.
URL EncodePaste text and get it percent-encoded for safe use in URLs - spaces, &, ?, and unicode handled correctly.URL DecodePaste a percent-encoded URL or parameter and read it as plain text - %20, +, and UTF-8 sequences decoded correctly.HTML EscapePaste text or code and get it HTML-escaped - <, >, &, and quotes converted to entities so it displays instead of rendering.HTML UnescapePaste text full of &, <, — and read it as plain text - named, decimal, and hex entities all decoded.Base64 EncodePaste any text and get Base64 - UTF-8 safe, so unicode and emoji encode correctly, unlike naive btoa().Base64 DecodePaste Base64 and read it as text - handles missing padding, Base64url (-/_), and whitespace from logs automatically.Markdown to HTMLPaste Markdown and get clean HTML - headings, lists, links, code blocks, and GFM tables converted instantly.Case ConverterPaste identifiers (one per line) and get every casing at once: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and more.UUID GeneratorGenerate up to 1,000 UUIDs at once - random v4 or time-sortable v7 - entirely in your browser with crypto-grade randomness.Timestamp ConverterPaste a Unix timestamp or a date string and get every format at once - ISO 8601, seconds, milliseconds, UTC, and your local time - with a live current-time ticker.Hash GeneratorType or paste text and see its MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes live - computed in your browser, nothing transmitted.
Data, Debugging & Learning
Sample datasets with a free API, error guides, and reference material.
Sample JSON & Test API10 downloadable datasets, also served as free CORS-enabled endpoints.JSON ExamplesCopy-paste snippets for common JSON structures.JSON Error Guides30 exact error messages decoded, with causes and per-language fixes.JSON Cheat SheetOne printable page: syntax rules, types, escaping, common errors.Spot the JSON Error Quiz10 snippets, some subtly broken - test yourself.Embeddable FormatterAdd a working JSON formatter to your own site with one iframe.
Missing a tool you need? Tell us - most of these were built because someone asked.