# JSON to XML Guide

Convert JSON documents to XML.

- Tool: https://ilham.dev/tools/json-to-xml/
- Guide URL: https://ilham.dev/guides/json-to-xml/
- Tool guides index: https://ilham.dev/guides/tools/
- Broader guide: Working With Structured Data (https://ilham.dev/guides/working-with-structured-data/)

## What it does

Convert JSON to XML, with a root element you choose and a stated convention for arrays, attributes and primitive values.

## Use the tool

Open https://ilham.dev/tools/json-to-xml/, add the input the tool asks for, run it, and check the output before using it elsewhere.

## Input and output

- Input: text.
- Output: text.
- Category: Formats.

## Privacy and processing
Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

## Questions

### What happens to an array?

Each item becomes an element with the same name, which is the standard convention. The tool shows the rule it applied so the output is predictable.