Convert XML to JSON
Convert XML (.xml) files directly to JSON (.json) inside your browser, with no upload.
Open in the workspace tab for batch processing and additional options.
or click to choose
Images (JPG, PNG, WebP, HEIC, AVIF, GIF, SVG, BMP, ICO), documents (PDF, DOCX, MD, HTML, TXT, RTF), data (XLSX, CSV, TSV, JSON, YAML, XML), audio (MP3, WAV, M4A, FLAC, OGG, Opus, AIFF) and video (MP4, MOV, WebM and more)
Your file is never uploaded. All conversion happens inside your browser.
Why these settings
XML (.xml) is an XML hierarchical data document used in feeds and enterprise tools. This page converts it to JSON inside your browser; the file is never uploaded.
Turn XML from older systems, RSS or open-government data into JSON that today's web tools handle easily.
Elements become keys, attributes become "@name" keys, and the text of an element with attributes becomes "#text". Repeated elements with the same name become an array.
A single element does not become an array, so code reading it should handle both the single and the array case.
| Attribute | Source (XML) | Target (JSON) |
|---|---|---|
| Extension | .xml | .json |
| Compression | Lossless / structured | Lossless / structured |
| Animation / motion | Static / single | Static / single |
| Server upload | None (100% browser memory, offline-verifiable) | |
Common questions
- Is my file uploaded when converting XML to JSON?
- No. Reading and writing both happen in your browser. You can check by going offline after the page loads; the conversion still works.