Skip to content
ToolSuite

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.

In-browser

.env File Viewer

Read a .env file as a table, with duplicates flagged and secret-looking values masked.

In-browser

.env Formatter

Normalise a .env file: consistent quoting, no stray whitespace, one variable per line.

In-browser

.env Sorter

Sort environment variables alphabetically so two files can be compared.

In-browser

.env to JSON Converter

Convert .env into JSON in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

Base64 to JSON

Decode Base64 back into JSON and format it.

In-browser

Base64 to XML

Decode Base64 back into XML and check it is well-formed.

In-browser

INI Formatter

Normalise an INI file into consistent sections and key=value lines.

In-browser

INI to JSON Converter

Convert INI into JSON in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

Java properties to JSON Converter

Convert Java properties into JSON in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

JSON Array Merger

Concatenate two JSON arrays, optionally removing duplicate records.

In-browser

JSON Array Reverser

Reverse the order of a JSON array so the last record becomes the first.

In-browser

JSON Array Sorter

Sort an array of objects by any field, including a nested one.

In-browser

JSON Array Splitter

Split a large JSON array into numbered files of a fixed size.

In-browser

JSON Diff

Compare two JSON documents by path and see exactly what was added, removed or changed.

In-browser

JSON Duplicate Key Detector

Find keys that appear more than once - the ones JSON parsers silently discard.

In-browser

JSON Empty Value Remover

Remove nulls, empty strings, empty arrays and empty objects in one pass.

In-browser

JSON Escape

Escape text so it can be embedded as a JSON string value.

In-browser

JSON Flattener

Flatten nested JSON into a single level of dotted paths such as user.address.city.

In-browser

JSON Formatter

Format and indent JSON, with parse errors reported by line and column instead of a raw parser message.

In-browser

JSON Key Extractor

List every distinct key used anywhere in a JSON document.

In-browser

JSON Key Remover

Strip one or more keys out of a document at every level.

In-browser

JSON Key Renamer

Rename a key everywhere it appears in a document.

In-browser

JSON Key Sorter

Sort every object key alphabetically, at every level, so two documents can be compared.

In-browser

JSON Lines to JSON

Combine newline-delimited JSON records into a single array, reporting any bad lines.

In-browser

JSON Merge Tool

Deep-merge two JSON documents, with the second winning on conflict.

In-browser

JSON Minifier

Strip every unnecessary byte from a JSON document and see how much you saved.

In-browser

JSON Null Remover

Remove every null value from a JSON document.

In-browser

JSON Object Counter

Count objects, arrays, values and nesting depth, and see which keys appear most often.

In-browser

JSON Path Tester

Try a dotted path against a document and see the value it resolves to.

In-browser

JSON Pointer Viewer

Resolve an RFC 6901 JSON Pointer, or list every pointer in a document.

In-browser

JSON Schema Generator

Infer a JSON Schema from a sample document, ready to refine.

In-browser

JSON to .env Converter

Convert JSON into .env in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

JSON to Base64

Minify JSON and encode it as Base64 and Base64URL.

In-browser

JSON to INI Converter

Convert JSON into INI in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

JSON to Java properties Converter

Convert JSON into Java properties in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

JSON to JSON Lines

Convert a JSON array into newline-delimited JSON, one record per line.

In-browser

JSON to TOML Converter

Convert JSON into TOML in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

JSON to XML Converter

Convert JSON into XML in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

JSON to YAML Converter

Convert JSON into YAML in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

JSON Tree Viewer

See the shape of a JSON document as an indented tree, with array and object sizes.

In-browser

JSON Unescape

Turn an escaped JSON string back into readable text.

In-browser

JSON Unflattener

Rebuild nested JSON from flat dotted paths.

In-browser

JSON Validator

Check whether JSON is valid, locate the error, and find repeated keys that parsers silently discard.

In-browser

JSON Value Extractor

Pull every value of one key out of a document, however deeply it is nested.

In-browser

NDJSON Viewer

Read newline-delimited JSON as a table, with the fields lined up in columns.

In-browser

Properties File Formatter

Normalise and sort a Java .properties file, escaping characters outside Latin-1.

In-browser

Properties File Viewer

Read a Java .properties file as a table, with line continuations resolved.

In-browser

Remove XML Namespaces

Strip namespace declarations and prefixes so a document is easier to query.

In-browser

TOML Formatter

Normalise a TOML file by parsing and re-emitting it.

In-browser

TOML to JSON Converter

Convert TOML into JSON in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

TOML Validator

Check TOML for syntax errors and inspect the structure it produces.

In-browser

XML Attribute Extractor

List every value of one attribute across a document.

In-browser

XML Attribute Remover

Strip named attributes - or all of them - from an XML document.

In-browser

XML Comment Remover

Delete every comment from an XML document.

In-browser

XML Diff

Compare two XML documents structurally, ignoring formatting.

In-browser

XML Element Extractor

Pull every occurrence of one element out of a document.

In-browser

XML Escape

Escape the five characters that XML reserves.

In-browser

XML Formatter

Format and indent XML, with well-formedness checked first and errors located by line.

In-browser

XML Merge Tool

Merge two XML documents, with the second winning on conflict.

In-browser

XML Minifier

Strip comments and whitespace between elements to shrink an XML document.

In-browser

XML Namespace Viewer

List the namespaces a document declares and the prefixes bound to them.

In-browser

XML Node Counter

Count elements and attributes, and see which element names dominate a document.

In-browser

XML to Base64

Encode an XML document as Base64 for embedding in JSON, a form field or a token.

In-browser

XML to JSON Converter

Convert XML into JSON in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

XML to YAML Converter

Convert XML into YAML in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

XML Tree Viewer

See the structure of an XML document as an indented tree.

In-browser

XML Unescape

Decode XML entities back into plain characters.

In-browser

XML Validator

Check whether XML is well-formed and locate the first error.

In-browser

YAML Diff

Compare two YAML documents as data, ignoring formatting and key order.

In-browser

YAML Formatter

Normalise YAML indentation and quoting by parsing and re-emitting the document.

In-browser

YAML Key Counter

Count keys, mappings, sequences and nesting depth in a YAML document.

In-browser

YAML Key Extractor

List every distinct key in a YAML document.

In-browser

YAML Key Sorter

Sort YAML keys alphabetically at every level.

In-browser

YAML Merge Tool

Merge two YAML documents, with the second overriding the first.

In-browser

YAML Minifier

Produce the most compact equivalent of a YAML document.

In-browser

YAML to JSON Converter

Convert YAML into JSON in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

YAML to XML Converter

Convert YAML into XML in your browser, with the structure preserved and parse errors explained in plain language.

In-browser

YAML Validator

Check YAML for syntax errors, including the tab characters YAML forbids.

In-browser