The XML workspace your Mac was missing.

Edit, inspect, compare, query, convert, and batch-process XML in one fast, private macOS app.

Download for Mac

7-day full access · No account required

XML Lens editor showing a structure tree, syntax-highlighted XML, and node inspector

One workspace. Every XML job.

Go from raw markup to a clear answer without switching tools—or sending a file to the web.

Editor + Inspector

Edit syntax-highlighted XML while the structure tree, breadcrumbs, attributes, and generated XPath stay in sync.

Compare XML

Review editable documents side by side, highlight changes, and export a result the rest of the team can use.

XPath Workbench

Run namespace-aware queries, preview matches, and save the expressions you reach for again and again.

Validate with XSD

Check well-formedness and validate against a schema before malformed XML reaches your next environment.

XSLT Studio

Transform XML with a local stylesheet and inspect the result without leaving your workspace.

Batch Process

Apply a workflow to multiple files safely. Originals are never overwritten, so automation stays reversible.

Convert without compromise.

Move between XML, JSON, YAML, and CSV while keeping the tradeoffs visible before you commit.

Explore the workflow
XML Lens converting XML to JSON in a side-by-side workspace

From raw markup to shipped work.

XML Lens is organized around the job you are doing—not a drawer full of disconnected utilities.

  1. 01

    Open

    Open a file, paste from the clipboard, type directly, or drag XML into the editor.

  2. 02

    Understand

    Inspect structure, navigate nodes, search, run XPath, and validate.

  3. 03

    Transform

    Format, convert, or apply a local XSLT while keeping every decision visible.

  4. 04

    Ship

    Copy, export, compare, or batch-process the result with confidence.

Query with confidence.

Run namespace-aware XPath against the current document, see results immediately, and save useful snippets for later.

XPath RunnerXPath 1.0
/bookstore/book[@category='programming']/title

✓ 2 matches in 38 ms

<title>Learning XML</title><title>Swift for macOS</title>

Every XML tool. One native app.

Try the complete workspace free for 7 days.

Get XML Lens for Mac

Questions before downloading.

Still unsure? Ask us directly.

What is the easiest way to view and format XML on a Mac?

XML Lens is a native XML viewer and formatter for macOS. It combines syntax highlighting, a synchronized structure tree, search, formatting, minification, XPath, and comparison in one focused app.

Can XML Lens format and minify XML?

Yes. You can pretty-print XML for reading or review, minify it for compact payloads, strip comments, and use presets such as Compact for API and Readable for review.

Can I compare two XML files on macOS?

Yes. The compare workspace places both documents in editable panes, updates the diff as you work, highlights additions, removals, and changed lines, and exports Markdown, HTML, or PDF reports.

Does XML Lens support XPath queries and reusable snippets?

Yes. Run XPath expressions against the open document, inspect match previews, save useful queries, and pin the snippets you want available for quick reuse.

Does XML Lens upload my XML files?

No. XML content, pasted text, filenames, file paths, XPath expressions, search terms, and exported reports stay on your Mac. XML Lens does not collect product analytics.

How does pricing work?

XML Lens includes a seven-day full-access trial. After the trial, Pro is available as a one-time purchase through the Mac App Store. The current price is always shown by Apple in your storefront.

How can I get help?

Email support@ayushdev.com for product help, purchase or restore questions, bug reports, feedback, and privacy requests.

Your XML never leaves your Mac.

No uploads. No accounts. No product analytics. Just local processing, native performance, and your files under your control.

Read our privacy promise