EN TR
  1. Home
  2. Data converter
  3. XML to JSON

Convert XML to JSON

Counter XML → JSON
Drop your files here .xml

    XML is verbose, and modern tools and APIs usually expect JSON. JSON is the shared data format of APIs and programming languages.

    • Free
    • No sign-up
    • Batch conversion

    Why convert XML to JSON?

    To convert XML files to JSON, drop them on the counter above.

    Most files convert in seconds: no queue, no email address, and the JSON result saves straight to your computer or phone.

    How to convert XML to JSON

    1. Add your XML files

      Drag your XML files onto the counter or pick them with Choose files. You can add several at once.

    2. Check the settings

      The defaults suit most cases. Change quality, size or other options if you like; after a change, one click converts again.

    3. Conversion starts by itself

      Each file is converted to JSON and its row is stamped CONVERTED.

    4. Download your JSON file

      Get the file with Download. With several files you can download them all as one ZIP.

    XML vs JSON

    PropertyXMLJSON
    Full nameExtensible Markup LanguageJavaScript Object Notation
    TypeDataData
    Nested structureYesYes
    Plain textYesYes
    Created byW3CDouglas Crockford (RFC 8259)
    Year19982001
    Extensions.xml.json
    MIMEapplication/xmlapplication/json

    About the formats

    XML

    Extensible Markup Language

    XML is an extensible markup language that describes data with tags. It is still the standard in enterprise systems such as e-invoicing (UBL), banking and government integrations.

    All XML conversions

    JSON

    JavaScript Object Notation

    JSON is the lightweight text format web services and apps use to exchange data. It nests objects, arrays, numbers and strings.

    All JSON conversions

    Frequently asked questions

    Is converting XML to JSON free?

    Yes, completely free. No account, no daily limit, no watermark and no queue.

    Does it work on a phone?

    Yes. It works on iPhone, iPad and Android, with no app to install.

    Is there a file size limit?

    There is no size limit set by us. Files of hundreds of MB convert too; very large files take longer and are handled more comfortably on a computer than on a phone.

    Other conversions
    Family Give → Get What you gain
    JSON XML for enterprise integrations
    XML CSV imports into any system
    XML YAML readable config file
    XLSX JSON API-ready data · Excel sheets carried over
    CSV JSON API-ready data · separator found by itself
    YAML JSON API-ready data · indented structure kept
    TOML JSON API-ready data · tables and types kept
    XLS JSON API-ready data · old Excel file read
    TSV JSON API-ready data · tab-separated data read