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 as Markdown

Frank ChenFrank Chen31 downloads

Export notes to plain Markdown with the obsidian-export command-line tool.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

English | 简体中文

Some Obsidian notes use reference-style syntax, and sharing them as Markdown rather than PDF can be useful. To share a note as a single Markdown file, I found obsidian-export. Since it is a command-line tool, this plugin makes it possible to run it from Obsidian without remembering CLI commands.

This plugin uses the locally installed obsidian-export CLI to export Obsidian notes as standard Markdown. The plugin does not include obsidian-export.

Features

  • Export the current note: Use the vault root as the source and --start-at to export only the current note, while still resolving its links and embeds.
  • Export a folder from the vault.
  • Export the entire vault.
  • Browse for or enter a destination directory before each export; it is created if it does not exist.
  • View the command that will run and live logs, and cancel an export at any time.
  • If the destination is not empty, review the files expected to be overwritten and confirm before exporting (can be disabled in settings).
  • After exporting, view the full paths of files written (up to 30 paths are shown).
  • Remember the last destination directory used.
  • The interface is available in English and Simplified Chinese. By default it follows Obsidian's language; you can override it in settings.

Prerequisites

  1. Install obsidian-export (it is not bundled with this plugin):
    • Download a binary from Releases and add it to your PATH; or
    • Run cargo install obsidian-export.
  2. Verify the installation by running obsidian-export --version in a terminal.

Build and install

npm install
npm run build

Copy main.js, manifest.json, and styles.css to <Vault>/.obsidian/plugins/export-as-markdown/, then enable the plugin in Settings → Community plugins.

Usage

The command palette provides these commands (the names are localized):

  • Export current note
  • Export folder…
  • Export entire vault…

The download icon in the ribbon works too: it exports the current note when one is active, or the entire vault otherwise.

In the dialog, enter a destination directory. Browse… opens the system directory picker (where you can create a folder), or you can paste a path directly. Review the command preview, then select Start export.

Settings

  • Language: Interface language. Auto follows Obsidian; English and Simplified Chinese are available. Dialogs and settings update immediately, while command names and the ribbon tooltip update after reloading the plugin.
  • obsidian-export path: Full path to the executable, command name, or a folder containing the executable. Leave blank to use obsidian-export from PATH.
  • Auto-detect: Find obsidian-export on PATH. Test: Run --version to verify it is available.
  • Ignore Git rules (--no-git)
  • Frontmatter strategy (--frontmatter auto|always|never)
  • Include hidden files (--hidden)
  • Preserve modification times (--preserve-mtime)
  • Convert soft line breaks to hard line breaks (--hard-linebreaks)
  • Allow recursive embeds (--no-recursive-embeds)
  • Extra arguments: Parsed using shell-style rules (quotes are supported), for example --only-tags published.
  • Open destination after export
  • Confirm before overwriting: When the destination is not empty, list files expected to be overwritten and ask for confirmation before exporting (enabled by default).

Equivalent CLI example

obsidian-export "C:\Vault" --start-at "C:\Vault\Folder\Note.md" --no-git "C:\ExportedMarkdown"

Notes

  • The plugin only runs obsidian-export locally. It makes no network requests and does not upload vault contents.
  • Permissions: this is a desktop-only plugin (isDesktopOnly: true). It uses the Node.js fs module to read the vault folder and to create, inspect, and write the destination folder, and the child_process module to run the obsidian-export executable you configure. The exact command is shown in the export dialog before an export starts.
  • Files outside the vault: exports are written to the destination directory you pick, which usually lives outside the vault. The plugin reads your vault as the source and writes only to that destination; no other path is read or written.
  • The destination cannot be the vault root. If it is inside the vault, the plugin shows a warning because Obsidian will index the exported files, and a later full-vault export may include them again.
  • The export layout is determined by obsidian-export: files are flattened into the destination when exporting a folder, while the folder structure is preserved when exporting the entire vault.
  • The overwrite confirmation predicts files based on the export scope and hidden-file setting. It does not account for .export-ignore, Git ignore rules, or tag filtering, so the plugin still checks whether the destination is non-empty before export.

License

0BSD.

HealthExcellent
ReviewCaution
About
Export the current note, a folder, or the entire vault as standard Markdown files using your locally installed obsidian-export CLI, resolving links and embeds. Choose or create a destination, preview the command and live logs, cancel or confirm overwrites, and view written file paths; interface in English and Simplified Chinese.
ExportIntegrations
Details
Current version
0.0.4
Last updated
Last week
Created
Last week
Updates
4 releases
Downloads
31
Compatible with
Obsidian 1.8.7+
Platforms
Desktop only
License
0BSD
Report bugRequest featureReport plugin
Author
Frank ChenFrank Chenfrankcrc
GitHubfrankcrc
  1. Community
  2. Plugins
  3. Export
  4. Export as Markdown

Related plugins

Yanki

Sync flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.

GitHub

Share as Gist

Share a note as a GitHub.com Gist.

BRAT

Easily install a beta version of a plugin for testing.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Terminal

Integrate consoles, shells, and terminals.

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).