Private by design. No servers, ever.

XML to Markdown converter & visual editor for Mac.

Turn XML into clean Markdown for LLMs, agents, and docs. Then explore, edit, compare, merge, query, and validate it privately on your Mac.

Download for Mac
  • 100% on-device
  • No uploads
  • No account, no analytics
XML Lens editor showing a structure tree, syntax-highlighted XML, and node inspector

Private by design

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
  • Processed on your Mac

    Parsing, formatting, XPath, comparison, merge, and conversion all run on-device in a native macOS app.

  • Nothing phones home

    No file uploads, no product analytics, no accounts, and no tracking identifiers of any kind.

  • Locked-down XSLT

    Remote stylesheet imports, remote document calls, and external entities are never loaded.

One workspace. Every XML job.

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

New in XML Lens 1.8

Turn XML into clean Markdown for LLMs and agents.

Convert a full document—or one Visual Map subtree—into readable Markdown on your Mac. Choose Smart, Outline, Table, or Code fence output, then copy the result or save a .md file.

  • Four Markdown styles for different XML structures
  • Estimated output size and token count
  • Fully local conversion with no uploads
XML Lens for macOS converting an XML product catalog into clean Markdown with Smart, Outline, Table, and Code fence styles
Convert XML to clean Markdown locally. Nothing is uploaded.

Merge XML files without leaving your Mac.

Combine two to five well-formed documents in a chosen order. Wrap them under a new root, or append children when every file already shares the same root. The merged XML stays on your Mac.

  • Wrap documents under a new root, or combine matching roots
  • Well-formedness checks with line and column diagnostics
  • Copy, save, or open the result in the editor
XML Lens Merge XML workspace for macOS showing catalog.xml, orders.xml, and stock.xml combining into merged.xml with Wrap selected and a no-uploads privacy badge
Merge XML in XML Lens. Your documents stay on your Mac.

See any XML document as an interactive map.

Turn dense markup into a clear, explorable hierarchy. Follow parent–child relationships, inspect values and namespaces, and move from any node straight back to its source.

  • Pan, zoom, and fit the full document
  • Collapse branches without losing context
  • Click to inspect. Double-click to reveal in source.
XML Lens Visual Map for macOS showing an interactive XML hierarchy with namespaces, values, zoom controls, and a no-uploads privacy badge
App Store Visual Map artwork for XML Lens 1.6. Your documents stay on your Mac.

XML → Markdown

Create clean Markdown with Smart, Outline, Table, or Code fence output, then copy it or save a local .md file.

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.

Merge XML

Combine two to five well-formed files locally. Wrap them under a new root, or append children when the roots already match.

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.

Themes + Text Zoom

Choose Dark, Light, Ocean, Forest, or Sepia, then adjust editor, tree, and compare text with familiar macOS zoom shortcuts.

Convert with the tradeoffs in view.

Move between XML, JSON, YAML, and CSV locally—but XML does not map perfectly to those formats. Mixed content, namespaces, comments, ordering, and other details may be lost, so XML Lens shows a warning before a potentially lossy conversion.

Read the conversion limits
XML Lens converting XML to JSON in a side-by-side workspace

XML workflows

Start with the job in front of you.

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 local XSLT 1.0 while keeping loss warnings and remote-resource limits visible.

  4. 04

    Ship

    Copy, export, compare, merge, 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 · Static example
/bookstore/book[@category='programming']/title

✓ Example result: 2 matches in 38 ms

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

This is a static product example. In the app, run the expression against the open document and inspect live match previews.

Questions before downloading.

Still unsure? Ask us directly.

Can I convert XML to Markdown on a Mac?

Yes. XML Lens converts XML to Markdown locally with Smart, Outline, Table, and Code fence styles. Copy the result, save a .md file, compare estimated token counts, or copy one Visual Map subtree as focused context for an LLM or agent.

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, comparison, and merge in one focused app.

Can XML Lens visualize an XML document as a map?

Yes. Visual Map turns an XML document into an interactive node-and-connector hierarchy. You can pan, zoom, collapse branches, inspect nodes, and reveal any element in source while the document stays on your Mac.

Can XML Lens format and minify XML?

Yes. XML Lens can pretty-print XML for reading or review, minify it for compact payloads, strip comments, and apply Compact for API or Readable for review presets.

Can I compare two XML files on macOS?

Yes. XML Lens compares two editable XML documents, highlights additions, removals, and changed lines, and exports the result as Markdown, HTML, or PDF.

Can I merge XML files on a Mac?

Yes. XML Lens merges two to five well-formed XML files locally. Wrap documents under a new root, or combine children when every file already shares the same root. Merge is not a Git-style three-way merge.

Does XML Lens support XPath queries and reusable snippets?

Yes. Run XPath 1.0 expressions, inspect match previews, save useful queries, and pin frequently used XPath snippets 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 the user’s Mac. XML Lens does not collect product analytics.

What are the conversion limitations?

Conversion between XML and JSON, YAML, or CSV is local but can be lossy. Mixed content, namespaces, comments, ordering, and other XML details may not survive a round trip, so XML Lens shows a warning before potentially lossy conversions.

Does XML Lens support XSLT?

Yes. XSLT Studio runs local XSLT 1.0 transformations. Remote stylesheet resources, remote document calls, external entities, and remote imports or includes are not loaded.

How does pricing work?

Pro is available as a one-time purchase through the Mac App Store. Apple displays the current price for your storefront.

How can I get help?

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

Make XML the easy part.

Download XML Lens and get every tool on macOS 14.0 or later.

Download for Mac
  • On-device
  • No account
Requires macOS 14.0 or later · Available on the Mac App Store
XML Lens batch processing workspace