JSON
JSON tools that handle the daily work of API integration — formatting, validation, conversion to TypeScript and YAML, JSONPath testing, diffing.
All JSON
- JSON Formatter & Validator Format, validate, and minify JSON. Strict and loose parsing modes.
- JSON to TypeScript Generate TypeScript interfaces from JSON with deep nested type inference.
- JSON to YAML Convert JSON to YAML and back, preserving order and comments.
- JSONPath Tester Test JSONPath expressions against your JSON, see matches highlighted.
- JSON Diff Compare two JSON documents structurally; see added, removed, and changed keys.
- JSON to CSV Convert JSON arrays to CSV. Handles nested objects via dotted-key flattening.
- CSV to JSON Convert CSV to JSON. Type-infer numbers and booleans, configurable delimiter.
- JSON Schema Generator Generate a JSON Schema (draft 2020-12) from a sample JSON document.
- JSON Tree Viewer Browse JSON as a collapsible tree. Click to copy any path or value.
- CSV Diff Compare two CSVs by row keys. See added, removed, changed rows.
- JSON ↔ XML Converter Convert JSON to XML and back. Handles attributes, arrays, nested objects.
- Mock JSON API Builder Generate realistic JSON API responses with pagination, ETag, headers.
- JSON to Zod Schema Generate Zod (z.object) validators from a JSON sample. TypeScript-ready.
- JSON to Pydantic Model Generate Pydantic v2 BaseModel classes from a JSON sample. Python-ready.
- YAML to JSON Converter Convert YAML to JSON quickly. Handles anchors, multi-document streams, scalars.
- JSON Schema Validator Validate JSON against a JSON Schema (draft 2020-12). Shows path of each violation.
- JSON to Go Struct Generate Go structs from a JSON sample. Includes json tags.
- JSON to Rust Struct (serde) Generate Rust structs with serde derive macros from JSON.
- JSON to Kotlin Data Class Generate Kotlin data classes (kotlinx.serialization) from JSON.
- JSON to Swift Codable Generate Swift Codable structs from JSON. Auto-handles nested types.
- JSON to Java POJO Generate Java POJOs with Jackson/Gson annotations from JSON.
- JSON to C# Class Generate C# classes with System.Text.Json attributes from JSON.
- JSON to PHP Class Generate PHP 8 classes from JSON. Typed properties, optional constructor promotion.
- JSON Merge Tool Deep-merge multiple JSON objects. Configurable strategies for arrays and conflicts.
- JSON Flattener / Unflattener Flatten nested JSON to dotted keys, or unflatten back.
- JSON to Query String Convert flat JSON to URL query string and back. RFC 3986 percent-encoding.
- JSON Schema to Example Data Generate example JSON that satisfies a JSON Schema. Useful for docs and tests.
- JSON to GraphQL Schema Generate a GraphQL SDL schema from a JSON sample.
- JSONL Viewer / Formatter View, validate, and reformat JSONL (newline-delimited JSON) files row by row.
- JSON Schema $ref Resolver Inline every $ref in a JSON Schema. Produces a self-contained flat schema.
- NDJSON to CSV Converter Convert newline-delimited JSON (one object per line) to CSV with a flat header row.
- JSON to BSON / Extended JSON Converter Convert standard JSON to MongoDB Extended JSON (BSON) and back. Handles ObjectId, Date, NumberLong.
- JSON5 to JSON Converter Strip JSON5 features (comments, trailing commas, unquoted keys) to produce strict JSON.
- JSONC to JSON (Strip Comments) Remove // and /* */ comments from JSONC (VS Code config files) to produce strict JSON.
- XML to JSON Converter Convert XML to JSON in your browser. Attribute / namespace handling, array detection.
- JSON Strict Validator (RFC 8259, Number Precision) Validate JSON against the strictest RFC 8259 rules. Flags trailing commas, comments, NaN, Infinity, precision loss.
- JSON Merge Patch (RFC 7396) Apply RFC 7396 JSON Merge Patch operations. Useful for PATCH endpoints that take partial updates.
- JSON Patch Builder (RFC 6902) Build and apply RFC 6902 JSON Patch operations. Visual diff between two JSON documents → patch operations.
- JSON Pointer Resolver (RFC 6901) Resolve a JSON Pointer against a JSON document. Path syntax /users/0/email returns the referenced value, with /-escape handling.
- JSON Visual Tree Explorer Render any JSON as a collapsible tree. Click to expand / collapse. Search by key or value. Browser-only.
- JSON Strict Prettifier (Sort Keys + Configurable Indent) Pretty-print JSON with optional sorted keys, configurable indent (2 / 4 / tab), and key ordering rules.
- JSON Array of Objects → CSV (Customizable Columns) Convert a JSON array of objects to CSV. Pick columns, reorder, rename. Handles nested objects via dot.notation flatten.
- JSON ↔ YAML ↔ TOML Roundtrip Converter Convert seamlessly between JSON, YAML, and TOML. Side-by-side three-pane editor. Edit any pane, others update.
- JSON + CSV Merger (Join by Key) Join a JSON array with a CSV file by a common key. Produces enriched JSON or CSV output.
- JSON Nested Array Flattener Flatten nested JSON arrays to a single-level array. Configurable depth, optional unique-only.
- JSON Comments Stripper (JSONC → JSON) Remove // and /* */ comments from JSONC files. Handles strings, escaped chars, nested comments correctly.
- JSON Property Counter (Deep Statistics) Count properties, depth, types in any JSON. Find which keys appear most across arrays of objects.
- JMESPath Tester Test JMESPath expressions against JSON live in your browser — the query language used by the AWS CLI --query flag.
- JSONata Tester (Playground) Run JSONata queries and transforms against JSON live — expressions, built-in functions, and output, in your browser.
- JSON to SQL Schema Infer a CREATE TABLE statement from JSON — column types detected across all records, with Postgres, MySQL, and SQLite dialects.
- JSON to .env Flatten a JSON object into .env variables — nested keys, arrays, case and prefix options, and shell-safe quoting. Runs in your browser.
- JSON Repair Fix broken JSON — trailing commas, single quotes, unquoted keys, comments, Python None/True/False, NaN, and unterminated strings. Shows every fix.
- Avro Schema from JSON Generator Generate an Apache Avro schema from sample JSON — infers field types, makes fields nullable with a union and default, widens mixed int and float to double, and handles nested records and arrays.
- JSON to SQL INSERT Generator Convert JSON to SQL INSERT statements — MySQL, PostgreSQL, SQLite or SQL Server, with correct identifier and string quoting, NULL and boolean handling, optional column list and multi-row batches.
- jq Playground (Run jq Filters Online) Run real jq filters against your JSON in the browser — the genuine jq processor compiled to WebAssembly. Pipes, select, map, group_by, @csv and all the usual flags. Nothing is uploaded.
- TypeScript to JSON Schema Convert TypeScript interfaces and type aliases into JSON Schema (draft 2020-12) — properties, required fields, unions and nested types resolved client-side.
- JSON to Ruby Converter Generate Ruby from a JSON sample — a Struct or attr_accessor class with typed fields, or a plain hash literal — inferred from the data you paste.
- JSON to Dart Converter Generate Dart classes from JSON for Flutter — typed fields plus fromJson / toJson methods, with nested objects and lists turned into their own classes.
- JSON to Scala Converter Generate Scala case classes from a JSON sample — typed fields with Option for nullable values and nested case classes for objects and arrays.
- JSON to Mongoose Schema Convert a JSON document into a Mongoose schema for MongoDB — inferred types, nested sub-schemas and arrays, ready to drop into a Node.js model.
- XML to CSV Converter Flatten repeating XML elements into CSV rows — pick the record element, get a column per child/attribute, with proper quoting for commas and quotes.
- CSV to XML Converter Convert CSV into XML — each row becomes a record element with a child or attribute per column, with configurable row and root element names.
- YAML to CSV Converter Convert a YAML list of objects into CSV — keys become the header row, with nested values flattened using dotted paths and safe quoting.
- CSV to YAML Converter Convert CSV into a clean YAML list of objects — typed scalars for numbers and booleans, with the header row mapped to keys on each record.
- JSON5 Viewer Parse and view JSON5 as a collapsible tree — comments, trailing commas, unquoted keys, single quotes and hex numbers all handled. Runs in your browser.