Developer tools
JSON and XML string-record converter
Convert flat JSON records with string values to XML records and fields and back, for up to 16 records and 8 columns, then download the output.
Use an explicit JSON or XML example, edit values and calculate. Native exports and report exports are separate; reloading removes temporary scenarios.
Result
Method:
Only records / record / field with one name attribute, string values and identical keys:1–16 records, 1–8 columns. No nested objects, inferred types, XML declarations, DTDs, namespaces or general XML mapping. Source 2000 and output 3500 UTF16 units.
Decimal results are approximate. Inputs stay in this browser tab.
How it works
Own flat string-record JSON and explicitly named records/record/field XML. Only records / record / field with one name attribute, string values and identical keys:1–16 records, 1–8 columns. No nested objects, inferred types, XML declarations, DTDs, namespaces or general XML mapping. Source 2000 and output 3500 UTF16 units.
Worked example
Own two-column string-record example; value 0012 keeps leading zeros.
Frequently asked questions
How do I convert JSON to XML?
Enter flat string records as JSON and convert. The result uses a records, record and field structure, with each field carrying a name attribute.
Can I convert XML back to JSON?
Yes, but only XML using records, record and field with one name attribute, string values and identical keys.
What size limits apply?
1 to 16 records and 1 to 8 columns. Source 2000 and output 3500 UTF-16 units.
Does it support nested objects or XML declarations?
No. There are no nested objects, inferred types, XML declarations, DTDs, namespaces or general XML mapping.
Are leading zeros preserved?
Yes. In the example, the value 0012 keeps its leading zeros.
Can I upload a file?
Yes, an optional UTF-8 JSON or XML file of 8 KiB and 2000 units.