XML Viewer

Paste an XML document and this tool renders it as a navigable, collapsible tree instead of a flat block of angle brackets. That makes it much easier to scan an RSS feed, SOAP response, or config file for one specific element without reading through the whole thing line by line.

Paste an XML document like this to browse it as a tree:

<catalog><book id="1">Title</book></catalog> A collapsible tree: catalog → book (id="1") → "Title"

Can I expand and collapse specific nodes?

Yes, each element in the tree can be expanded or collapsed on its own so you can focus on the part of the document you actually care about.

Does the viewer validate my XML?

It will flag XML that isn't well-formed, since a broken document can't be rendered as a tree in the first place.

Does viewing change my XML in any way?

No, this tool is read-only. It displays your XML without modifying tags, attributes, or content.

How is this different from the XML formatter?

The formatter gives you back reformatted XML text to copy elsewhere. The viewer is for browsing the structure interactively, right on the screen.