Paste or drop XML
Load .xml, .svg, or .rss markup directly into browser memory.
Safely transform enterprise XML feeds, RSS streams, and SVG trees into typed JSON in browser RAM — immune to server-side XXE vulnerabilities.
Select XML / SVG / RSS
preserves @_ attributes · safe browser worker · zero XXE.xml · .svg · .rss
Zero upload limits · Runs in browser RAM
Preserves XML @_ attributes
<catalog currency="USD">
<book id="bk101">
<title>Browser Engineering</title>
<price>39.00</price>
</book>
<book id="bk102">
<title>Local Data Craft</title>
<price>29.50</price>
</book>
</catalog>{
"catalog": {
"@_currency": "USD",
"book": [
{
"@_id": "bk101",
"title": "Browser Engineering",
"price": 39
},
{
"@_id": "bk102",
"title": "Local Data Craft",
"price": 29.5
}
]
}
}| Property | Source: XML | Target: JSON |
|---|---|---|
| File extension | .xml | .json |
| MIME type | application/xml | application/json |
| Structure type | Hierarchical | Hierarchical |
| Encoding | UTF-8 Text | UTF-8 Text |
| Nesting support | Yes | Yes |
| LLM token efficiency | Low | Low |
| Schema / typed | Yes | No |
| Best for | Enterprise SOAP/banking feeds, RSS/Atom, SVG graphics, Maven pom.xml, Android manifests, and document schemas. | REST/GraphQL API payloads, nested web state, structured AI outputs, and universal cross-language interchange. |
Parse XML 1.0 documents with configurable @_ attribute preservation and typed primitives via pure-JS fast-xml-parser.
Load .xml, .svg, or .rss markup directly into browser memory.
Toggle Preserve XML attributes, customize the @_ prefix, and pick JSON indentation.
Download clean JSON or round-trip back to XML anytime.
Serialize JSON objects and @_ attributes into clean, well-formed XML 1.0 with configurable root wrapper tags locally.
Flatten nested JSON arrays into RFC-4180 CSV with delimiter selection and default UTF-8 BOM for Microsoft Excel.
Shrink JSON arrays into Token-Oriented Object Notation (TOON) to cut GPT-4o and Claude prompt tokens up to 60%.
Attributes prefix cleanly (default @_, e.g., @_currency) so you can distinguish attributes from child tags and round-trip to XML.
Yes. Numeric and boolean text nodes parse cleanly into native JSON types.
Yes. fast-xml-parser runs in a sandboxed Web Worker without filesystem or external entity fetching.