Parse XML and look at the structure your code would see.
Loading the tool...
How to use XML Parser
Paste your XML.
Open the Tree view to inspect how it was parsed.
About XML Parser
Parsing is the step that turns text into something a program can work with. This page runs that step and shows you the result as a tree. If the parse fails, you see why, with line and column.
It is a handy way to verify an API response or a feed before you write the code that reads it.
Frequently asked questions
Which parser do you use?
A standards-based JavaScript parser that checks well-formedness and keeps attributes and text separate.
What if I need XPath?
This page does not run XPath queries. You can use the tree and search box to find nodes quickly, and click a key to copy its path.
Are namespaces resolved?
They are kept as prefixes in the names, not resolved to URIs.