Is there an XML editor for Mac with XSD autocomplete?
Yes. Attach an XSD in XML Lens and the editor suggests the elements, attributes, and values the schema allows at the caret as you type. Type < for elements, a space inside a tag for attributes, or press Control-Space anywhere. Without a schema, it suggests names already used in the document.
Can XML Lens validate XML against an XSD while I type?
Yes. Once a schema is attached, XML Lens checks the document locally each time you pause, underlines every problem, and explains it in plain English. Hover a problem, right-click it, or press Option-Return for one-click fixes such as adding a required attribute or changing a value to an allowed one.
Can I create a new XML document from an XSD on a Mac?
Yes. Choose New Document from Schema, pick the root element, and XML Lens builds a document with the required elements and attributes in the right order, so it starts out valid against the schema. Choose Everything to include optional parts too.
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 I view, format, and compile an XSD schema on a Mac?
Yes. XSD Viewer opens a schema in an isolated workspace with a structure tree, global declarations, search, syntax-highlighted source, formatting, minification, and compilation. Visual XSD Map shows type, reference, inheritance, group, and schema-file relationships; load a local schema folder when imports or includes must be resolved. Use Validate separately to check an XML document against an XSD.
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. XSLT Studio does not load remote imports, includes, document calls, external entities, or other remote resources.
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.