JSON, XML & YAML Tools
Parse, convert, validate and diff structured data
Format, minify and validate JSON, XML, YAML, TOML, INI and .env files, convert between any pair of them, flatten or sort keys, compare two documents and extract values by path. Parsing happens locally with well-maintained MIT-licensed parsers.
79 tools in this category
.env Duplicate Finder
Find environment variables defined more than once, and which definition wins.
.env File Viewer
Read a .env file as a table, with duplicates flagged and secret-looking values masked.
.env Formatter
Normalise a .env file: consistent quoting, no stray whitespace, one variable per line.
.env Sorter
Sort environment variables alphabetically so two files can be compared.
.env to JSON Converter
Convert .env into JSON in your browser, with the structure preserved and parse errors explained in plain language.
Base64 to JSON
Decode Base64 back into JSON and format it.
Base64 to XML
Decode Base64 back into XML and check it is well-formed.
INI Formatter
Normalise an INI file into consistent sections and key=value lines.
INI to JSON Converter
Convert INI into JSON in your browser, with the structure preserved and parse errors explained in plain language.
Java properties to JSON Converter
Convert Java properties into JSON in your browser, with the structure preserved and parse errors explained in plain language.
JSON Array Merger
Concatenate two JSON arrays, optionally removing duplicate records.
JSON Array Reverser
Reverse the order of a JSON array so the last record becomes the first.
JSON Array Sorter
Sort an array of objects by any field, including a nested one.
JSON Array Splitter
Split a large JSON array into numbered files of a fixed size.
JSON Diff
Compare two JSON documents by path and see exactly what was added, removed or changed.
JSON Duplicate Key Detector
Find keys that appear more than once - the ones JSON parsers silently discard.
JSON Empty Value Remover
Remove nulls, empty strings, empty arrays and empty objects in one pass.
JSON Escape
Escape text so it can be embedded as a JSON string value.
JSON Flattener
Flatten nested JSON into a single level of dotted paths such as user.address.city.
JSON Formatter
Format and indent JSON, with parse errors reported by line and column instead of a raw parser message.
JSON Key Extractor
List every distinct key used anywhere in a JSON document.
JSON Key Remover
Strip one or more keys out of a document at every level.
JSON Key Renamer
Rename a key everywhere it appears in a document.
JSON Key Sorter
Sort every object key alphabetically, at every level, so two documents can be compared.
JSON Lines to JSON
Combine newline-delimited JSON records into a single array, reporting any bad lines.
JSON Merge Tool
Deep-merge two JSON documents, with the second winning on conflict.
JSON Minifier
Strip every unnecessary byte from a JSON document and see how much you saved.
JSON Null Remover
Remove every null value from a JSON document.
JSON Object Counter
Count objects, arrays, values and nesting depth, and see which keys appear most often.
JSON Path Tester
Try a dotted path against a document and see the value it resolves to.
JSON Pointer Viewer
Resolve an RFC 6901 JSON Pointer, or list every pointer in a document.
JSON Schema Generator
Infer a JSON Schema from a sample document, ready to refine.
JSON to .env Converter
Convert JSON into .env in your browser, with the structure preserved and parse errors explained in plain language.
JSON to Base64
Minify JSON and encode it as Base64 and Base64URL.
JSON to INI Converter
Convert JSON into INI in your browser, with the structure preserved and parse errors explained in plain language.
JSON to Java properties Converter
Convert JSON into Java properties in your browser, with the structure preserved and parse errors explained in plain language.
JSON to JSON Lines
Convert a JSON array into newline-delimited JSON, one record per line.
JSON to TOML Converter
Convert JSON into TOML in your browser, with the structure preserved and parse errors explained in plain language.
JSON to XML Converter
Convert JSON into XML in your browser, with the structure preserved and parse errors explained in plain language.
JSON to YAML Converter
Convert JSON into YAML in your browser, with the structure preserved and parse errors explained in plain language.
JSON Tree Viewer
See the shape of a JSON document as an indented tree, with array and object sizes.
JSON Unescape
Turn an escaped JSON string back into readable text.
JSON Unflattener
Rebuild nested JSON from flat dotted paths.
JSON Validator
Check whether JSON is valid, locate the error, and find repeated keys that parsers silently discard.
JSON Value Extractor
Pull every value of one key out of a document, however deeply it is nested.
NDJSON Viewer
Read newline-delimited JSON as a table, with the fields lined up in columns.
Properties File Formatter
Normalise and sort a Java .properties file, escaping characters outside Latin-1.
Properties File Viewer
Read a Java .properties file as a table, with line continuations resolved.
Remove XML Namespaces
Strip namespace declarations and prefixes so a document is easier to query.
TOML Formatter
Normalise a TOML file by parsing and re-emitting it.
TOML to JSON Converter
Convert TOML into JSON in your browser, with the structure preserved and parse errors explained in plain language.
TOML Validator
Check TOML for syntax errors and inspect the structure it produces.
XML Attribute Extractor
List every value of one attribute across a document.
XML Attribute Remover
Strip named attributes - or all of them - from an XML document.
XML Comment Remover
Delete every comment from an XML document.
XML Diff
Compare two XML documents structurally, ignoring formatting.
XML Element Extractor
Pull every occurrence of one element out of a document.
XML Escape
Escape the five characters that XML reserves.
XML Formatter
Format and indent XML, with well-formedness checked first and errors located by line.
XML Merge Tool
Merge two XML documents, with the second winning on conflict.
XML Minifier
Strip comments and whitespace between elements to shrink an XML document.
XML Namespace Viewer
List the namespaces a document declares and the prefixes bound to them.
XML Node Counter
Count elements and attributes, and see which element names dominate a document.
XML to Base64
Encode an XML document as Base64 for embedding in JSON, a form field or a token.
XML to JSON Converter
Convert XML into JSON in your browser, with the structure preserved and parse errors explained in plain language.
XML to YAML Converter
Convert XML into YAML in your browser, with the structure preserved and parse errors explained in plain language.
XML Tree Viewer
See the structure of an XML document as an indented tree.
XML Unescape
Decode XML entities back into plain characters.
XML Validator
Check whether XML is well-formed and locate the first error.
YAML Diff
Compare two YAML documents as data, ignoring formatting and key order.
YAML Formatter
Normalise YAML indentation and quoting by parsing and re-emitting the document.
YAML Key Counter
Count keys, mappings, sequences and nesting depth in a YAML document.
YAML Key Extractor
List every distinct key in a YAML document.
YAML Key Sorter
Sort YAML keys alphabetically at every level.
YAML Merge Tool
Merge two YAML documents, with the second overriding the first.
YAML Minifier
Produce the most compact equivalent of a YAML document.
YAML to JSON Converter
Convert YAML into JSON in your browser, with the structure preserved and parse errors explained in plain language.
YAML to XML Converter
Convert YAML into XML in your browser, with the structure preserved and parse errors explained in plain language.
YAML Validator
Check YAML for syntax errors, including the tab characters YAML forbids.