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

Word Exporter

Isaac BehrensIsaac Behrens106 downloads

Export notes to Word (.docx) with the same formatting as PDF export.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Export Obsidian notes to Word (.docx) that look like Obsidian's own PDF export: same fonts, sizes, colors, spacing, callouts, code highlighting and page setup, as editable Word content.

Using it

  • Command palette: Export current note to Word (.docx)
  • File menu: right-click a note → Export to Word (.docx)

By default the export uses the page size, margins, title and scale last chosen in Obsidian's Export to PDF dialog, so the two exports match. You can set them separately in the plugin settings instead.

What carries over

Note content In Word
Text formatting, highlights, tags, inline code Runs with the same font, size, color, shading and borders
Headings Word heading styles (navigation pane, table of contents) with bookmarks
Bullet, numbered and task lists Word numbering; task checkboxes drawn in their theme colors
Callouts, blockquotes, embedded notes Boxes with the same background, borders and padding
Code blocks Shaded boxes with syntax colors
Tables Word tables with the same column widths, alignment and header row (repeats across pages)
Math ($…$, $$…$$) Native, editable Word equations
Mermaid diagrams, images, icons High-resolution pictures
Footnotes Native Word footnotes
Basic Columns sections Side-by-side columns
Links Clickable external links; [[#Heading]] links jump to the heading
Watermarks, logos and footers from CSS snippets (position: fixed in print) Repeated on every page through the header

Styling comes from your theme and CSS snippets the way PDF export applies them, including their @media print and @page rules.

How it works

  1. Render the note offscreen with Obsidian's own renderer, in the same DOM shape and stylesheet environment as PDF export's print window: light theme, print rules, the print window's root font size, laid out at the page's text width.
  2. Walk the rendered DOM and read computed styles and layout positions into an intermediate model (src/ir.ts). Vertical spacing is measured from the layout itself, so collapsed margins and theme quirks come out right.
  3. Emit the model as .docx with docx, translating CSS line boxes into Word's line spacing using each font's own metrics, read from the installed font files.

Known differences from PDF export

  • Footnotes are Word footnotes at the bottom of each page rather than a list at the end, so page breaks can fall differently.
  • Word can't round corners of boxes or draw custom checkbox shapes; checkboxes use box glyphs in the theme's colors.
  • Text inside Mermaid diagrams is part of a picture.
  • Where the browser splits a callout across pages, Word may move it whole to the next page.

Access outside the vault

The plugin is desktop only. It reads and writes vault files through Obsidian's vault API, and goes outside the vault in exactly two cases:

  • Saving with Ask where to save: the export is written to the file you pick in the system save dialog, which may be outside the vault. The other save locations write inside the vault.
  • Reading installed fonts: to match Word's line heights, the plugin reads font files (read-only) from the system font folders, such as /Library/Fonts and ~/Library/Fonts on macOS, C:\Windows\Fonts on Windows, and /usr/share/fonts and ~/.fonts on Linux. Nothing is written there.

The plugin makes no network requests other than fetching remote images that your notes already embed.

Development

npm install
npm run dev     # rebuild main.js on change
npm run build   # typecheck and production build
npm test        # unit tests
npm run lint

test-vault/ is a vault for trying the plugin: its .obsidian/plugins/word-exporter links to the build output.

Comparing against PDF export (macOS)

The scripts in scripts/ drive a running Obsidian over the Chrome DevTools Protocol, export a note both ways, convert the .docx with Microsoft Word, and compare the results:

# Start Obsidian with DevTools listening on localhost only:
open -a Obsidian --args --remote-debugging-port=9222 --remote-debugging-address=127.0.0.1

scripts/cycle.sh "Kitchen Sink.md"            # side-by-side page images in test-output/
python3 scripts/linediff.py "test-output/Kitchen Sink"   # per-line position deltas
python3 scripts/steps.py "test-output/Kitchen Sink" --worst 10
scripts/regress.sh                            # every fixture, default and custom theme

Needs Microsoft Word and pdftoppm/pdftotext (poppler).

HealthExcellent
ReviewPassed
About
Export notes to editable Word (.docx) that match Obsidian's PDF output—same fonts, sizes, colors, spacing, callouts and code highlighting. Preserve headings as Word styles, tables, code blocks, math as native Word equations, mermaid/graphics, footnotes, links and headers/footers from your theme and CSS snippets.
ExportFormats
Details
Current version
0.1.7
Last updated
2 weeks ago
Created
2 weeks ago
Updates
2 releases
Downloads
106
Compatible with
Obsidian 1.13.0+
Platforms
Desktop only
License
0BSD
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
Isaac BehrensIsaac Behrensibehr
GitHubibehren1
  1. Community
  2. Plugins
  3. Export
  4. Word Exporter

Related plugins

Pandoc Plugin

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

qmd as md

Edit, preview, and render Quarto (.qmd) files with executable code cells via Quarto to PDF, DOCX, HTML, or reveal.js.

Markdown to Jira Converter

Convert notes or selections to Jira markup and vice versa.

ToWord

Export markdown files to Word (docx) with text styling, syntax highlighting, and full mobile support for iOS/Android.

Quarto Exporter

Export notes to Quarto-compatible QMD files.

Copy Contents

Copy or export file and folder contents in Markdown, plain text, or JSON formats.

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.

Chat View

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

Voice

Listen to your notes as natural speech with text-to-speech (TTS). Read notes aloud, play them like an audiobook in the voice player, download MP3 audio and listen offline hands-free on mobile.

Wechat Converter

将 Markdown 转换为微信公众号排版,并支持一键发送到微信(weixin/wx)公众号(支持自定义 CSS和公众号贴图)、飞书、小红书(rednote)、知乎、微博、CSDN等20+平台。