XML to JSON Converter

Turn XML into clean JSON. Free online XML to JSON Converter – fast, private and no sign-up.

Loading tool…

Convert XML into readable JSON. Attributes become "@name" keys, repeated elements become arrays and text content is kept as "#text" when an element also has attributes.

How to use the XML to JSON Converter

  1. Type or paste your text into the box.
  2. Choose any options you need.
  3. Copy or download the result.

Frequently asked questions

How are XML attributes converted?

Each attribute becomes a key that starts with @, for example <item id="1"> becomes {"@id": "1"}.

Is there a limit on how much text I can paste?

There is no fixed limit. Several megabytes of text work fine, although very large texts may take a moment on older devices.

Is the XML to JSON Converter free to use?

Yes. The XML to JSON Converter on BookmarkBuild is completely free, with no hidden charges, no trial period and no watermark.

Do I need to create an account?

No. You can use the tool straight away without signing up or logging in.

Is my data stored or sent anywhere?

No. Everything you enter is processed in your browser and is not saved or sent to our server.

Does the XML to JSON Converter work on mobile phones?

Yes. It works in any modern browser on Android phones, iPhones, tablets, laptops and desktop computers.

Which browsers are supported?

The latest versions of Chrome, Edge, Firefox, Safari, Opera, Brave and Samsung Internet are all supported.

Do I need to install any software?

No. The tool runs in your browser, so there is nothing to download or install.

Is there a daily usage limit?

No. You can use the tool as many times as you want, every day.

Can I use the XML to JSON Converter for commercial work?

Yes. The results are yours to use in personal and commercial projects.

Does it work offline?

Once the page has loaded, the tool itself runs in your browser, so it keeps working if your connection drops. You need the internet only to open the page.

How do I report a problem or suggest a feature?

Please use our Contact page. We read every message and add new features and tools regularly.