BTC $64,505.00 −1.17% ETH $1,815.96 −0.77% USDT $0.9994 −0.02% BNB $590.51 −1.08% USDC $0.9997 −0.01% XRP $0.9557 −1.37% SOL $71.75 −0.99% TRX $0.3050 +0.39% FIGR_HELOC $1.04 — STETH $1,796.44 −1.86% HYPE $68.70 +2.84% ZEC $906.37 +0.33% XMR $493.53 −1.00% DOGE $0.0588 −1.13% BTC $64,505.00 −1.17% ETH $1,815.96 −0.77% USDT $0.9994 −0.02% BNB $590.51 −1.08% USDC $0.9997 −0.01% XRP $0.9557 −1.37% SOL $71.75 −0.99% TRX $0.3050 +0.39% FIGR_HELOC $1.04 — STETH $1,796.44 −1.86% HYPE $68.70 +2.84% ZEC $906.37 +0.33% XMR $493.53 −1.00% DOGE $0.0588 −1.13%

XML to JSON Converter

Turn XML from feeds, sitemaps or APIs into JSON you can work with; attributes get an @ in front and repeated elements become lists.

  • 100% Free
  • No sign-up
  • Runs in your browser

What is the XML to JSON Converter?

Working with XML in JavaScript is clumsy. Convert it to JSON: attributes are kept, and elements that repeat become arrays, so the result matches the data.

Features

Faithful conversion

Attributes and repeated elements handled.

Pretty output

Your choice of indent.

How to use the XML to JSON Converter

  1. 1

    Paste your XML.

  2. 2

    Pick the indent.

  3. 3

    Copy the JSON.

Who it is for

Feeds

Use RSS or sitemap data in JavaScript.

Tips for better results

  • Single elements become objects and repeated ones become arrays. Plan for both in your code.

Questions people ask

Is my XML uploaded?

No. Converted in your browser.

What is #text?

The text of an element that also has attributes or child elements.

Trustpilot

What our customers say

4.8 / 5Trustpilot rating
FREE BITCOIN TOOLS

Stuck Bitcoin transaction?

Paste your TXID, see where it stands, and give it a free push. No signup, no wallet access.

Try the free accelerator
  • Free
  • No signup
  • Live status