XML viewer for structure you can see, not just tags in a text box
Maven poms, RSS feeds, SOAP envelopes, and SVG fragments all land as XML, and a flat text pane only gets you so far. This page pairs a proper xml editor with a live xml tree viewer on the right: expand nodes, skim attributes, and use the preview as an xml reader while your source stays in view. When parsing succeeds, you also get a properties column for the selected element. Click a node and the caret moves to the matching opening tag—handy when someone asks where a value lives during a review. Switch between Data, document order, table, and DOM layouts depending on whether you care about fields, narrative order, spreadsheets, or literal nodes. Format messy but valid markup, minify for transport, run Repair on common paste damage, and export or import folders without installing a desktop app.
4 preview modes
Click-to-locate
Repair & export

A visual xml viewer beats squinting at angle brackets alone
Plenty of sites offer an xml parser online that returns valid or invalid and then leaves you in the source. That is enough for a quick syntax check, but configs and integration payloads are understood through shape: which element owns a setting, where text runs between child tags, whether namespaces line up. We built this workspace for people who need an xml preview that stays tied to editing—not a screenshot tool, not a one-way pretty-printer.

Preview modes that match how you think about the file
Document order follows the file top to bottom, which helps when inline tags sit inside sentences. Data view groups fields and repeated siblings the way many analysts expect from exports. Table layout turns the same structure into name/value rows with sticky keys while you scroll—useful when a stakeholder wants something readable without learning tree shortcuts. DOM view shows literal text, CDATA, and comment nodes when you are debugging parser output. None of these replaces a full IDE; they keep you oriented before you hand the file to engineering.
The editor is there for real work: multi-tab sessions, read mode when you are presenting structure, browser save/load for drafts, and share links when you need a colleague to see the same snippet. Repair targets everyday accidents—unquoted attributes, bare ampersands, missing closes, obvious tag typos—then re-validates before it writes changes back. You still fix schema and namespace policy yourself, but you spend less time hunting the first broken character.
Back to topClick-to-locate between preview and source
Select a node in the tree or table and the editor highlights the corresponding tag. Edit a value in text and confirm the node you meant in the preview—both panes stay aligned.
More visual than a basic xml tree viewer
Attributes show inline in the tree, the properties sheet lists the current level, and table mode keeps keys visible while long values scroll.
Lightweight xml tester for day-to-day checks
Paste a payload, watch the parser error if syntax fails, try Repair when the mistake looks mechanical, then format once the document is valid.
What you get in this xml viewer online
Tree, table, properties, repair, and export on one page—no extension required.

Built for inspection, not only validation
Treat the page as an xml viewer online when you need to understand a file quickly: paste or import, let the built-in parser online check run in the browser, then explore the result visually. The xml editor uses monospace highlighting and multiple tabs so you can keep a sample beside production data. The xml preview on the right is not a static screenshot—it rebuilds when you type, which makes it a practical xml tester during integrations. If you usually rely on desktop tools, think of this as the xml reader you open before escalating to an IDE: same element/attribute/text model, less setup. Folder import lists .xml and related text files in a sidebar; export by tab or by folder when you need files back on disk. Format and minify stay disabled until syntax is clean; Repair handles many paste issues automatically, then you format for a readable handoff. Share links and browser cache are optional conveniences—nothing uploads for ordinary editing. Compared with opening XML in a generic text editor, you spend less time scrolling for one attribute and less mental energy reconstructing hierarchy from indentation alone.
- Four preview modes—Data, document order, table layout, and DOM—so you read the same file the way it actually behaves.
- Click any row in the xml preview to jump the editor to that tag; the tree works like a map, not a separate log.
- Properties panel lists attributes and child fields at the current level without opening every branch.
- Repair common syntax mistakes, format or minify valid XML, and export—plus folder import when you are juggling several configs.
How do I view an XML file?

Paste and pick a preview mode
Copy the snippet into the editor at the top of the page. When the status shows valid XML, open the tree panel and choose Data, document order, table, or DOM. Click any node to jump the editor to that tag—useful when the file is long and you already know the element name but not the line number.

Import from disk or a project folder
Use Import file for a single document or Import folder to browse a directory in the sidebar. Tabs keep separate files in one session, which helps when you compare staging and production configs side by side.

Edit, repair, then format
Make small fixes in the xml editor, watch the preview update, and run Repair if the parser complains about quotes, ampersands, or mismatched closes. After the document validates, Format adds indentation; Minify gives you a single line for logs or tickets.
How to open an XML file without leaving the browser
Try the xml viewer on this page
Scroll to the workspace, paste or import, and switch modes until the structure clicks.
XML Viewer
- Visual xml tree viewer with table and DOM layouts
- Click preview rows to locate tags in the editor
- Repair, format, minify, and multi-tab editing
- Folder import and export when you work with many files

