JSON Tools
A complete set of browser-based JSON utilities for formatting, validating, converting, comparing, and generating types and schemas from JSON data. Everything runs locally in your browser, so nothing you paste is ever sent to a server.
Base64 to JSON Converter
Decode a Base64 string back into pretty-printed JSON.
Open toolBencode to JSON Converter
Decode Bencode text (the format BitTorrent .torrent files use) into JSON.
Open toolBSON to JSON Converter
Decode hex-encoded BSON bytes back into a readable JSON document.
Open toolCSON to JSON Converter
Parse a CSON (CoffeeScript Object Notation) document's indented blocks and inline arrays into JSON.
Open toolCSV to JSON Converter
Convert CSV rows into a JSON array of objects, using the header row as keys.
Open toolData URI to JSON Converter
Decode a data:application/json;base64,... (or percent-encoded) URI back into pretty-printed JSON.
Open toolFakeson Generator
Generate realistic fake JSON data from a template whose values are type-hint keywords.
Open toolForm Data to JSON Converter
Parse application/x-www-form-urlencoded text, including bracket-path field names, into nested JSON.
Open toolINI to JSON Converter
Parse INI text (sections, key=value lines, comments) into a JSON object.
Open tooljq Playground
Run a practical subset of jq filters against JSON in the browser: field access, streams, and a fixed builtin list.
Open toolJSON Analyzer
Get structural statistics for a JSON document: depth, key counts, type breakdown, and size.
Open toolJSON Array Comparator
Compare two JSON arrays and see what's only in A, only in B, and in both.
Open toolJSON Array Flattener
Collapse nested arrays into a single-level array.
Open toolJSON Array Grouper
Group a JSON array of objects into buckets keyed by one of their shared property values.
Open toolJSON Array Merger
Concatenate two JSON arrays, with an option to drop duplicate items.
Open toolJSON Array Randomizer
Shuffle the top-level order of a JSON array's items using Fisher-Yates.
Open toolJSON Art Generator
Turn a short word or phrase into a deeply nested JSON object where nesting depth mirrors its length.
Open toolJSON Diff Checker
Compare two JSON documents and see exactly what changed.
Open toolJSON Double Quote Converter
Convert single-quoted JS-object-literal-like text back into valid double-quoted JSON.
Open toolJSON Editor
Edit JSON in a text panel with a live, color-coded structure view alongside.
Open toolJSON Error Injector
Deliberately corrupt valid JSON with random syntax mutations for testing error handling.
Open toolJSON Escaper
Escape JSON text into a quote-free fragment for embedding in another string.
Open toolJSON File Comparator
Check whether two JSON documents are byte-identical or semantically equal, with a capped diff summary.
Open toolJSON Filter
Filter a JSON array of objects using a simple key OP value expression.
Open toolJSON Fixer
Best-effort repair for common JSON mistakes: comments, trailing commas, unquoted keys, single quotes.
Open toolJSON Formatter & Beautifier
Format and beautify messy JSON with proper indentation.
Open toolJSON Syntax Highlighter
Add syntax-colored highlighting to JSON for docs, blogs, and slides.
Open toolJSON Key Extractor
List every unique object key found anywhere in a JSON document.
Open toolJSON Key & Value Finder
Search a JSON document for a substring across every key, every value, or both, with paths.
Open toolJSON Key-Value Swapper
Invert a flat JSON object so every value becomes a key and every key becomes a value.
Open toolJSON Minifier
Strip whitespace from JSON to reduce payload size.
Open toolJSON Nesting Depth Finder
Find the maximum nesting depth of a JSON document and the exact path that reaches it.
Open toolJSON Obfuscator
Replace keys with generic names and scramble string/number values, preserving structure.
Open toolJSON Object Flattener
Collapse a nested JSON object into a single flat object with dot/bracket path keys.
Open toolJSON Object Key Sorter
Recursively sort every object's keys alphabetically, ascending or descending.
Open toolJSON Object Merger
Merge two JSON objects, either shallowly (B's keys win) or deeply (nested objects merge too).
Open toolJSON Object Randomizer
Shuffle a JSON object's key order using Fisher-Yates, keeping every value attached to its key.
Open toolJSON Object Unflattener
Rebuild a nested JSON object or array from flat dot/bracket path keys like a.b[0].c.
Open toolJSONPath Tester
Query JSON data with JSONPath and see matches live.
Open toolJSON Quote Fixer
Best-effort repair of single-quoted, curly-quoted, or unquoted-key JSON-like text into valid JSON.
Open toolJSON Redactor
Redact values whose key name looks sensitive (password, token, email, ssn, etc.).
Open toolJSON Schema Generator
Generate a JSON Schema (draft-07) from a JSON sample.
Open toolJSON Screenshot Tool
Turn JSON into a shareable, styled screenshot with a gradient background and title bar.
Open toolJSON Single Quote Converter
Replace every structural double quote in pretty-printed JSON with a single quote.
Open toolJSON Spacing Adder
Format JSON so purely-scalar objects/arrays collapse onto one padded line, others stay multi-line.
Open toolJSON String Masker
Replace every string value with asterisks, keeping structure and keys intact.
Open toolJSON Stringifier
Wrap JSON text as a single quoted, escaped string literal.
Open toolJSON Structure Visualizer
Render a JSON document as a plain ASCII tree, with every value's type shown inline.
Open toolJSON Syntax Changer
Convert valid JSON into relaxed JS-object-literal syntax with unquoted identifier keys.
Open toolJSON Syntax Remover
Strip ALL JSON punctuation and quotes, leaving only a flat, space-separated word list.
Open toolJSON to Base64 Converter
Base64-encode a JSON document's raw UTF-8 bytes.
Open toolJSON to Bencode Converter
Encode a JSON value as Bencode, the encoding BitTorrent .torrent files use.
Open toolJSON to BSON Converter
Encode a JSON object as BSON, the binary format MongoDB uses on the wire.
Open toolJSON to CSON Converter
Render a JSON object as CSON (CoffeeScript Object Notation): indented blocks, bare keys, inline scalar arrays.
Open toolJSON to CSV Converter
Convert a JSON array of objects into CSV.
Open toolJSON to Data URI Converter
Encode JSON as a data:application/json;base64,... URI you can embed directly in HTML, CSS, or a link.
Open toolJSON to Form Data Converter
Flatten a JSON object into application/x-www-form-urlencoded text with bracket-path keys.
Open toolJSON to Go Struct
Generate Go structs with json struct tags from a JSON sample.
Open toolJSON to HTML Converter
Render JSON as semantic HTML: objects become definition lists, arrays become unordered lists.
Open toolJSON to Image Converter
Render syntax-highlighted JSON as a downloadable PNG image.
Open toolJSON to INI Converter
Convert a JSON object into classic INI format with sections and key=value lines.
Open toolJSON to JSON Lines Converter
Convert a JSON array into JSON Lines (JSONL): one compact JSON value per line.
Open toolJSON to LaTeX Table Converter
Render a JSON array of objects as a LaTeX tabular table, ready to paste into a document.
Open toolJSON to List Converter
Convert a JSON array into a plain line-by-line list, no brackets, quotes, or commas.
Open toolJSON to Lua Table
Serialize JSON into a Lua table literal, the exact inverse of the Lua to JSON Table parser.
Open toolJSON to MessagePack Converter
Encode JSON as hex-dumped MessagePack using the smallest fixed-size encoding for every value.
Open toolJSON to PHP Array Converter
Render JSON as a PHP array literal using modern short-array syntax, ready to paste into PHP source.
Open toolJSON to Properties Converter
Flatten JSON into dot-notation key=value lines (Java .properties format).
Open toolJSON to Protobuf Converter
Encode JSON as protobuf wire-format bytes without a .proto schema, with a field-number legend.
Open toolJSON to Python Dataclass
Generate nested Python @dataclass definitions from a JSON sample.
Open toolJSON to SQL Safety Checker
Scan JSON string values for patterns commonly seen in SQL injection attempts.
Open toolJSON to Text Converter
Turn JSON into an indented, punctuation-free plain-text outline.
Open toolJSON to TOML Converter
Convert a JSON object into a TOML document with tables and array-of-tables.
Open toolJSON to TOON
Convert JSON to TOON, a compact format designed to use fewer LLM tokens.
Open toolJSON to TSV Converter
Flatten a JSON array into tab-separated rows.
Open toolJSON to TypeScript Converter
Generate TypeScript interfaces from a JSON sample.
Open toolJSON to TypeScript Interface
Generate nested TypeScript interfaces from a JSON sample.
Open toolJSON to UBJSON Converter
Encode a JSON value as UBJSON (Universal Binary JSON), shown as a hex dump.
Open toolJSON to XML Converter
Convert JSON data into well-formed XML markup.
Open toolJSON to YAML Converter
Convert JSON into clean, block-style YAML.
Open toolJSON to Zod Schema
Generate a Zod schema and inferred TypeScript type from a JSON sample.
Open toolJSON Tokenizer
Break JSON text into its raw lexical tokens: braces, brackets, strings, numbers, and literals.
Open toolJSON Truncator
Cap a JSON document's nesting depth, array length, and string length, marking every cut.
Open toolJSON Unescaper
Reverse JSON escaping to recover the original text from an escaped fragment.
Open toolJSON Unstringifier
Decode a quoted JSON string literal back into its original text.
Open toolJSON URL Decoder
Decode a percent-encoded JSON value back into pretty-printed JSON.
Open toolJSON URL Encoder
Percent-encode JSON so it's safe to use as a URL query parameter.
Open toolJSON Validator
Check whether your JSON is syntactically valid.
Open toolJSON Value Extractor
List every leaf value found anywhere in a JSON document.
Open toolJSON Lines to JSON Converter
Parse JSON Lines (JSONL/NDJSON) text, one JSON value per line, into a single JSON array.
Open toolList to JSON Converter
Convert a plain newline-separated list into a pretty-printed JSON array of strings.
Open toolLLM Output JSON Guardrail Validator
Check LLM-generated JSON against practical guardrails before you parse it.
Open toolLua to JSON Table
Parse a Lua table literal into equivalent JSON.
Open toolMessagePack to JSON Converter
Decode hex-encoded MessagePack bytes back into readable JSON.
Open toolPHP Array to JSON Converter
Parse a PHP array literal (short [...] or array(...) syntax) into JSON.
Open toolProperties to JSON Converter
Parse a Java .properties file into nested JSON.
Open toolProtobuf to JSON Converter
Decode hex-encoded protobuf bytes into JSON with generic field1, field2 labels, no schema needed.
Open toolRandom JSON Array Generator
Generate a random flat JSON array of numbers, strings, booleans, or a mix.
Open toolRandom JSON Object Generator
Generate a random flat JSON object with a chosen number of realistic-looking keys.
Open toolString to JSON Array Converter
Split raw text by a delimiter into a JSON array of trimmed, non-empty strings.
Open toolTOML to JSON Converter
Parse a TOML document (tables and array-of-tables included) into JSON.
Open toolTSV to JSON Converter
Convert tab-separated rows into a JSON array of objects, using the header row as keys.
Open toolUBJSON to JSON Converter
Decode hex-encoded UBJSON (Universal Binary JSON) bytes back into JSON.
Open toolXML to JSON Converter
Convert an XML document into equivalent JSON.
Open toolYAML to JSON Converter
Convert a YAML document into equivalent, pretty-printed JSON.
Open tool