xml2json convert xml to json. see usage below python xml2json.py real.xml trying to open real.xml... converting to json... writing real.json to disk... complete