Converters

XML to JSON✓

Convert XML elements, attributes and repeated children into structured JSON.

Tools will load when you run.
Input method
JSON
0 characters

How to use XML to JSON

  1. Choose your XML or paste text into the editor.
  2. Upload XML or paste markup. Attributes use @ keys, text uses #text, and repeated elements become arrays. DTDs and entities are rejected.
  3. Download JSON. Typed XML created by JSON to XML restores JSON scalar types and arrays.

Process multiple files

Use a workflow to apply the same settings to each file.

Formats and requirements

Input formats
XML
Output
JSON
Availability
Free in your browser and through the CLI
Files per operation
1
Browser file limit
8 MiB per file, 128 MiB total

What to expect

XML tables use repeated flat records. JSON to XML preserves types using a typed root/item schema; XML attributes use @ and text uses #text in JSON. Spreadsheet formulas are not evaluated; the first sheet is used by default. Review schema and values after conversion.

Do my files leave my device?

No. Thanks to advanced file-processing technology, your files are processed directly on your device, inside your browser. OneKit does not receive your input files or results. Required public processing libraries may download when you first use the tool.

File privacy and local processing →

Install OneKit

Keep OneKit in its own app window, with a shortcut on your device.