XML to JSON converter
Convert XML to JSON as you type. Nothing is uploaded, and the result can be previewed as a table, copied or downloaded.
Convert XML to JSON as you type. Nothing is uploaded, and the result can be previewed as a table, copied or downloaded.
Loading the converter… It runs locally in your browser.
Elements become keys, repeated sibling elements become arrays, attributes are kept with an @ prefix and mixed text is stored under #text. It is the same convention used by most XML-to-JSON libraries, so the output round-trips.
Extensible Markup Language: a tree of named elements with attributes. Still common in feeds, SOAP services, office documents and enterprise exports.
JavaScript Object Notation (RFC 8259): nested objects and arrays with strings, numbers, booleans and null. The default payload format of web APIs.
No. The XML to JSON conversion runs entirely in your browser with JavaScript. The page works offline once it has loaded, and TableForge never receives your data.
The limit is your device's memory. Files of tens of megabytes (hundreds of thousands of rows) convert fine on a typical laptop. The preview shows the first 200 rows, but the download always contains every row.
Yes. Fields containing commas, quotes or line breaks are quoted and escaped according to each format's rules, and text is read and written as UTF-8, so accents, CJK characters and emoji survive.
Yes, use the JSON to XML converter at tableforge.io/json-to-xml, or the universal converter on the home page.