Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

XML to JSON

Convert XML to JSON as you type: attributes become @ keys and repeated elements become arrays.

Runs in your browserNothing uploadedWorks offline

Set up for this job. It runs on JSON, YAML, TOML and XML converter, where every option is there to change.

Loading XML to JSONRuns on this device. Nothing is uploaded.

Questions

How are attributes and text handled?

Attributes become keys that start with @. When an element has attributes and text, the text sits under #text.

When do I get an array?

An element that repeats under the same parent becomes an array. One that appears once becomes a single value, so the shape can change if the count changes.

Are numbers converted?

Text that looks like a number becomes a JSON number, except values with leading zeros such as 007, which stay strings.

Is my data uploaded?

No. It is converted in this tab. Nothing leaves your device.

All developer tools

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.