CSV to JSON Converter
CSV rows become a JSON array, keyed by the header row.
Convert JSON into XML in your browser. Each key becomes an element; arrays become repeated tags. Works best when your JSON has a single top-level key.
Your browser is preparing the tool. It runs 100% locally.
Paste JSON and get XML. Every key becomes an element name, nested objects become nested elements, and an array becomes the same tag repeated once per item. A UTF-8 declaration is added, values are escaped, and it runs in your browser. One thing to plan for: the tool does not add a wrapper root, so a single top-level key keeps the result well-formed.
This turns a JSON value into XML. The tool walks the parsed structure and writes an element for each key: a nested object becomes nested elements, an array repeats its key once per item, and a plain value becomes an element holding that text.
It prepends a UTF-8 XML declaration and escapes the reserved characters in values. It does not wrap everything in an extra root element, so whether the result is well-formed depends on your JSON having a single top-level key.
Paste or type JSON. It is parsed first, so invalid JSON shows an error rather than producing broken XML.
Each key becomes an element name. Objects nest, arrays repeat the key for each item, and primitive values are written as the element's text, escaped for the ampersand, less-than and greater-than characters.
A UTF-8 declaration is added at the top. Copy the XML or download it as a .xml file; both happen in your browser.
Key with a value = <key>value</key> (value escaped)
Key with an object = <key> nested elements </key>
Key with an array = <key> repeated once per item
No extra root is added: your top-level key is the rootThe JSON {"book": {"title": "X", "year": 2024}} becomes <book> containing <title>X</title> and <year>2024</year>. One top-level key gives one valid root.Two or more top-level keys would produce two or more root elements, which XML does not allow. Wrap them under a single key first.
Your browser parses and converts the JSON. No server is involved and nothing is uploaded.
The data never leaves your device, so even sensitive records stay private.
You don't need an account and the site keeps no copy, so the conversion is gone once you close the tab.
| Input | JSON |
|---|---|
| Output | XML (.xml) |
| Keys | Become element names |
| Arrays | Repeat the same tag |
| Root wrapper | None added |
| Escaping | Ampersand, less-than, greater-than |
| Processing | 100% in-browser |
No wrapper root is added. XML requires exactly one root element, so JSON with a single top-level key converts cleanly, but an object with two or more top-level keys produces two or more roots, which is not well-formed. Nest them under one key first.
Keys are used as element names without sanitisation. A key with a space, a leading digit, or a character XML forbids in a name (such as the at-sign or a slash) produces invalid XML. Rename such keys before converting.
Everything becomes an element; there are no attributes. An array becomes the same tag repeated once per item, which is the usual XML pattern for a list.
Values are written as text and escaped for the ampersand, less-than and greater-than characters. Numbers and booleans become their text form, since XML carries no separate types here.
Invalid JSON is reported as an error, so you will not get half-built XML from a typo.
Convert a JSON object into the XML body an older service expects.
Turn a JSON config into an XML equivalent for a tool that needs XML.
Produce XML from JSON to exercise an XML import path.
See how objects and arrays translate into nested and repeated elements.
If you need attributes, namespaces or a guaranteed root, wrap your data under one key first or use a configurable converter. To go the other way, use the XML to JSON converter.
Walks your parsed JSON into XML: every key becomes an element name, nested objects nest, and arrays repeat the same tag. Values are escaped for the ampersand, less-than and greater-than characters. It adds a UTF-8 declaration but no wrapper root, so give it a single top-level key for valid XML. Runs in your browser.
CSV rows become a JSON array, keyed by the header row.
Flatten a JSON array of objects into CSV columns.
Turn everyday Markdown into clean HTML in your browser.
Pasted CSV becomes a real .xlsx, with leading zeros kept.
Pull the first sheet of a workbook out as plain CSV.
Each spreadsheet row becomes a JSON object keyed by the header.
The file never leaves your computer, and you don't need an account.