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

Smart Import

0126-hash0126-hash24 downloads

Desktop-only file importer that converts external files into Markdown and stores source assets inside the vault.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates8

Desktop-only Obsidian plugin for importing external files into your vault and converting them into Markdown.

Current repository status

This repo was reconstructed from the deployed plugin bundle in a local vault. The original TypeScript source was not available, so the maintained source of truth here is:

  • src/main.js
  • src/ocr_pdf.py

The build step copies these sources into release-ready root files.

What the plugin does

  • imports files and folders from outside the vault
  • supports file picker, drag-and-drop, recent downloads, Finder selection, clipboard, and natural-language lookup flows
  • converts supported documents into Markdown notes with import frontmatter
  • supports Office, PDF, web, data, notebook, archive, email, Markdown, TXT, and ebook imports
  • supports EPUB, MOBI, and AZW3 ebook imports through markitdown, pandoc, or Calibre fallbacks
  • preserves original source files inside the vault when enabled
  • generates partial stub notes for low-quality PDFs and unsupported files instead of failing silently
  • can extract embedded media assets from Office files when available
  • optionally applies OpenAI-compatible cleanup and suggestion flows, with local rule-based fallback

Main commands

  • Smart Import: 导入文件
  • Smart Import: 导入文件夹
  • Smart Import: 导入最近下载
  • Smart Import: 导入 Finder 当前选中
  • Smart Import: 自然语言导入

Platform support

  • Supported: desktop Obsidian
  • Best-tested: macOS
  • Not guaranteed: Windows and Linux

The current codebase contains macOS-specific helpers such as mdfind and osascript.

External dependencies

Required for general conversion:

  • markitdown

Common converted formats:

  • doc, docx, docm, rtf, odt
  • xls, xlsx, ods, csv
  • pdf
  • ppt, pptx, pptm, odp
  • html, htm, json, xml, ipynb, zip, eml, msg
  • epub, mobi, azw3

Optional but recommended:

  • python3
  • tesseract
  • pypdfium2 Python package
  • LibreOffice or soffice
  • pandoc for EPUB fallback conversion
  • Calibre / ebook-convert for MOBI and AZW3 fallback conversion

Examples:

pipx install markitdown
python3 -m pip install pypdfium2
brew install tesseract libreoffice pandoc
brew install --cask calibre

Local development

npm install
npm run build

That command:

  • validates src/main.js
  • validates src/ocr_pdf.py
  • copies build outputs to main.js and ocr_pdf.py

To produce GitHub release assets:

npm run release:prepare

See RELEASING.md for the full release flow.

Install from GitHub

Option 1: BRAT

  1. Install the BRAT plugin
  2. Open BRAT and run Add a beta plugin for testing
  3. In the repository field, enter this repo slug:
0126-hash/obsidian-smart-import
  1. Choose Latest version
  2. Keep Enable after installing the plugin checked
  3. Click Add plugin
  4. Confirm that Smart Import is enabled in Community Plugins

Option 2: GitHub Release assets

Download the latest release and copy these files into:

<your-vault>/.obsidian/plugins/smart-import/
  • main.js
  • manifest.json
  • styles.css

Then enable Smart Import in Community Plugins.

First launch

First launch is non-blocking:

  • md and txt imports work immediately
  • if you later import converted formats such as docx, pdf, pptx, xlsx, csv, html, epub, mobi, or azw3 without the needed converter, Smart Import will open the dependency install wizard for you
  • on macOS, the wizard can open Terminal and run the recommended install commands after you confirm

Acceptance evidence

The 0.2.6 acceptance package is tracked in docs/acceptance/0.2.6:

  • conversion smoke tests: 16 passed, 0 failed
  • Smart Import mock-vault E2E: 16 passed, 0 failed, 16 activity cards
  • remaining manual item: real Outlook .msg sample validation

Manual install into Obsidian

Copy these files into:

<your-vault>/.obsidian/plugins/smart-import/
  • main.js
  • manifest.json
  • styles.css
  • ocr_pdf.py

Operational notes

  • The plugin copies original source files into the vault.
  • The plugin may read clipboard contents and, on macOS, inspect clipboard file paths and Finder selection.
  • Natural-language import searches local folders such as ~/Downloads and ~/Desktop, and may also look at Finder selection or clipboard file candidates when the request implies them.
  • When AI features are enabled and an OpenAI-compatible provider is configured, note content and import snapshots may be sent to that provider.
  • Environment diagnostics now distinguish between required and optional dependencies so users can tell whether only advanced OCR or .doc import is affected.
  • The settings page now includes a dependency install wizard that can open Terminal on macOS and run the recommended install commands after user confirmation.
  • For community-plugin installs, the OCR helper script is generated on demand by main.js, so the standard Obsidian release assets remain sufficient.

See PRIVACY.md for data handling notes.

94%
HealthExcellent
ReviewSatisfactory
About
Import files and folders from outside your vault and convert supported documents into Markdown notes. Preserve original source files, extract embedded media from Office documents, generate stub notes for low-quality PDFs, and apply optional OpenAI-compatible cleanup with a local rule-based fallback. Use file picker, drag-and-drop, recent downloads, Finder selection, clipboard, or natural-language lookup; desktop-only (best-tested on macOS).
ImportPDFOCR
Details
Current version
0.2.6
Last updated
Last week
Created
3 weeks ago
Updates
8 releases
Downloads
24
Compatible with
Obsidian 1.0.0+
License
MIT
Report bugRequest featureReport plugin
Author
0126-hash0126-hash
GitHub0126-hash
  1. Community
  2. Plugins
  3. Import
  4. Smart Import

Related plugins

Marker PDF to MD

Convert PDFs to rich Markdown, including images and ocr using the marker api

Text Extractor

A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.

Markitdown File Converter

Convert PDFs, Office documents, images, and other file formats to Markdown using Microsoft's Markitdown tool

Extract PDF Annotations

Extract PDF annotations (notes and highlights) and sort them by topic.

Importer

Import data from Notion, Evernote, Apple Notes, Microsoft OneNote, Google Keep, Bear, Roam, and HTML files.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.

Annotator

Read and annotate PDFs and EPUB files.

Readwise Official

Sync highlights from Readwise to your vault.

ZotLit

Integrate with Zotero, create literature notes, and insert citations from a Zotero library.