jsonformatters.org

Free online JSON tools for formatting, validation, and conversion

Format, validate, view, compare, generate, and convert JSON with focused tools that run locally in your browser.

Open JSON Formatter
Category

Formatters

JSON Formatter

Online JSON Formatter and Beautifier

Format, beautify and validate JSON online with 2, 3 or 4-space indentation. Preserve large numbers and keep your data in your browser.

browser
JSON Minifier

JSON Minifier

Remove insignificant JSON whitespace without changing keys, values, or array order.

browser
JSON Sorter

Recursive JSON Key Sorter

Sort object keys recursively while preserving array order and JSON value types.

browser
JSON Repair

Safe JSON Repair Tool

Repair malformed JSON with a non-evaluating parser, then verify and format the result as strict JSON.

browser
NDJSON Toolkit

NDJSON Toolkit (All-in-One)

Validate JSON Lines, pretty-print records, minify NDJSON, or convert between NDJSON and JSON arrays in one workspace.

browser
NDJSON Minifier

NDJSON Minifier — One Record per Line

Minify NDJSON into compact JSON Lines while preserving string contents, number tokens, and record order. Validate each line and remove ignored blank lines.

browser
NDJSON Formatter

NDJSON Record Formatter

Pretty-print each NDJSON record with 2, 3, or 4-space indentation. Download readable text blocks; use NDJSON Minifier for one record per line.

browser
JSON Redaction Preview

JSON Sensitive Field Redaction Preview

Preview deterministic key-name redaction for common credential and optional personal fields before sharing JSON.

browser
JSON Array Cleanup

Focused JSON Array Cleanup

Remove semantic duplicates and optional null or empty-string items from one top-level JSON array.

browser
JSON Object Cleanup

Focused JSON Object Cleanup

Recursively remove selected null, empty-string, or empty-container fields from a top-level JSON object.

browser
Category

Validators

Category

Converters

JSON to YAML

JSON to YAML Converter

Convert any valid JSON value into readable YAML with safe scalar quoting.

browser
JSON to XML

JSON to XML Converter

Convert JSON to escaped UTF-8 XML with explicit root, item, and key-name handling.

browser
JSON to CSV

JSON to Safe CSV Converter

Convert JSON objects and arrays to UTF-8 CSV while neutralizing spreadsheet formula prefixes.

browser
JSON Flattener

Lossless JSON Pointer Flattener

Flatten valid JSON into an unambiguous map keyed by escaped RFC 6901 JSON Pointers while preserving container and value types.

browser
JSON Patch Applier

Safe RFC 6902 JSON Patch Applier

Validate and atomically apply all six RFC 6902 operations—add, remove, replace, move, copy, and test—with strict pointer rules.

browser
JSON String Escape / Unescape

JSON String Escape and Unescape Tool

Encode arbitrary text as one complete quoted JSON string literal, or strictly decode a JSON string literal back to exact text.

browser
YAML to JSON

Safe YAML to JSON Converter

Convert JSON-compatible YAML Core values to strict JSON with aliases, merges, and custom tags disabled.

browser
XML to JSON

Safe XML to JSON Converter

Convert well-formed XML to JSON while blocking DTD and entity declarations.

browser
CSV to JSON

CSV to JSON Object Array Converter

Convert header-based RFC 4180-style CSV to a JSON object array with every cell kept as a string.

browser
JSON Unflattener

Reversible JSON Pointer Unflattener

Rebuild JSON from the typed RFC 6901 pointer map emitted by this site's lossless flattener.

browser
JSON to NDJSON

JSON Array to NDJSON Converter

Write each item in a top-level JSON array as one compact NDJSON record.

browser
NDJSON to JSON

NDJSON to JSON Array Converter

Parse each nonblank NDJSON line as strict JSON and collect the values into one JSON array.

browser
Category

Viewers

Category

Generators

Category

Comparison