vtree — free JSON to XML converter. Paste a JSON object and get well-formed, properly indented XML back instantly, entirely in your browser.

vtree converts JSON to XML right in your browser — no account, no sign-up, and nothing you paste ever leaves your device.

Features

Frequently asked questions

Why do I get an error converting to XML?

XML needs exactly one root element, so the JSON must be a single object at the top level — a bare array or plain value has nowhere to attach as the root. Wrap it in an object first.

How are JSON arrays represented in XML?

As repeated sibling elements with the same tag name — the same convention vtree's own XML parser expects back.

Can I get attributes instead of nested elements?

Yes — a key prefixed with @_ (e.g. "@_id": "1") is written as an XML attribute instead of a child element.

Is my data uploaded anywhere?

No. The conversion runs entirely in your browser.

Is this free to use?

Yes, vtree is free with no account or sign-up required.