All Tools
Categories
XML Tools 64 Email Marketing Tools 55 Import-Export Tools 50 Text Tools 12 JSON Tools 10 Shipping Freight Tools 5 Calculator 4 Marketing Tools 3
About Contact Privacy

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

  • Count elements, attributes, text nodes, comments, CDATA and processing instructions
  • Show maximum and average nesting depth
  • Per-tag frequency breakdown with sorted table
  • Element count grouped by child count
  • Copy or download the full report as plain text
  • How to Use

  • Paste your XML in the input box, or click Open file.
  • Optionally tick "Include per-tag breakdown" for tag frequency.
  • Watch the live report update as you type.
  • Copy or download the report when ready.
  • Examples

    The sample catalog report shows 17 elements, 2 attributes, 13 text nodes, a max depth of 3 and 2 product rows.

    Benefits

  • Understand a document structure before you transform it
  • Spot deeply nested or bloated XML fast
  • Perfect for QA and documentation
  • 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.