Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

XML Viewer

Viggo MeestersViggo Meesters16 downloads

Open .xml files as a read-only tree with search, source view, and parse warnings.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

XML Viewer

XML Viewer

XML Viewer is a read-only plugin for browsing .xml files as a structured tree and syntax-highlighted source. It is built for AI-generated XML, SOAP payloads, config exports, sitemaps, integration files, and quick inspection of XML without leaving the vault.

XML Viewer preview

Features

  • Opens .xml files in a dedicated view.
  • Shows a tree view by default.
  • Provides a source view with line numbers and lightweight XML syntax highlighting.
  • Filters visible nodes by element names, attribute names, attribute values, text, comments, and CDATA.
  • Shows element names, attributes, namespace prefixes, child counts, text previews, and node paths.
  • Renders comments, CDATA, processing instructions, document type nodes, text nodes, and attributes distinctly.
  • Includes a compact outline for top-level elements.
  • Reports malformed XML without crashing and keeps the source view available.
  • Applies a 10,000 node render cap to keep large XML files responsive.
  • Stays read-only by design: it never writes back to XML files.

Large files

XML files can become large quickly, especially generated SOAP payloads and config exports. XML Viewer renders the first 10,000 nodes to keep the view responsive. Additional nodes are counted and reported in the warning area.

Privacy and security

XML Viewer does not make network requests and does not send vault content to external services. It does not use the system clipboard. It reads files through the vault API and renders a local view.

The plugin parses XML locally with the runtime DOMParser. It does not execute XSLT, does not validate XSD or DTD files, and does not intentionally resolve external entities or resources.

Why read-only?

XML editing can easily damage whitespace, entity escaping, comments, CDATA, processing instructions, and schema-sensitive element ordering. XML Viewer intentionally avoids writing to disk in v0.1.

Installation

Community plugin directory

XML Viewer is ready for Community plugin directory submission. Once accepted, it can be installed from Settings -> Community plugins -> Browse.

Manual installation

Until the community directory submission is accepted:

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Create this folder in your vault: .obsidian/plugins/xml-viewer/.
  3. Put the downloaded files in that folder.
  4. Reload the app.
  5. Enable XML Viewer in Settings -> Community plugins.

BRAT installation

For beta testing, install the plugin with BRAT using this repository URL:

https://github.com/viggomeesters/obsidian-xml-viewer

Usage

Open any .xml file in your vault. The file opens with XML Viewer.

Use the toolbar to:

  • filter visible nodes
  • switch between tree and source views
  • refresh the file after external changes

Malformed XML automatically shows the parse warning and source view so the raw file remains inspectable.

Development

npm install
npm run build
npx tsc --noEmit
npm test

For local development, copy or symlink this repository into .obsidian/plugins/xml-viewer/ inside a test vault.

Release process

Community plugin files are installed from GitHub releases. For each release:

  1. Update manifest.json, package.json, and versions.json.
  2. Run npm install, npm run build, npx tsc --noEmit, and npm test.
  3. Create a GitHub release whose tag exactly matches manifest.json.version.
  4. Attach main.js, manifest.json, and styles.css as release assets.

The repository includes a GitHub Actions release workflow with artifact attestation support. If GitHub Actions is disabled for the owner account, manual releases are still usable, but automated review may show a recommendation about missing artifact attestations.

Community directory submission

The repository is prepared for Community plugin submission. The remaining submission step must be completed by the repository owner because it requires signing in, linking GitHub, and confirming the developer policies/support commitment.

Submit this repository URL:

https://github.com/viggomeesters/obsidian-xml-viewer

Steps:

  1. Sign in to community.obsidian.md.
  2. Link the GitHub account that owns this repository.
  3. Open Plugins -> New plugin.
  4. Enter the repository URL above.
  5. Confirm the developer policies and submit.
  6. Address any automated review feedback.

The current release is ready for review:

  • root README.md, LICENSE, and manifest.json exist
  • manifest.json.version is 0.1.0
  • GitHub release 0.1.0 exists
  • release assets include main.js, manifest.json, and styles.css
  • versions.json maps supported app versions

Official references:

  • Submit your plugin
  • Obsidian releases repository

License

MIT

97%
HealthExcellent
ReviewSatisfactory
About
Browse .xml files in a read-only view as a structured tree or syntax-highlighted source with line numbers. Filter nodes by element or attribute names/values, text, comments and CDATA; view attributes, namespace prefixes, child counts, text previews and node paths. Report malformed XML, cap rendering at 10,000 nodes for performance, and parse files locally with no network or clipboard use.
FormatsVisualization
Details
Current version
0.1.0
Last updated
3 days ago
Created
3 days ago
Updates
1 release
Downloads
16
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Viggo MeestersViggo Meestersviggomeesters
GitHubviggomeesters
  1. Community
  2. Plugins
  3. Formats
  4. XML Viewer

Related plugins

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

ExcaliBrain

An interactive, structured mind-map of your Obsidian vault.

Chat View

Chat View lets you quickly and easily create elegant Chat UIs in your Markdown Files.

Persistent Graph

Save and restore the positions of nodes on your graph.

Pandoc Plugin

Commands to export to Pandoc-supported formats like DOCX, ePub and PDF.