Want to convert JSON array to XML file?
Try Withdata Data File Converter, a desktop JSON to XML converter for Windows, MacOS, and Linux, Convert JSON array to XML, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Convert files locally and privately, avoid uploading JSON file(s) to online services.
Download DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Convert JSON array to XML
Choose JSON array file -> Set XML file -> Convert JSON array to XML
“Start a New Convert” for “JSON array to XML”.
Select From “File” “JSON” To “File” “XML”.
1. Open source JSON array file.
Support large JSON array file (big than 4GB).
Source JSON array file’s content is like this:
2. Config target XML file.
3. Set rows options.
4. Convert JSON array to XML.
After converting, you can view the output XML file.
Convert JSON array to XML in command line
Save “JSON array to XML” session, then you can:
- Convert JSON array to XML in Windows command line.
- Convert JSON array to XML in Linux command line.
- Convert JSON array to XML in macOS command line.
Set scheduled tasks for converting JSON array to XML
You can schedule and automate this “JSON array to XML” conversion task by:
- Save session and create .bat (Windows) or .sh (Linux/macOS) file for “JSON array to XML” conversion.
- Set scheduled task for “JSON array to XML” conversion.
FAQ
More about Withdata DataFileConverter – JSON array to XML converter
Download Withdata DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
JSON Array → XML reference
Type mapping
| Value kind | in JSON Array | in XML |
|---|---|---|
| Int | 1234 (number) | <int>1234</int> |
| Bigint | 9007199254740993 | <bigint>9007199254740993</bigint> |
| Decimal | 1234.56 (number) | <decimal>1234.56</decimal> |
| Float | 1.234e10 (number) | <float>1.234e10</float> |
| Text | "text" (string) | <char>text</char> |
| Long text | "multi-line\ntext" (escaped newline inside a string) | <text>multi-line text</text> (entities for & <) |
| Date | "2026-09-18" (string) | <date>2026-09-18</date> (xs:date with an XSD) |
| Datetime | "2026-09-18T14:30:00Z" (string) | <datetime>2026-09-18T14:30:00Z</datetime> (xs:dateTime) |
| Binary | "base64:..." (string) | <blob>base64...</blob> (xs:base64Binary) |
| Boolean | true / false (boolean) | <bool>true</bool> |
| JSON | nested object or array, kept as structure | escaped inside an element, or its own sub-tree |
Dialect differences
Both JSON Array and XML are file formats, so what differs below is how each one chooses to represent a value.
| Property | in JSON Array | in XML |
|---|---|---|
| identifiers | Double quotes; backslash escapes | Attribute values in quotes; entities (& < >) for ... |
| dates | No date type: dates arrive as strings and the reader must p... | Text (xs:date / xs:dateTime when an XSD is in play) |
| binary | Not supported natively - base64 inside a string | base64Binary / hexBinary inside text |
| separator | Braces and commas | Tags, not delimiters |
| encoding | UTF-8 by definition | Declared in the XML declaration |
| typing | string, number, boolean, null, object, array - no date type | None in the markup itself |
| shape | Nested objects and arrays | Arbitrary tree |
Data File Converter without the manual work
For batch jobs, large files and scheduling use the Data File Converter converter — an offline desktop app for Windows, Linux and macOS. Free trial.