Dev Tools · JSON and XML

JSON and XML Tools

I paste messy payloads into these at 2 AM more than I care to admit. A config that will not parse, a diff between two responses, a CSV from a ticket that needs to become JSON. These nine tools fix that shape of problem, right here in the browser.

JSON Formatter

I paste a one-line blob from a log or a curl response and I want it readable. Paste JSON, get it indented cleanly. Minify does the reverse when I need it compact for a header or a payload.

Try it:


JSON Validator

Before I blame the service, I check the payload. This tells me if the JSON is valid, what type sits at the top, and where it breaks when it is not valid.

Try it:


JSON Diff

Two responses look the same and they are not. I paste both here and read the added, removed, and changed keys line by line instead of eyeballing two blobs.

Try it:


Lines starting with + were added. Lines starting with - were removed. Lines starting with ~ changed value.

YAML Formatter

Manifests drift. Indentation slips by one space and the deploy fails at 2 AM. I paste YAML here and get it back in one consistent shape, two-space indent, same data.

This handles common YAML: maps, lists, nested indentation, plain and quoted scalars. It is not a full YAML parser. Anchors, tags, and multi-line blocks are out of scope.

Try it:


YAML Validator

Same idea as the JSON validator, for YAML. I paste a manifest and find out if it parses, what sits at the top, and which line breaks first.

This handles common YAML: maps, lists, nested indentation, plain and quoted scalars. It is not a full YAML parser.

Try it:


JSON to YAML Converter

APIs speak JSON. Manifests and configs speak YAML. I convert between the two here when I need the same data in the other shape, and I check the round trip before I trust it.

YAML output uses the common subset: maps, lists, nested indentation, plain and quoted scalars. It is not a full YAML parser.

Try it:


XML Formatter

SOAP responses and old configs arrive as one long line. I paste XML here and get it back indented, one element per line, so I can actually read what the service sent.

Try it:


XML to JSON Converter

Legacy services send XML. Everything I build now wants JSON. I convert between the two here. Attributes come out with an @ prefix, text content under #text, repeated elements become arrays.

Try it:


CSV to JSON Converter

A spreadsheet export lands in my inbox and a script needs JSON. I convert it here. Headers become keys, quoted fields stay whole, and commas inside quotes do not split a field.

Try it: