Back to AllToolio

XML & e-invoice viewer

Format XML, open a KSeF invoice or preview HTML.

Paste XML or open a file.
0
Elements
0
Depth
0 B
Size

          

How to use the XML viewer

  1. Open the XML viewer and paste a document into the XML tab, or choose Open file to load an .xml file from your device. The file is read in your browser.
  2. Select Format for indented output or Minify for compact output. A file opened from your device is formatted automatically, so you can start reading it straight away.
  3. Select Validate to check whether the XML is well formed. If parsing fails, the status area displays the browser parser’s message to help you locate the problem.
  4. Choose Tree view to inspect nested elements and attributes. Expand or collapse branches as needed; the counters show the number of elements, maximum depth and input size.
  5. Copy the text result or download it as an .xml file. The separate HTML tab previews pasted or opened HTML with scripts disabled and external resources blocked by default.

When these XML tools help

  • Read an XML export from another application when the raw tags make its structure difficult to follow.
  • Compare an indented document with a compact version before copying it into another workflow.
  • Find malformed markup in a product feed or configuration file using the parser’s error message.
  • Browse element names and attributes in a collapsible tree without scrolling through the entire source.
  • Preview an HTML email template; external images and styles load only if you allow them.

Frequently asked questions

Is the XML file uploaded when I open it?

The XML file is processed locally in your browser and is not uploaded by this tool. Opening a file reads its contents into the page so you can format, validate or inspect it.

Does Validate check an XSD schema?

No. Validation checks whether the document is well formed XML, such as whether tags close correctly. It does not test the document against an XSD or confirm that an application will accept its data.

What happens with a very large XML file?

Files opened with the picker have a 20 MB limit. Parsing and displaying a large document also depend on your device’s available memory. Tree view stops building branches after 5,000 elements.

Will Format preserve every space in my XML?

Formatting rebuilds the document from parsed XML. It removes whitespace-only text nodes and trims text in some elements, so keep the original when spacing inside text matters.

Can I save the formatted or minified result?

Yes. Use Copy to place the text on your clipboard, or Download .xml to save it as a file. If you have not generated a result, those buttons use the current input.

Where can I view a KSeF invoice?

The KSeF tab gives a quick readable view of FA(2) and FA(3) invoice XML. Once it renders an invoice, follow the link beneath it to the dedicated KSeF XML invoice viewer.

Related tools

Text and developer tools

This season