XML Formatter & XML ⇄ JSON

Format, minify and validate XML, and convert XML to JSON and JSON to XML.

Action

How to use

  1. Choose Format, XML → JSON or JSON → XML.
  2. Paste the text or open an .xml or .json file.
  3. Press Run. An error shows the line and column to fix.
  4. Copy the result or download it.

Privacy

Runs in your browser. Nothing is uploaded.

Text and files you open stay on this device; closing the tab clears them. Inputs are limited to 5 MB so the page stays responsive.