Filenary

XML to JSON Converter

Convert XML into JSON, right in your browser. Attributes become @attr keys, text content becomes #text.

This file is processed in your browser and never uploaded to a server.

How It Works

  1. 1. Drop your file here

  2. 2. Processing…

  3. 3. Download

Features

  • Preserves attributes and repeated elements
  • Paste text or upload an .xml file
  • Copy or download the result

Frequently Asked Questions

How are XML attributes represented in the JSON?
As keys prefixed with @, e.g. an id="1" attribute becomes "@id": "1".
What happens to repeated sibling tags?
They're combined into a JSON array under that tag's key.