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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Document Exporter

rogerdigitalrogerdigital103 downloads

Export notes, folders, and query results into Markdown bundles, HTML documents, and print-ready exports.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates11

Export single notes, entire folders, or hand-picked files into PDF, Word, Markdown bundles, and HTML documents. Supports batch export with directory structure preservation.

Features

  • Batch export — export an entire folder or selected files at once, preserving directory structure
  • PDF — generates a print-ready .pdf with native Obsidian rendering
  • Word document — generates a .docx document for editing and sharing
  • Markdown bundle — combines notes into a single .md file with copied attachments and rewritten links
  • HTML document — generates a standalone .html with table of contents, native rendering, and linked assets
  • Progress bar with cancel — visual progress indicator for every export, with a cancel button that preserves already-exported files

Usage

Multiple ways to start an export:

Entry point How
Sidebar icon Click the export icon in the left sidebar
Right-click a file File explorer → right-click a Markdown file → "Export this file"
Right-click a folder File explorer → right-click a folder → "Export this folder"
Right-click in editor Right-click inside a note → "Export current file"
Command palette Cmd/Ctrl+P → "Export documents"

Export dialog

  1. Choose source — current file, folder, or selected files
  2. Choose format — PDF, Word document, Markdown bundle, or HTML document
  3. Set output folder — type a path, click Vault to pick from vault folders, or Choose folder to select a system folder (desktop only)
  4. Set file name (single file) or folder name (batch export) — defaults to the source file or folder name
  5. Click Next → review the summary → click Export

A progress bar appears during export showing the current step or file. Click Cancel to stop; already-exported files are kept.

Examples

Export the current note as PDF

  1. Open a note → right-click → Export current file
  2. Format: PDF → click Export
  3. Result: exports/<filename>.pdf

Export a folder as Markdown bundle

  1. Right-click a folder → Export this folder
  2. Format: Markdown bundle → click Export
  3. Result: exports/<foldername>/<filename>.md + assets/ (if images exist)

Export selected files as HTML

  1. Start an export from sidebar icon or command palette
  2. Source: Selected files → pick files → Format: HTML document
  3. Click Export
  4. Result: a standalone .html per file with linked assets

Settings

Open Settings → Document Exporter.

Setting Description Default
Default export format Format pre-selected when opening the dialog PDF
Output folder Where exported files are saved exports
Include source path comments Add HTML comments showing each section's origin Off
Copy attachments Copy referenced images and files into the export On
Overwrite existing exports Overwrite if output already exists; otherwise a timestamped folder is created Off

Limitations

  • Inline note embeds (![[Note]]) are preserved as links, not expanded
  • Dataview queries are not executed during export
  • Canvas files are not supported
  • PDF export requires the desktop app

Privacy

Document Exporter does not make any network requests. All processing happens locally. No data is sent to external services.

Installation

Search "Document Exporter" in Settings → Community plugins → Browse and click Install.

Manual installation

Copy main.js, manifest.json, and styles.css into your vault's .obsidian/plugins/document-exporter/ directory.

Development

npm install
npm run dev      # watch mode
npm run build    # production build
npm test         # run tests

License

MIT

95%
HealthExcellent
ReviewPassed
About
Export notes, folders, or query results as Markdown bundles, standalone HTML documents with a table of contents, or print-ready HTML optimized for browser-to-PDF. Combine selected notes into a single .md with copied attachments and rewritten links, generate self-contained .html with linked assets, or produce print-styled HTML ready for PDF export.
ExportAttachmentsPublishing
Details
Current version
0.4.5
Last updated
3 days ago
Created
Last week
Updates
11 releases
Downloads
103
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
rogerdigitalrogerdigital
GitHubrogerdigital
  1. Community
  2. Plugins
  3. Export
  4. Document Exporter

Related plugins

GitHub

Share as Gist

Share a note as a GitHub.com Gist.

Social Archiver

Archive social media posts from various platforms.

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.

WordPress

Publish to WordPress.

QuickShare

Securely share your notes with one click. Notes are end-to-end encrypted. No API keys or configuration required.

Wechat Converter

Convert Markdown into polished WeChat articles with live preview, copy, and draft sync.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Pandoc Plugin

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

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Local GPT

Local Ollama and OpenAI-like GPT's assistance for maximum privacy and offline access.