JSON to XML
Convert JSON objects to well-formed XML. Keys starting with @_ become attributes.
Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
Indent
How to convert JSON to XML
- Paste your JSON or open a file.
- Adjust the options if needed.
- Copy the XML or download it as a file.
Frequently asked questions
How do I create XML attributes?
Prefix the key with @_, for example {"book": {"@_id": "b1", "title": "Godan"}} becomes <book id="b1"><title>Godan</title></book>.
Is my data sent to a server?
No. Everything runs in your browser, so API keys, tokens, configs and customer data never leave your machine.
Related tools
All Developer Tools →- XML to JSON Convert XML documents, feeds and SOAP responses to JSON.
- JSON Formatter Pretty-print messy JSON, find syntax errors fast, or minify it for production.
- TOML to JSON Convert TOML files such as Cargo.toml, pyproject.toml and Hugo configs to JSON.
- JSON to TOML Convert a JSON object to TOML for Rust, Python and static-site generator configs.
- Base64 Encode / Decode Convert text to and from Base64, the encoding used in data URIs, emails, JWTs and basic authentication headers.
- URL Encode / Decode Make text safe for URLs and query strings, or read encoded URLs from logs and analytics.