Editor + Inspector
Edit syntax-highlighted XML while the structure tree, breadcrumbs, attributes, and generated XPath stay in sync.
Edit, inspect, compare, query, convert, and batch-process XML in one fast, private macOS app.
7-day full access · No account required

Go from raw markup to a clear answer without switching tools—or sending a file to the web.
Edit syntax-highlighted XML while the structure tree, breadcrumbs, attributes, and generated XPath stay in sync.
Review editable documents side by side, highlight changes, and export a result the rest of the team can use.
Run namespace-aware queries, preview matches, and save the expressions you reach for again and again.
Check well-formedness and validate against a schema before malformed XML reaches your next environment.
Transform XML with a local stylesheet and inspect the result without leaving your workspace.
Apply a workflow to multiple files safely. Originals are never overwritten, so automation stays reversible.
Move between XML, JSON, YAML, and CSV while keeping the tradeoffs visible before you commit.
Explore the workflow
XML Lens is organized around the job you are doing—not a drawer full of disconnected utilities.
Open a file, paste from the clipboard, type directly, or drag XML into the editor.
Inspect structure, navigate nodes, search, run XPath, and validate.
Format, convert, or apply a local XSLT while keeping every decision visible.
Copy, export, compare, or batch-process the result with confidence.
Run namespace-aware XPath against the current document, see results immediately, and save useful snippets for later.
/bookstore/book[@category='programming']/title✓ 2 matches in 38 ms
<title>Learning XML</title><title>Swift for macOS</title>Try the complete workspace free for 7 days.
Still unsure? Ask us directly.
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.
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.
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.
Yes. Run XPath expressions against the open document, inspect match previews, save useful queries, and pin the snippets you want available for quick reuse.
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.
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.
Email support@ayushdev.com for product help, purchase or restore questions, bug reports, feedback, and privacy requests.
No uploads. No accounts. No product analytics. Just local processing, native performance, and your files under your control.
Read our privacy promise