Data
XML JSON
Convert XML to JSON free. No signup. Files deleted after 1 hour.
Max 50MB5 conversions/hourView Basic and Pro plans →
About XML to JSON
Convert XML to JSON, mapping attributes to properties with an @ prefix and text content to #text by default. Configurable, so you can flatten attributes or strip namespaces.
Frequently asked questions
How are attributes represented?
By default with @-prefixed keys. Toggle 'merge attributes' to fold them into the object as regular properties.
What happens to repeated elements?
The first occurrence becomes a property; repeats convert that property into an array. Toggle 'always array' for predictable schemas.