TonySkill

JSON to XML

Convert a JSON file or snippet to XML instantly. Choose the root and list item element names; special characters escaped. Everything runs in your browser.

Accepted: JSON, CSV, TSV, XML, YAML, YML, TXT, GEOJSON, JSONC · Max 50 MB per file

Processed on your device. Only tools that say so send a file to our server.

Tip: paste text anywhere on the page (Ctrl+V).

How to convert JSON to XML

  1. Drop your JSON file, or paste its content directly.

  2. The XML appears right next to it; adjust the options if needed. An error? Its line is shown.

  3. Copy the result or download the XML file.

Why use this tool

Four formats, every direction
CSV (comma, semicolon, tab), JSON, XML and YAML. The input format is detected and the result updates with every keystroke.
Errors explained
A missing comma, a badly closed tag, wrong indentation: the line and column are shown, the line is highlighted and “Go to error” puts the cursor there.
Useful settings
CSV headers and delimiter, number detection, indentation, key sorting, XML element names, Excel-friendly CSV. Table preview of the first 100 rows.
Nothing leaves your device
The conversion runs in your browser: your data is never sent to a server, even 50 MB files.

Something wrong with this tool?

More data tools

  • Data converterSwitch between data formats: CSV, JSON, XML or YAML. The source format is detected automatically.FreeNo sign-up
  • CSV to JSONEach CSV row becomes a JSON object keyed by the headers. Delimiter detected, numbers and booleans recognised.FreeNo sign-up
  • JSON to CSVA list of JSON objects becomes a CSV table ready for Excel. Nested objects are flattened into columns.FreeNo sign-up
  • XML to JSONTurn an XML document into readable JSON: attributes prefixed with @, repeated elements grouped into arrays.FreeNo sign-up
  • CSV editorOpen a CSV in a real spreadsheet: delimiter detected, accents kept, save as CSV or Excel.FreeNo sign-up
  • CSV to XLSXOpen a CSV in Excel without broken accents or columns.FreeNo sign-up