Export XML
safe · secure · no server · works offline · fast
…or paste a file you copied in Finder, or just start typing at the cursor.
↓ scroll for about & FAQsafe · secure · no server · works offline · fast
…or paste a file you copied in Finder, or just start typing at the cursor.
↓ scroll for about & FAQChoose a format, its options, and the maximum size of the download.
It’s one lens on OmniViewer’s XML Viewer & Formatter — Beautify & Query .xml: drop a file and every tab is one click away. OmniViewer opens every file format, entirely in your browser — no upload, no server.
No. OmniViewer is a static page with no server-side processing: your .xml file is read directly by your browser, and formatting, JSON export, tree, XPath and statistics run locally. The file never leaves your computer.
The raw and hex views are windowed — they read only the bytes needed to paint the screen — so they open files of effectively unlimited size, up to 20 GB and beyond; the engine behind them has been tested in-browser with a 40 GB file. The formatter, JSON conversion, tree, XPath and stats parse the document in memory, so on very large files they work on a bounded prefix and tell you when they do.
Yes. Choose JSON in Export to download the parsed XML. Attributes become @name keys, repeated children become arrays, mixed text is kept under #text, and pure-text elements become plain strings.
Yes. The XPath tab is a live query playground: type an expression such as //item/title, //@href, /root/*[2] or //item[@id="3"] and it shows every matching node with its path and a preview. It supports absolute, relative and descendant (//) location paths, the *, @name, text(), comment() and node() tests, and predicates including position, last(), attribute tests and child-element tests. It is a pragmatic XPath 1.0 subset, evaluated entirely in your browser.
Yes. A bar above the views reports whether the file parses as well-formed XML, how many elements it contains and its root element — or, if it does not parse cleanly, the first error. Past a size threshold the check is skipped to stay fast, and it says so.
XML (Extensible Markup Language) is a W3C standard from 1998 for storing and transporting structured data using custom tags. Unlike HTML, which has a fixed vocabulary of tags meant to be displayed by a browser, XML lets you define your own tags to describe data, and it is strict about being well-formed: every tag must be closed and properly nested. RSS and Atom feeds, SVG, office documents and many config files are all XML.