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

Export Markdown ZIP

padane22-specpadane22-spec497 downloads

Export a note with linked notes and local attachments into a zip archive.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

Export markdown ZIP is an Obsidian desktop plugin that exports one Markdown note together with:

  • recursively linked Markdown files
  • local image and non-image attachments
  • a rewritten Markdown graph that still works after extraction

The export is written as a single zip archive to a directory you choose or configure in plugin settings.

Background

Sharing an Obsidian note is often more complicated than sharing a single .md file. In real vaults, one note usually depends on:

  • linked notes referenced through wiki links or Markdown links
  • local images and other attachments embedded in the note
  • relative paths that only work inside the original vault structure

If you only copy the current note, the receiver often gets broken links, missing images, and an incomplete context graph.

This plugin solves that problem by exporting the selected note as a self-contained zip bundle. It collects linked Markdown files, includes local attachments, and rewrites internal links so the exported content still works after extraction.

Features

  • Export the active note from the command palette.
  • Export a note from the file context menu.
  • Recursively follow Obsidian wiki links and Markdown links.
  • Include local attachments such as images, PDFs, audio, and other linked files.
  • Rewrite exported Markdown links to standard relative Markdown paths.
  • Preserve vault-relative paths inside the zip under a top-level folder named after the archive.

Usage

  1. Build the plugin with npm install and npm run build.
  2. Copy manifest.json, main.js, and styles.css into your vault at .obsidian/plugins/export-markdown-zip/.
  3. In Obsidian, open Settings -> Community plugins, disable restricted mode if needed, and enable Export markdown ZIP.
  4. Optionally set a default export directory in the plugin settings. You can also leave prompt mode enabled and choose a directory each time.
  5. Open a Markdown note and run Export markdown ZIP: Export markdown ZIP from the command palette, or right-click a note in the file explorer and choose Export markdown ZIP.
  6. In the export dialog, set the archive name and output directory, then confirm.
  7. The plugin writes one zip file whose filename matches the archive name. Inside the zip, the first-level folder uses the same name.

Example

In the example below, entries without a file extension are Markdown notes:

attachments/
├── create link 1.png
├── create link 2.png
├── none of bussiness.png
└── welcome 1.png
create link
none of bussiness
welcome

Relationships:

  • welcome.md links to create link.md
  • welcome.md also embeds attachments/welcome 1.png
  • create link.md embeds attachments/create link 1.png and attachments/create link 2.png
  • none of bussiness.md only uses attachments/none of bussiness.png and is not linked from the other notes

When you export welcome.md, the plugin produces welcome.zip. That archive includes only the files reachable from welcome.md:

welcome.zip
└── welcome/
    ├── welcome.md
    ├── create link.md
    └── attachments/
        ├── create link 1.png
        ├── create link 2.png
        └── welcome 1.png

none of bussiness.md and attachments/none of bussiness.png are not included because they are unrelated to welcome.md.

Demo GIF placeholder: add your recording at ./docs/export-welcome.gif.

Development

npm install
npm run build
npm test

Notes

  • Desktop only. manifest.json marks the plugin as desktop-only.
  • Vault read access is used only during export. The plugin reads the selected Markdown file, Markdown files reachable through local Obsidian or Markdown links, and local attachments included in that export graph.
  • Files outside the reachable export graph are not read or included.
  • Unresolved local links are left unchanged and counted in the export result.
  • External URLs are preserved unchanged.
HealthExcellent
ReviewSatisfactory
About
Export a Markdown note as a self-contained ZIP containing the note, its recursively linked Markdown files, and local attachments (images, PDFs, audio, etc.). Rewrite internal Obsidian links to standard relative Markdown paths and preserve vault-relative structure inside a top-level folder so everything works after extraction. Trigger exports from the command palette or the file context menu.
ExportAttachmentsLinks
Details
Current version
0.1.6
Last updated
4 months ago
Created
6 months ago
Updates
5 releases
Downloads
497
Compatible with
Obsidian 1.5.0+
Platforms
Desktop only
License
GPL-3.0
Report bugRequest featureReport plugin
Author
padane22-specpadane22-spec
GitHubpadane22-spec
  1. Community
  2. Plugins
  3. Export
  4. Export Markdown ZIP

Related plugins

Consistent Attachments and Links

Move note attachments and update links automatically.

Custom Attachment Location

Customize attachment location with variables($filename, $data, etc) like Typora.

Vault Graph

Your whole vault as one disc: notes packed into folder wedges on a fixed lattice, sized by links, with a growth heatmap, timeline, search and per-folder filters. Deterministic, not force-directed - the same vault always draws the same picture.

Better Paste

Removes tracking from links, fetches page titles, and cleans up pasted text from AI chats, terminals and PDF documents.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Advanced URI

Control everything with URI.

Breadcrumbs

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

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Supercharged Links

Add attributes to internal links with the values of target note's frontmatter attributes.