Paste JSON and get well-formed, indented XML with a proper declaration — invalid tag names are sanitized and every value is entity-escaped.
100% Local · Zero Upload · Works Offline
Swap: XML → JSON ⇄Drag & drop files, or click to browse
Accepts .json, .jsonl, .txt (≤50 MB) · Up to 50 MB per file · Unlimited batch
Files are processed locally and never uploaded
Tip: press Ctrl+V / ⌘V to paste a screenshot or file
Input · JSON
Output · XML
…JSON to XML runs entirely on your device. To prove it: load this page once, then enable Airplane Mode (or unplug your network cable) and convert a file — it works identically because conversion happens in a Web Worker using createImageBitmap and OffscreenCanvas. Open DevTools → Network while converting: you will see 0 bytes uploaded. No account, no telemetry on your files, no server in the loop.
Load a .json file or paste the payload — a single top-level key becomes the document root element.
Objects become nested elements, arrays become repeated siblings, @_keys become attributes and #text becomes content.
Choose 2- or 4-space indentation, then copy or download a .xml file ready for SOAP, RSS or config feeds.
| Dimension | JSON | XML |
|---|---|---|
| Privacy | Payloads sent to a server | Serialization runs 100% in your browser |
| Tag validity | Crashes on numeric/space keys | Invalid tag names auto-sanitized |
| Escaping | Raw < & pasted into output | Full entity escaping on text and attributes |
| Round-trip | Loses attribute/text distinction | @_ and #text round-trip with XML to JSON |
| Cost | Usage caps or sign-up walls | Free, unlimited, no account |
| Dimension | ConvertAll (100% local) | Cloud-upload converters |
|---|---|---|
| Privacy / GDPR exposure | Files never leave the device — no data transfer, no processor agreement needed, zero breach surface | Files uploaded to third-party servers; copies may persist in logs, caches, or retention windows |
| Upload / download wait | 0 s upload — processing starts instantly on local CPU cores | Batch of 20 × 4 MB photos ≈ 13 s upload at 50 Mbps, plus server queue and download time |
| Batch limits | Unlimited — bounded only by device memory | Free tiers commonly cap at 10–25 files/day or gate bulk jobs behind accounts and paywalls |
| Offline capability | Fully functional in Airplane Mode once the page is loaded | Requires a live internet connection for every file |
| File security | Originals stay in browser memory; nothing traverses the network — verifiable in DevTools | Files transit TLS to remote infrastructure controlled by a third party |
Measured on a mid-range laptop with a 50 Mbps internet connection — the numbers a cloud converter actually costs you:
| Dimension | Cloud-upload converters | ConvertAll (100% local) |
|---|---|---|
| Upload + server queue | ~13 s upload at 50 Mbps + 5–20 s queue | 0 s — files never touch the network |
| Processing | ~2–5 s on shared server workers | ~1 s per photo on 4 parallel Web Workers |
| Download results | ~4 s at 50 Mbps | Instant — local Blob download |
| Total round-trip | ≈ 20–35 s typical | Seconds — 0 bytes transferred |
Cloud estimates cover upload, queueing and download at 50 Mbps. Local timing depends only on your CPU — and works identically offline.
Prefix a key with @_ — { "@_id": "7" } becomes id="7" on the element. #text holds the element’s text content.
Arrays emit the parent key once per item, producing repeated sibling elements — the same shape XML schemas expect.
Keys starting with a digit or containing spaces/symbols are sanitized (invalid characters become _, leading digits get a _ prefix) so the output always parses.
If your JSON object has exactly one top-level key it becomes the root; otherwise everything is wrapped in a <root> element.
No — serialization is pure TypeScript running in the page, fully offline after first load.