data · convert

XML to JSON

Well-formed XML → JSON. FileUp24 typed XML is restored exactly; any other XML uses the common mapping: attributes → "@attr", text → "#text" or the value itself, repeated elements → arrays. Plain XML values stay strings — XML has no types — and a single element cannot be told from a one-item list.

Workspace Files stay on your device
A little guidance. A better result.

How to use XML to JSON

Attributes → @attr, text → #text, repeated elements → arrays; values stay strings. FileUp24 typed XML round-trips exactly.

  1. Prepare your input

    Paste well-formed XML.

  2. Use the workspace

    Inspect attributes, repeated elements and text in the JSON preview.

  3. Check your result

    Check the mapping before passing it to another system.

Know the limits

Ordinary XML values remain strings; a single element cannot always be distinguished from a one-item list.

Where does my input go?

This browser tool processes your input on your device. Optional analytics is a separate choice; it is not needed to use the tool. Keep your original until you have checked the result.

Read the privacy details →
Made for the work in front of you.Report a problem ↗