Why it matters
SOAP APIs, RSS feeds, sitemaps and old configs are XML, while modern code wants JSON.
Forcing arrays avoids the classic bug where one child becomes an object and two become an array.
How to use it
- Type or paste your input; the example shows the format.
- Press Convert. Results also update as you type.
- Read the summary line, then the table, notes or output below it.
- Copy or download what you need. Nothing leaves this page.
FAQ
How are attributes shown?
As keys starting with the prefix, e.g. @id. Text alongside attributes goes in #text.
Is it safe for untrusted XML?
It uses the browser's parser, which doesn't fetch external entities.
Is my input uploaded?
No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.
Can I rely on the result?
It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.