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

MinerU Converter

liyifanliyifan157 downloads

Right-click any PDF, Word, PPT, Excel, or image in your vault to convert it to Markdown via the MinerU parse API. Long PDFs are auto-split and merged back into one file, with an images/ sidecar and a run-in-background option.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

MinerU Converter icon

mineru-converter

English | 简体中文

Let MinerU's accurate-parse API and Obsidian work together: convert any PDF / Word / PPT / Excel / image in your vault to editable Markdown with one right-click.

This repository hosts the MinerU Converter Obsidian plugin plus the engineering notes and tooling behind it.

Contents

Folder What's in it
plugin/ The Obsidian plugin (TypeScript → bundled main.js). Ready to install.
docs/01-API文档理解.md Structured understanding of the MinerU v4 API — every endpoint, parameter, state machine, and error code.
docs/02-实操经验总结.md Hard-won engineering notes: rate limits, CDN SSL workaround, 200-page limit, encrypted PDFs, proxy pitfalls, batch processing.
docs/03-Obsidian插件开发规划.md Product plan + technical design + interaction patterns for this plugin.
code/ Python tools that pre-date the plugin (252-file batch converter). Useful when you have a giant library to process.

Quick start (Obsidian plugin)

  1. Apply for a MinerU API token at https://mineru.net/apiManage/apiManage (free tier available).
  2. In Obsidian → Settings → Community plugins → MinerU Converter, paste the token. Click Test connection to verify.
  3. Right-click any PDF / Word / PPT / Excel / image in the file explorer → Convert to Markdown via MinerU.
  4. A .md file appears next to the original. The plugin will ask if you want to open it.

PDFs longer than 200 pages are handled automatically: the plugin splits the page tree into 200-page parts, submits each part to MinerU in turn, then merges the Markdown and images back into a single .md file next to the original. The output looks identical to a non-split conversion — no part markers, one shared images/ folder. Turn this off in Settings → MinerU Converter → Auto-split oversized PDFs.

For supported formats and limits, see docs/03-Obsidian插件开发规划.md.

Demo

Right-click a PDF, wait a few seconds, get Markdown:

Converting a PDF to Markdown via MinerU

Settings — API token, model version, OCR language, formula / table recognition, auto-split for oversized PDFs:

MinerU Converter settings

Quick start (Python batch tool)

If you have hundreds of files to convert, the plugin's per-file flow is slow. Use the Python tools in code/ instead:

pip install requests PyPDF2
# Edit TOKEN and ROOT_DIR at the top of code/mineru_convert.py
python code/mineru_convert.py

The script auto-batches (40 files per batch, 70 s between batches to respect MinerU's 50/min limit), resumes on re-run, and writes .md siblings in place.

Plugin development

cd plugin
npm install
npm run dev   # watch mode, auto-rebuilds main.js

To test locally, copy the produced main.js, manifest.json, and styles.css into <your-vault>/.obsidian/plugins/mineru-converter/, then enable Community plugins → MinerU Converter in Obsidian settings.

Releases are built and attested by GitHub Actions when a bare-semver tag is pushed. Every asset carries a GitHub artifact attestation and can be verified with gh attestation verify main.js -R liyifan2004/obsidian-mineru-converter. See plugin/README.md for the release flow.

License

MIT

HealthExcellent
ReviewPassed
About
Convert PDFs, Word, PPT, Excel, or images in your vault to editable Markdown with one right-click using MinerU's accurate-parse API. Auto-split PDFs over 200 pages and merge the parts back into a single .md with a shared images folder, preserving formatting, tables, formulas and embedded images.
ImportPDFOCR
Details
Current version
0.3.3
Last updated
2 weeks ago
Created
3 months ago
Updates
3 releases
Downloads
157
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
liyifanliyifan
GitHubliyifan2004
  1. Community
  2. Plugins
  3. Import
  4. MinerU Converter

Related plugins

OCR-AI

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.

pdf-to-md

Convert handwritten PDFs to Markdown with LaTeX formulas using AI (OpenAI GPT or Alibaba Qwen).

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.

Karpathy LLM Wiki

Karpathy's LLM Wiki implementation plugin for Obsidian - turns notes and PDFs into a linked, LLM-powered knowledge base with entity pages, concept pages, graph-powered Q&A, and local-first privacy.

Zotero Integration

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

RSS Dashboard

A dashboard for organizing and consuming RSS feeds, YouTube channels, and podcasts with smart tagging, media playback, and seamless content flow.

Snipd Official

Sync Snipd podcast highlights to your vault with transcript, notes, AI summaries and metadata.

Slides Extended

Create markdown-based reveal.js presentations. Fork of Advanced Slides.

Annotator

Read and annotate PDFs and EPUB files.