Data

JSON ↔ XML

Convert JSON and XML locally with @attribute, #text, and array mapping rules.

100% browser-only

Tool Workspace

JSON ↔ XML

Result

Waiting to start

No converted output yet.

Privacy Notice:Your files are processed locally. They are never uploaded.

How it works

  1. Choose JSON → XML or XML → JSON.
  2. Paste the source and choose indentation.
  3. Convert, then copy or download the result.
Advertisement (tool-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.