BluebirdBluebird
Home/XML ↔ JSON Converter

XML ↔ JSON Converter

Two-way XML and JSON conversion with attribute handling, pretty-printing and live validation.

  • Runs in your browser
  • No upload on server
  • Free, forever
  1. Paste XML or JSON
  2. Pick direction
  3. Copy the result
XML input
JSON output
{
  "library": {
    "book": [
      {
        "title": "The Pragmatic Programmer",
        "author": "Andy Hunt",
        "@_id": 1,
        "@_lang": "en"
      },
      {
        "title": "Refactoring",
        "author": "Martin Fowler",
        "@_id": 2,
        "@_lang": "en"
      }
    ]
  }
}
How this works
  • Pick a direction — XML to JSON or JSON to XML.
  • Paste your data or load a file. We validate it as you type.
  • Tune indenting and attribute handling, then copy or download the result.

Rate XML ↔ JSON Converter

One tap. Anonymous. Helps others find the good tools.

No account, no email, no tracking — just a 1–5 number.

Be the first to rate