How it works
How to use the XML Viewer
Paste or open XML
Large files are fine — the tree only renders what is on screen.
Browse the tree
Expand elements, search names and values, and copy the path to any node.
Export as JSON
Switch to the JSON tab to see or copy the converted structure.
How XML is shown
Elements become nested nodes, attributes appear as @name keys and element text as #text. Repeated sibling elements are grouped into arrays so lists are easy to scan.
Built for developers
Why developers use it
Private by design
Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.
Instant results
Output updates as you type, with precise error locations when something is wrong.
Works offline
Once loaded, the tool keeps working without a connection. Install it as an app if you like.
Free, no sign-up
No accounts, no limits, no watermarks.
FAQ
Frequently asked questions
Is my XML validated?
Yes. Malformed XML is reported with the line and column of the first error.
Is my data uploaded anywhere?
No. Everything runs locally in your browser — nothing you paste or open is sent to a server, logged or stored. The tool keeps working offline once the page has loaded.
Keep going
Related tools
- XML FormatterBeautify and format XML code
- XML ValidatorCheck that XML is well-formed
- XML DiffCompare two XML documents side by side
- XML Pretty PrintPretty-print XML with indentation
- XML EditorEdit XML with highlighting and validation
- XML MinifyMinify XML by removing whitespace and comments
- JSON ViewerExplore JSON as a searchable tree
- JSON to XMLConvert JSON to XML and XML to JSON