XML editor and viewer

Paste XML, drop a file or try the sample: browse it as a tree, search tags, attributes and text, copy the XPath of a node and edit it with undo and redo.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Drop an .xml (or .svg, .rss, .xhtml…) file on this area (20 MB max), or

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

How to use it

  1. Paste XML in the Text view, drop a file or choose "Try a sample".
  2. Switch to the Tree view: open and close branches, search a tag, an attribute or a text and copy the XPath of the selected node.
  3. Select a node to change its tag, attributes or text, or to add, duplicate, move or delete nodes; Undo and Redo step back and forth.
  4. Copy the result or download it as an .xml file.

Frequently asked questions

How is this different from the XML formatter?

The formatter rewrites the text with proper indentation or minifies it. Here you browse the document as a tree and edit it node by node; "Send to…" moves the result from one tool to the other.

Is my XML changed when I open it?

No: until you change something in the tree the text stays identical. After an edit, the Text view shows the document reformatted with indentation.

Does it handle namespaces?

Yes: the node panel shows the namespace of each element and the XPath query recognises the prefixes declared in the document. The default namespace (no prefix) cannot be matched in XPath 1.0 by the bare name: use local-name().

Is my data sent to a server?

No: the document is read and edited in your browser and never leaves your computer.

Privacy

The document stays in your browser: it is not sent to any server.

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain