No description
Find a file
2026-05-31 12:54:38 +01:00
.claude/commands Release v0.2.2 2026-05-30 18:19:05 +01:00
.github/workflows Add release workflow with artifact attestation 2026-05-30 18:13:50 +01:00
src Release v0.2.2 2026-05-30 18:19:05 +01:00
.gitignore Added Batch Import 2026-05-29 18:01:08 +01:00
CLAUDE.md revert version v0.2.1 2026-05-30 02:32:06 +01:00
esbuild.config.mjs Release v0.2.2 2026-05-30 18:19:05 +01:00
LICENSE Update copyright holder in LICENSE file 2026-05-29 15:06:01 +01:00
main.js Release 0.2.2 2026-05-31 12:54:38 +01:00
manifest.json Release v0.2.2 2026-05-30 18:19:05 +01:00
package-lock.json fixed code obfuscation, 8 script injection and possible injection 2026-05-30 02:25:12 +01:00
package.json Release v0.2.2 2026-05-30 18:19:05 +01:00
README.md Update README with batch import feature and fix manual install steps 2026-05-29 18:30:13 +01:00
release.sh Release 0.2.2 2026-05-31 12:54:38 +01:00
styles.css Added Batch Import 2026-05-29 18:01:08 +01:00
tsconfig.json Initial commit 2026-05-29 14:38:51 +01:00
versions.json Release v0.2.2 2026-05-30 18:19:05 +01:00

DOCX Importer

An Obsidian desktop plugin to import .docx files into your vault as Markdown, and export Markdown notes back to .docx.

Creator Note: At first, I was trying to import my google doc notes to my vault. I found that even if google doc do have export to markdown file, some of the style and format could not be kept, so this idea has came.

Features

Import (DOCX → Markdown)

  • Batch import — select multiple .docx files at once; each gets its own subfolder with an editable name and real-time conflict detection
  • Creates a subfolder containing the converted .md note, a copy of the original .docx, and an attachments/ folder for extracted images
  • Preserves: headings, bold, italic, strikethrough, highlights, text color, hyperlinks, ordered and nested lists, tables, blockquotes, inline code, fenced code blocks
  • Images are saved as vault attachments and linked with Obsidian wikilink syntax (![[attachments/image1.png]])

Export (Markdown → DOCX)

  • Exports the currently active note via ribbon icon or command palette (Export active note as DOCX)
  • Prompts for a save location via a system dialog
  • Preserves: headings, bold, italic, strikethrough, highlights, hyperlinks, ordered and nested lists, tables, blockquotes, code blocks, and images embedded from the vault

Demo

  1. Batch Import Screencast From 2026-05-29 18-18-15.webm

  2. Single Import Screencast From 2026-05-29 18-24-57.webm

Installation

From Obsidian Community Plugins

NOTE: This plugin is yet to approve by administrator manually, please consider using manual installation first

  1. Open Settings → Community plugins → Browse
  2. Search for DOCX Importer
  3. Click Install, then Enable

Manual

  1. Download main.js, styles.css, and manifest.json from the latest release
  2. Copy all three files to <vault>/.obsidian/plugins/docx-importer/
  3. Enable the plugin in Settings → Community plugins

Usage

Import

  1. Click the file-up ribbon icon, or run Import DOCX file from the command palette
  2. Pick one or more .docx files (hold Ctrl or Shift to select multiple)
  3. For each file, edit the subfolder name if needed — conflicts are flagged in real time
  4. Choose a parent folder, then click Import
  5. The first converted note opens automatically

Export

  1. Open the Markdown note you want to export
  2. Click the download ribbon icon, or run Export active note as DOCX from the command palette
  3. Choose where to save the .docx file

Settings

Setting Description
Non-attachment wikilinks Controls how [[Note Name]] links are handled during export: Plain text (keep the note name) or Skip (remove entirely)

Limitations

  • Desktop only — requires Obsidian's desktop app
  • Text color in footnotes and endnotes is not preserved on import
  • Theme-based (non-hex) colors in DOCX are not preserved on import