XML validation and XSLT for Mac

Validate XML and run local XSLT 1.0 on Mac

XML Lens checks XML well-formedness and validates a document against an XSD schema on macOS, either in one pass or continuously as you type in the editor. XSLT Studio runs XSLT 1.0 locally and deliberately does not load remote imports, includes, document calls, external entities, or other remote stylesheet resources.

Listed as XML Editor Lens: XPath on the Mac App Store.

XML Lens editor on macOS showing an invoice with a mismatched closing tag, explained in an XML needs attention banner with the exact line and column
XML Lens explains a broken tag in plain English and links to the exact line and column.

Validate as you type in the editor

Since XML Lens 1.9.13, the editor can validate against an XSD continuously. Attach a schema and every problem is underlined as you type, explained in plain English, and fixable in one click, with schema-aware autocomplete for elements, attributes, and values.

See schema-aware editing for suggestions, live checks, and one-click fixes.

Catch structural and schema problems

Open or paste XML, inspect parse errors, and use the validation workspace before handing a document to another system. XSD validation uses a schema you select locally, so the document and schema remain within the desktop workflow.

When the schema itself needs review, use XSD Viewer to browse its structure and globals, search declarations, map relationships, format or minify source, and compile locally. Load a schema folder when local imports or includes must be resolved. XSD Viewer stays isolated from the XML document being validated.

Before validating against a schema someone sent you, open the XSD and read what it defines: which elements can be the root, and which parts are required or optional.

  • Well-formedness feedback for malformed XML
  • XSD schema validation
  • Visible validation errors and success state
  • Local processing with no online validator upload

Transform with XSLT 1.0

XSLT Studio accepts an editable local stylesheet, shows the transformed output, and lets you open that output in the editor. The app’s implementation is XSLT 1.0; it does not promise newer XSLT versions or extension functions.

  • Open or edit a stylesheet locally
  • Transform the current XML document
  • Copy output or open it in the editor
  • Remote stylesheet resources are not loaded

Security and fidelity boundaries

Remote imports/includes, remote document calls, external entities, and remote resources are blocked to keep transformations private and predictable. Validate and review the output for your stylesheet and XML before shipping it.