Your data is processed only in your browser.

Ctrl/⌘ + Enter — convert

How JSON, CSV, and XML are converted

Each source format is parsed into a shared data structure. The first CSV row becomes field names, repeated XML elements become arrays, and XML attributes are stored in an @attributes object.

How nested data is written to CSV

CSV works best for an array of similar objects. When a cell contains a nested object or array, the converter writes compact JSON into that cell to preserve its structure.

Local processing

Conversion runs in JavaScript on your device. Your input is never uploaded to the DevToolbox server.

Frequently asked questions

Which conversion directions are supported?

Choose any pair among JSON, CSV, and XML except identical formats. There are 6 directions in total.

Which CSV syntax is supported?

Headers, comma delimiters, CRLF or LF, double-quoted fields, doubled quotes, and line breaks inside quoted fields are supported.

How are XML attributes represented in JSON?

Attributes are placed in an @attributes object. Element text alongside child elements is stored under #text.

Can I convert confidential data?

Data is processed locally, but always verify the security of your device and browser before handling secrets.