Data
JSON ↔ XML
Convert JSON and XML locally with @attribute, #text, and array mapping rules.
100% browser-onlyTool Workspace
Result
Waiting to start
No converted output yet.
Privacy Notice:Your files are processed locally. They are never uploaded.
How it works
- Choose JSON → XML or XML → JSON.
- Paste the source and choose indentation.
- Convert, then copy or download the result.
FAQ
How are XML attributes and text mapped?
Attributes use @name, mixed text uses #text, and repeated nodes use arrays.
Are DOCTYPE or ENTITY declarations supported?
No. They are rejected to reduce XML external entity risks.