XML Viewer

Open and View XML Files

  • Text XML Viewer with pretty-print
  • View XML with line numbering, bookmarking, & source folding
  • Syntax coloring & entry helpers
  • Intelligent XML editor functionality
  • Well-formedness checking & validation
  • AI Assistant for generating XML
  • Grid View for a graphical view of XML structure
  • Visual XML editor
  • XML tree view
  • JSON viewer
  • SmartFix XML validator with auto-correction
  • Markdown editor
  • Advanced views for XSD, JSON, WSDL, XBRL, Avro, & more

Intelligent XML File Viewer

XMLSpy provides seven powerful, synchronized views that allow you to open and analyze XML files in multiple ways, whether you prefer to see the code in text or a graphical view. Regardless of your choice, XMLSpy makes it easy to immediately understand the structure and content of your XML document. You can even view JSON files.

Helpful visual cues in both Text XML View and the tree-like Grid View make analyzing and understanding XML files easy. If you need to edit the XML document, intelligent entry helpers and SmartFix XML validation provide helpful editing guidance and automatic correction of validation errors.

The XML Viewer in XMLSpy makes it easy to view XML files and understand their structure

The various tabs of the XMLSpy are customized for XML files, schemas, JSON, WSDL, XBRL, or other formats. When you make a change in one of the graphical XML views, the change is automatically reflected in the text view, helping you immediately understand relationships and the impact of every change.

XMLSpy also supports complimentary technologies such as JSON, HTML, CSS, and Avro, making it easy to view and edit big data and web code.

Text-based XML Viewer

When you open an XML file in the text view, XMLSpy XML Editor provides numerous features to help you visualize, navigate, and understand the structure of the file.

Customizable syntax coloring in XML Text View displays the different components of the XML document - elements, attributes, content, and so on - in different colors for immediate understanding.

Line numbering in the XML Viewer allows for easy file navigation. You can go directly to any line and character number using a button on the XMLSpy toolbar. Bookmarking lets you set points of reference in the text that you can jump back to at any time. Bookmarks are displayed in the margin adjacent to the line numbers.

Source folding lets you expand and collapse portions of the XML file you are viewing, taking advantage of the hierarchical structure of XML to present your document in a neat and orderly manner. Indentation guides show the logical links between corresponding opening and closing element tags within the file.

Another useful feature of the text-based XML viewer is the pretty-print button, which reformats your XML document by indenting opening and closing element tags so that the layout reflects the structure of the document. Pretty printing makes it easier for the human eye to scan and understand the XML markup, and edit the XML document.

Intelligent XML editing features such as code completion, context-sensitive entry helper windows and drop down menus, advanced find & replace options, and more make the job easy.

Grid View / XML Tree Viewer

XML Tree Viewer in XMLSpy shows the XML file structure graphically

For a graphical XML Viewer, click over to XML Grid. This shows the hierarchical structure of any XML-compliant document through a set of nested containers. These can be easily expanded and collapsed to get a clear picture of the tree-like structure of the XML file.

The Grid XML Viewer also includes database/table view, which automatically detects sequences of repeating elements and rearranges the presentation in an easy-to-view table. Grid View achieves this database/table representation by showing the respective attributes and sub-elements of the repeating element as columns in the table - and you can flip table rows and columns to display different types of data. For instance, in the screenshot above the table has many columns but few rows. Flipping the rows and columns makes the content immediately more accessible.

The XML Grid Viewer includes SmartFix XML validation, automatic image viewing, drag and drop editing, pasting data from external applications, support for very-large XML files, and much more.

One of the most powerful aspects of XML Grid View is that it lets you take advantage of XPath and XQuery to filter and process data directly in the view.

A filter can be set on one or more of any elements in the document to customize the display of the document, with a Filter to Focus command that gives you a head-start composing a valid XPath filter.

Formulas are composed with XQuery to calculate a result or generate a nodeset that can be stored in the document.

XQuery formula in XML Grid View

Watch the XML Viewer Demo

Authentic View in XMLSpy

XMLSpy includes the unique WYSIWYG XML editing view when an XML document is associated with an Authentic Form. The Authentic Form provides the ability to directly edit XML content through easy-to-use document templates with the benefits of real-time validation and other advanced features. It enables XML documents to be displayed without markup and with appropriate formatting and data-entry features such as input fields, combo boxes, and radio buttons. Data that the user enters in Authentic View is entered into the XML file. These features make it easy for non-technical business users to easily create and edit valid XML documents.

Authentic Forms are designed in Altova StyleVision.

WYSIWYG XML viewer using Authentic in XMLSpy

Why is XMLSpy the best XML Viewer?

Developers and technical users often search for the best XML viewer, and with many options available, it's difficult to determine which tool is best-suited for your project. Unlike online tools, XMLSpy is so much more than just a basic XML viewer.

In addition to letting you view XML files graphically, you'll also have access to SmartFix XML validation, intelligent XML editing functionality and guidance, one-click conversion tools, and support for JSON and myriad related technologies - all in one tool.

XMLSpy makes it easy to move beyond simply viewing an XML file. And, you can try it free for 30-days, with no credit card required.