convert-xml-to-json convert-xml-to-json is a command-line tool to convert XML files to JSON files. Use it like so: npx convert-xml-to-json foo.xml foo.json