Format and indent XML documents with proper nesting and tag alignment.
Edit XML files with a robust code editor featuring syntax highlighting, code folding, and auto-formatting.
Validate XML well-formedness and check for unclosed tags or syntax issues.
Convert XML documents and attributes into clean JSON objects.
Pretty print your XML data with proper indentation.
Parse and validate XML strings to check for well-formed syntax.
Opening an XML file in a browser or a plain text editor usually gives you either a rendering you did not want or an unformatted block of markup that is hard to follow. This XML viewer is built for reading the document as a document: syntax highlighting separates element names, attributes, and text content, and folding lets you collapse sections so the overall structure is visible without scrolling past every child node. It suits the files people actually need to read — RSS and Atom feeds, SOAP responses, sitemaps, build and application configuration, and data exports from systems that still speak XML. Paste the contents and start reading. Everything is parsed and rendered in your browser, so there is no upload step and no size limit imposed by a server, and documents containing internal URLs or customer data stay on your machine.
Paste the contents here. The document is highlighted and made foldable immediately, with no install and no upload.
Browsers may try to apply a stylesheet or render a feed rather than showing the markup. This viewer always shows the document as markup so you can read its actual structure.
Yes. Folding lets you collapse repeated entries so a long sitemap or export stays navigable.
It checks well-formedness — correct nesting, closed tags, quoted attributes, a single root. Validation against an XSD or DTD is a separate concern.
No. Parsing and rendering happen entirely in your browser, and nothing is transmitted or stored.
This tool is for reading. Use the XML Editor if you need to make changes, or the XML Formatter to reindent a badly formatted file.