Display XML Statistics
Inspect any XML document: element count, attribute count, text nodes, comments, max depth, tag frequency and average children — instantly, in your browser.
Input
Output
About Display XML Statistics
Display XML Statistics gives you a full breakdown of any XML document: how many elements, attributes, text nodes, comments, CDATA blocks and processing instructions it contains, plus the maximum nesting depth, per-tag frequency and average number of children per element.
Features
How to Use
Examples
The sample catalog report shows 17 elements, 2 attributes, 13 text nodes, a max depth of 3 and 2 product rows.
Benefits
Frequently Asked Questions
Is my XML sent to a server?
No. Everything runs locally in your browser. Your data is never uploaded, stored or logged.
Can I download the result?
Yes — use the Download button below the output area, or Print / Save PDF for a printable copy.
More XML Tools
View AllConvert CSV to XML
Free CSV to XML converter that builds valid XML from CSV rows, with co...
Convert XML to Bencode
Convert an XML document into the Bencode encoding used by BitTorrent. ...
Convert XML to Base64
Free XML to Base64 converter that UTF-8 encodes your document and prod...
Extract All XML Comments
Extract only the comments from an XML document — every annotation in o...
Filter an XML File
Filter XML keys and values that match a pattern — keep only matching e...