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 tool

Bencode to JSON Converter

Decode Bencode text (the format BitTorrent .torrent files use) into JSON.

Open tool

BSON to JSON Converter

Decode hex-encoded BSON bytes back into a readable JSON document.

Open tool

CSON to JSON Converter

Parse a CSON (CoffeeScript Object Notation) document's indented blocks and inline arrays into JSON.

Open tool

CSV to JSON Converter

Convert CSV rows into a JSON array of objects, using the header row as keys.

Open tool

Data URI to JSON Converter

Decode a data:application/json;base64,... (or percent-encoded) URI back into pretty-printed JSON.

Open tool

Fakeson Generator

Generate realistic fake JSON data from a template whose values are type-hint keywords.

Open tool

Form Data to JSON Converter

Parse application/x-www-form-urlencoded text, including bracket-path field names, into nested JSON.

Open tool

INI to JSON Converter

Parse INI text (sections, key=value lines, comments) into a JSON object.

Open tool

jq Playground

Run a practical subset of jq filters against JSON in the browser: field access, streams, and a fixed builtin list.

Open tool

JSON Analyzer

Get structural statistics for a JSON document: depth, key counts, type breakdown, and size.

Open tool

JSON Array Comparator

Compare two JSON arrays and see what's only in A, only in B, and in both.

Open tool

JSON Array Flattener

Collapse nested arrays into a single-level array.

Open tool

JSON Array Grouper

Group a JSON array of objects into buckets keyed by one of their shared property values.

Open tool

JSON Array Merger

Concatenate two JSON arrays, with an option to drop duplicate items.

Open tool

JSON Array Randomizer

Shuffle the top-level order of a JSON array's items using Fisher-Yates.

Open tool

JSON Art Generator

Turn a short word or phrase into a deeply nested JSON object where nesting depth mirrors its length.

Open tool

JSON Diff Checker

Compare two JSON documents and see exactly what changed.

Open tool

JSON Double Quote Converter

Convert single-quoted JS-object-literal-like text back into valid double-quoted JSON.

Open tool

JSON Editor

Edit JSON in a text panel with a live, color-coded structure view alongside.

Open tool

JSON Error Injector

Deliberately corrupt valid JSON with random syntax mutations for testing error handling.

Open tool

JSON Escaper

Escape JSON text into a quote-free fragment for embedding in another string.

Open tool

JSON File Comparator

Check whether two JSON documents are byte-identical or semantically equal, with a capped diff summary.

Open tool

JSON Filter

Filter a JSON array of objects using a simple key OP value expression.

Open tool

JSON Fixer

Best-effort repair for common JSON mistakes: comments, trailing commas, unquoted keys, single quotes.

Open tool

JSON Formatter & Beautifier

Format and beautify messy JSON with proper indentation.

Open tool

JSON Syntax Highlighter

Add syntax-colored highlighting to JSON for docs, blogs, and slides.

Open tool

JSON Key Extractor

List every unique object key found anywhere in a JSON document.

Open tool

JSON Key & Value Finder

Search a JSON document for a substring across every key, every value, or both, with paths.

Open tool

JSON Key-Value Swapper

Invert a flat JSON object so every value becomes a key and every key becomes a value.

Open tool

JSON Minifier

Strip whitespace from JSON to reduce payload size.

Open tool

JSON Nesting Depth Finder

Find the maximum nesting depth of a JSON document and the exact path that reaches it.

Open tool

JSON Obfuscator

Replace keys with generic names and scramble string/number values, preserving structure.

Open tool

JSON Object Flattener

Collapse a nested JSON object into a single flat object with dot/bracket path keys.

Open tool

JSON Object Key Sorter

Recursively sort every object's keys alphabetically, ascending or descending.

Open tool

JSON Object Merger

