XML to JSON converter

Paste XML - an API response, a feed or a config file - and get clean JSON as you type.

Free · No sign-up · Your files are processed on your device and never uploaded

How to use XML to JSON

  1. Paste or type…
    1

    Paste or type

    Put your content in the box - or try the example.

  2. Result appears instantly
    2

    Watch the result

    The result updates as you type - choose options above if needed.

  3. TXTCopy / Download
    3

    Download the result

    Ready in seconds. Your file never left your device.

Features

  • Attributes are kept as @_ keys.
  • Repeated elements become arrays.
  • Numbers and booleans are detected.

Private by design

Everything runs in your browser. Nothing you paste is uploaded, logged or stored - safe for API responses, tokens and customer data.

Questions

Is the XML validated?

Yes - errors are shown with the line number.

More developer tools

All tools →