New InstaDataNewsOur live magazine on AI, Agentic AI & Robotics β€” updated daily Explore the Magazine
Skip to content
File Conversion Β· Free Β· No sign-up

XML to JSON Converter

Convert XML documents and feeds to clean JSON. Free, private, no sign-up β€” runs in your browser.

Runs in your browser Nothing uploaded Instant, unlimited No sign-up
πŸ“°

XML to JSON Converter

Paste any XML β€” config files, RSS feeds, SOAP responses, sitemaps β€” and convert it to JSON. Attributes, text content and repeated elements are all represented predictably.

JSON appears here…

About this XML to JSON Converter

Uses the browser's native XML parser (with real error reporting) and a predictable mapping: attributes become @name keys, element text becomes the value or #text, and repeated sibling elements become arrays. Works on RSS/Atom feeds, sitemaps, SOAP envelopes, Android layouts and Maven POMs alike.

Frequently asked questions

How are repeated elements handled?
Two or more siblings with the same tag automatically become a JSON array, preserving order.
What happens to attributes?
They become keys prefixed with @ so they can never collide with child element names.
Why is there a #text key sometimes?
When an element has both text and children/attributes, the text is kept under #text so nothing is lost.
Verified by MonsterInsights