Free-Utils

JSON to XML

Pick file or take photo

  • ✓ Files stay on your device
  • ✓ 181 tools, always free
  • ✓ Runs in your browser

FAQ

How do I convert JSON to XML?

Choose the JSON file and press Convert to XML. Each key becomes an element inside a root element.

How are lists written?

Each item repeats the element named after its key. A list at the top level becomes item elements inside root.

What if a key is not a valid XML name?

Characters XML does not allow are replaced with an underscore, and a name that starts with a digit gets an underscore in front.

Does it write attributes?

No. Every value is written as an element.

It says the JSON could not be read. Why?

The file is not valid JSON. Common causes are a trailing comma, single quotes, or a missing bracket.

Is my file uploaded?

No. The file is converted inside your browser and never sent to a server. It is free.

Related tools

Sign in

Use Google, Apple, or email. No account is needed to download. Sign in for the larger phone limit, one free server job a month, or Pro.