jsonecho

XML Viewer

Open XML and explore it as a tree instead of a wall of tags.

Loading the tool...

How to use XML Viewer

  1. Paste XML or drop a file.
  2. Switch to Tree view and fold what you do not need.
  3. Search for tag names or values in the box above the tree.

About XML Viewer

A big XML file is hard to read as text. The tree view shows each element as a node you can open or close. Attributes appear as keys with the prefix @_ and text content as #text, so you can tell at a glance what is an attribute and what is content.

Use the search box to jump to a tag name or a value. Clicking a key copies its path, handy when you are working out an XPath-like route to some node.

Frequently asked questions

Why do attributes show up as keys?

The tree is built from the same data structure that the XML to JSON converter produces, which treats attributes as keys that start with @_. It keeps the view consistent with the JSON you would get.

Does the viewer support namespaces?

Yes. Prefixes remain part of the name, for example soap:Envelope.

Can I open a feed or sitemap by URL?

Yes, use From URL. If the site does not allow direct access we fetch it through our server.

More in XML Tools

All tools →