AmpCub TOOLS
AmpCub site ↗
Privacy: Files never leave your browser.

DEVELOPER · AmpCub developer helper

XML ↔ JSON converter

Move quickly between XML and JSON structures.

Convert XML and JSON locally with a compact, explicit mapping. Attributes use @name, text uses #text, and repeated child elements become arrays.

Local only · DTD / ENTITY rejected

Convert XML and JSON

Compact mapping and safety limits

Frequently asked questions

Why are there whitespace-only #text values?

Indentation is text in XML. Minify the XML first or ignore those values.

Will the round trip be identical?

The structure matches, but mixed-content order, comments and indentation are not guaranteed.