Merge two JSON objects, either shallowly (B's keys win) or deeply (nested objects merge too).

Open tool

JSON Object Randomizer

Shuffle a JSON object's key order using Fisher-Yates, keeping every value attached to its key.

Open tool

JSON Object Unflattener

Rebuild a nested JSON object or array from flat dot/bracket path keys like a.b[0].c.

Open tool

JSONPath Tester

Query JSON data with JSONPath and see matches live.

Open tool

JSON Quote Fixer

Best-effort repair of single-quoted, curly-quoted, or unquoted-key JSON-like text into valid JSON.

Open tool

JSON Redactor

Redact values whose key name looks sensitive (password, token, email, ssn, etc.).

Open tool

JSON Schema Generator

Generate a JSON Schema (draft-07) from a JSON sample.

Open tool

JSON Screenshot Tool

Turn JSON into a shareable, styled screenshot with a gradient background and title bar.

Open tool

JSON Single Quote Converter

Replace every structural double quote in pretty-printed JSON with a single quote.

Open tool

JSON Spacing Adder

Format JSON so purely-scalar objects/arrays collapse onto one padded line, others stay multi-line.

Open tool

JSON String Masker

Replace every string value with asterisks, keeping structure and keys intact.

Open tool

JSON Stringifier

Wrap JSON text as a single quoted, escaped string literal.

Open tool

JSON Structure Visualizer

Render a JSON document as a plain ASCII tree, with every value's type shown inline.

Open tool

JSON Syntax Changer

Convert valid JSON into relaxed JS-object-literal syntax with unquoted identifier keys.

Open tool

JSON Syntax Remover

Strip ALL JSON punctuation and quotes, leaving only a flat, space-separated word list.

Open tool

JSON to Base64 Converter

Base64-encode a JSON document's raw UTF-8 bytes.

Open tool

JSON to Bencode Converter

Encode a JSON value as Bencode, the encoding BitTorrent .torrent files use.

Open tool

JSON to BSON Converter

Encode a JSON object as BSON, the binary format MongoDB uses on the wire.

Open tool

JSON to CSON Converter

Render a JSON object as CSON (CoffeeScript Object Notation): indented blocks, bare keys, inline scalar arrays.

Open tool

JSON to CSV Converter

Convert a JSON array of objects into CSV.

Open tool

JSON to Data URI Converter

Encode JSON as a data:application/json;base64,... URI you can embed directly in HTML, CSS, or a link.

Open tool

JSON to Form Data Converter

Flatten a JSON object into application/x-www-form-urlencoded text with bracket-path keys.

Open tool

JSON to Go Struct

Generate Go structs with json struct tags from a JSON sample.

Open tool

JSON to HTML Converter

Render JSON as semantic HTML: objects become definition lists, arrays become unordered lists.

Open tool

JSON to Image Converter

Render syntax-highlighted JSON as a downloadable PNG image.

Open tool

JSON to INI Converter

Convert a JSON object into classic INI format with sections and key=value lines.

Open tool

JSON to JSON Lines Converter

Convert a JSON array into JSON Lines (JSONL): one compact JSON value per line.

Open tool

JSON to LaTeX Table Converter

Render a JSON array of objects as a LaTeX tabular table, ready to paste into a document.

Open tool

JSON to List Converter

Convert a JSON array into a plain line-by-line list, no brackets, quotes, or commas.

Open tool

JSON to Lua Table

Serialize JSON into a Lua table literal, the exact inverse of the Lua to JSON Table parser.

Open tool

JSON to MessagePack Converter

Encode JSON as hex-dumped MessagePack using the smallest fixed-size encoding for every value.

Open tool

JSON to PHP Array Converter

Render JSON as a PHP array literal using modern short-array syntax, ready to paste into PHP source.

Open tool

JSON to Properties Converter

Flatten JSON into dot-notation key=value lines (Java .properties format).

Open tool

JSON to Protobuf Converter

Encode JSON as protobuf wire-format bytes without a .proto schema, with a field-number legend.

Open tool

JSON to Python Dataclass

Generate nested Python @dataclass definitions from a JSON sample.

Open tool

JSON to SQL Safety Checker

Scan JSON string values for patterns commonly seen in SQL injection attempts.

Open tool

JSON to Text Converter

Turn JSON into an indented, punctuation-free plain-text outline.

Open tool

JSON to TOML Converter

Convert a JSON object into a TOML document with tables and array-of-tables.

Open tool

JSON to TOON

Convert JSON to TOON, a compact format designed to use fewer LLM tokens.

Open tool

JSON to TSV Converter

Flatten a JSON array into tab-separated rows.

Open tool

JSON to TypeScript Converter

Generate TypeScript interfaces from a JSON sample.

Open tool

JSON to TypeScript Interface

Generate nested TypeScript interfaces from a JSON sample.

Open tool

JSON to UBJSON Converter

Encode a JSON value as UBJSON (Universal Binary JSON), shown as a hex dump.

Open tool

JSON to XML Converter

Convert JSON data into well-formed XML markup.

Open tool

JSON to YAML Converter

Convert JSON into clean, block-style YAML.

Open tool

JSON to Zod Schema

Generate a Zod schema and inferred TypeScript type from a JSON sample.

Open tool

JSON Tokenizer

Break JSON text into its raw lexical tokens: braces, brackets, strings, numbers, and literals.

Open tool

JSON Truncator

Cap a JSON document's nesting depth, array length, and string length, marking every cut.

Open tool

JSON Unescaper

Reverse JSON escaping to recover the original text from an escaped fragment.

Open tool

JSON Unstringifier

Decode a quoted JSON string literal back into its original text.

Open tool

JSON URL Decoder

Decode a percent-encoded JSON value back into pretty-printed JSON.

Open tool

JSON URL Encoder

Percent-encode JSON so it's safe to use as a URL query parameter.

Open tool

JSON Validator

Check whether your JSON is syntactically valid.

Open tool

JSON Value Extractor

List every leaf value found anywhere in a JSON document.

Open tool

JSON Lines to JSON Converter

Parse JSON Lines (JSONL/NDJSON) text, one JSON value per line, into a single JSON array.

Open tool

List to JSON Converter

Convert a plain newline-separated list into a pretty-printed JSON array of strings.

Open tool

LLM Output JSON Guardrail Validator

Check LLM-generated JSON against practical guardrails before you parse it.

Open tool

Lua to JSON Table

Parse a Lua table literal into equivalent JSON.

Open tool

MessagePack to JSON Converter

Decode hex-encoded MessagePack bytes back into readable JSON.

Open tool

PHP Array to JSON Converter

Parse a PHP array literal (short [...] or array(...) syntax) into JSON.

Open tool

Properties to JSON Converter

Parse a Java .properties file into nested JSON.

Open tool

Protobuf to JSON Converter

Decode hex-encoded protobuf bytes into JSON with generic field1, field2 labels, no schema needed.

Open tool

Random JSON Array Generator

Generate a random flat JSON array of numbers, strings, booleans, or a mix.

Open tool

Random JSON Object Generator

Generate a random flat JSON object with a chosen number of realistic-looking keys.

Open tool

String to JSON Array Converter

Split raw text by a delimiter into a JSON array of trimmed, non-empty strings.

Open tool

TOML to JSON Converter

Parse a TOML document (tables and array-of-tables included) into JSON.

Open tool

TSV to JSON Converter

Convert tab-separated rows into a JSON array of objects, using the header row as keys.

Open tool

UBJSON to JSON Converter

Decode hex-encoded UBJSON (Universal Binary JSON) bytes back into JSON.

Open tool

XML to JSON Converter

Convert an XML document into equivalent JSON.

Open tool

YAML to JSON Converter

Convert a YAML document into equivalent, pretty-printed JSON.

Open tool