zotero-docling¶
zotero-docling is a Zotero plugin (Zotero 8.0 – 10.0.x) that sends PDF
attachments to a docling-serve
server, gets back Markdown built by the
Docling document-understanding
pipeline, and attaches the .md file to the same Zotero item.
Markdown is plain text, so converted papers work in note apps like Obsidian, in RAG and other AI pipelines, and in any script that would rather read text than a PDF.
How it fits together¶
The setup has two parts, and you need both:
- docling-serve, a local (or remote) HTTP server that does the actual PDF to Markdown conversion. See Setting up docling-serve.
- This plugin, which sends PDFs from Zotero to that server and attaches the result. See Getting started.
The plugin never converts anything itself. Every option in its settings is either a plugin behaviour (where the output goes, what gets tagged) or a form field passed straight to docling-serve.
What it can do¶
- Convert one PDF, a parent item with several PDFs, or any mix, from the
right-click menu. The Markdown appears as a child attachment named after the
PDF (
paper.pdfgivespaper.md). - Re-convert (replace) an existing
.md. The old file goes to the Zotero trash only after the new one is attached. - Auto-convert newly imported PDFs (off by default).
- Tag parents
docling/done,docling/incompleteordocling/errorso you can filter your library by conversion status. - Add YAML frontmatter with the item's title, authors, year, DOI, URL, Zotero key and citation key (on by default).
- Write a copy of each
.mdto an export folder, for example an Obsidian vault. - Leave images out, or strip them from Markdown you already converted.
- Mark page starts with the PDF page number.
- Describe figures with a remote vision API (OpenAI, Anthropic, OpenRouter, Ollama, LM Studio, vLLM or any OpenAI-compatible endpoint).
- Export the Markdown of a selection to one
.zip.
Details for each are in Converting and re-converting.