XML Viewer

Inspect XML, explore its structure, and edit supported values locally in your browser.

XML input

Result

Load the XML into the viewer to display the tree, table, and details.

Get started

  1. Paste XML into the editor or open a local XML file.
  2. Select Apply to build the Tree, Table and Details views.
  3. Browse the Tree, or edit values in the Table view.
  4. Select Apply again after any change, then download the edited XML.

Views and editing

Tree

Browse elements, attributes, text, comments and processing instructions in a collapsible hierarchy.

Table

Repeated elements, such as a list of product entries, are shown as rows. You can edit attribute values and simple text values in the cells; cells with nested or mixed content are read-only.

Details

Shows the root element, namespace, XML declaration and encoding, input size, element and attribute counts, and maximum depth.

Example: correct a price in the Table view

Paste this XML into the editor and select Apply:

<products>
  <product id="1">
    <name>Pen</name>
    <price>2.50</price>
  </product>
  <product id="2">
    <name>Notebook</name>
    <price>4.90</price>
  </product>
</products>

The Table view shows one row per product with the columns id, name and price. Change the price of Pen to 2.80 in the table: only that value changes in the editor. Select Apply again, then Download edited XML.

Technical scope and limitations

  • Input up to 5 MiB. XML deeper than 100 levels or with more than 100,000 elements and attributes is rejected as too complex.
  • The Tree shows up to 10,000 nodes and the Table up to 500 records; a notice appears when a view is cut off.
  • DOCTYPE, DTD and entity declarations and unsupported control characters are not accepted (see the FAQ).
  • A Table edit changes only the edited value; namespaces, element order and formatting stay as they are.

Frequently asked questions

Is my XML uploaded?

No. Opening, checking, viewing, editing, and downloading XML all happen locally in your browser.

Does the tool validate XML?

It checks well-formed XML syntax only. It does not validate against XSD or another schema, and it does not check semantic or business rules.

Can I edit XML values?

Yes. In the Table view you can edit attribute values and simple text values. Cells with nested, mixed or repeated content stay read-only.

Why are DOCTYPE, DTD, or entity declarations rejected?

They can trigger entity expansion, which this viewer does not support, so the tool rejects them before parsing.