XML tools
Convert XML to JSON, YAML or CSV and back, and indent it cleanly — free XML tools that run 100% in your browser, nothing is uploaded.
Data format converters
- JSON to XML — Valid XML, Ready to Paste Convert JSON to XML. One root element, tag names made legal and indentation you choose — ready for a SOAP body or a config file.
- XML to JSON — Attributes Included Convert XML to JSON. Attributes, repeated elements and text all land somewhere you can reach with a dot or a bracket in your code.
- XML to YAML — Readable in One Step Convert XML to YAML. The tree becomes indentation instead of tags, which is usually the reason you wanted it out of XML to begin with.
- YAML to XML — Element Names That Work Convert YAML to XML. Keys that cannot be element names are repaired and collisions get a suffix, so the document parses on the first try.
- CSV to XML — A Document That Parses Convert a CSV table to XML, one element per column. Header names are repaired into legal tag names, so the document opens in any XML tool.
- XML to CSV — One Row per Element Turn repeated XML elements into rows. The child names become the columns, ready to open in a spreadsheet or feed to a script.
Formatters, validators & diff
- XML Formatter — Read a One-Line Document Indent XML while what it says stays put. An element mixing text and children keeps its line, because in XML those spaces are content.
- XML Minifier — Smaller, and Says the Same Strip the indentation from XML. Text spacing, attribute values, comments and the prolog stay, so the document shrinks and still means what it meant.
- XML Validator — Find Where It Breaks Check that XML is well-formed: one root, every tag closed and nested, names and characters legal. The first break is named where it happens.