AnkiWeb
- Rating
- 10 (π 10 Β· π 0)
- Updated
- 2026-06-15
- Anki versions
- 2.1.1~
- Description language
- en
AnkiWeb addon 962234340
Links flashcards to exact PDF pages, enables in-Anki reading, AI cloze generation, explanations, and auto-fills PDF path/page fields.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.1 | + | 2026-06-15 |
Loadingβ¦
Combines PDFs, EPUBs, videos, web pages, notes, and local files with flashcards in Anki study sessions, supporting extraction, priorities, progress tracking, and knowledge-tree organization.
Turns any PDF into image-occlusion flashcards with grouped masks, a built-in editor, and context-preserving cloze review, plus image import and PDF management.
Integrates free Google Gemini AI into Anki's editor to generate and customize flashcards from text or images via prompts and shortcuts.
Converts PDF files into Anki notes by extracting each page's first line as prompt and inserting page images or HTML as answers, supporting normal and cloze notes.
Turns Anki into a markdown notebook with folder organization, converting lines into Basic, reversible, and cloze cards and generating synced notes, plus search, import/export, and PDF export.
Imports PDF, EPUB, or TXT texts and poetry into Anki, generating overlapping sentence-cloze cards with context, plus macOS-generated audio via ffmpeg.
PDFLinker will always be 100% free and open source.
I built this tool to help us win back hundreds of hours of tedious flashcard creation. If PDFLinker has helped you save time, ace an exam, or just made your life a little easier, and you are in a position to do soβconsider buying me a coffee! It directly fuels the late-night coding sessions required to keep this add-on updated and running smoothly.
<a href="https://www.buymeacoffee.com/filippocristallo" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="40"></a>
<img width="1532" alt="PDFLinker Screenshot" src="https://github.com/user-attachments/assets/ce8b9b00-2d14-4923-a187-b869829753cb" />
PDFLinker is a powerful Anki add-on that bridges the gap between your study materials and your flashcards. Read PDFs directly within Anki, automatically generate high-quality cloze-deletion flashcards using the Gemini API, and instantly tie those flashcards back to the exact page they came from.
PDF_Path and PDF_Page fields in real-time so you never lose your source.PDF_Path and PDF_Page fields and automatically pulls up the exact PDF page alongside your review window for instant context.Method 1: Install via AnkiWeb (Recommended) The absolute easiest way to install PDFLinker and get automatic updates is through AnkiWeb.
962234340 and click OK.Method 2: Manual Installation (For Developers)
.zip.addons21 directory. Important: Make sure the folder is named exactly pdflinker (no spaces, hyphens, or periods).
%APPDATA%\Anki2\addons21~/Library/Application Support/Anki2/addons21~/.local/share/Anki2/addons21(Note: On its first run, PDFLinker will automatically download the required Mozilla PDF.js engine in the background).
To use the AI generation features, you need a free Google Gemini API key.
gemini_api_key field.For the auto-sync to work, ensure your Anki Note Type has the following fields:
PDF_PathPDF_Pageπ Crucial Step for the 'Add' Window: When adding cards, open your Anki "Add" window and click the Pin (Lock) icon next to both the PDF_Path and PDF_Page fields. This tells Anki to "remember" the current PDF and page number so you don't lose your linked status when making multiple flashcards in a row!
<img width="719" height="145" alt="image" src="https://github.com/user-attachments/assets/fef6635f-1fc9-4e6b-9605-cf0ce5d4df32" />
The add-on will look for fields named Text or Front to drop the question in, and Extra or Back for the explanation.
When reviewing AI-generated cloze cards in the preview window, you can use these double-click shortcuts to edit cards at lightning speed:
{{c1:: prefix of any cloze. The add-on will instantly delete the cloze brackets and the hint, leaving only the pure text behind!::hint portion of the cloze. The add-on will instantly strip the hint away, leaving the cloze active but hint-free.Q: Why can't I highlight text or make annotations directly in Creator Mode? A: PDFLinker is designed to act as a bridge for linking flashcards to specific pages and generating flashcards using AI, rather than replacing your dedicated PDF editor. Because of limitations in saving annotations directly to local files from within Anki, we recommend using your native PDF viewer (like Preview, Adobe Acrobat, or Drawboard) to highlight text or take notes. Once you save your highlights in your native viewer, simply click the "Refresh Page" button in Creator Mode to instantly sync and view your new highlights. You can then use the AI tools to generate flashcards from those sections!
Q: If a deck is shared with someone else, how do they keep the same linked PDF pages? A: Because PDFLinker links to local files on your computer, anyone you share the deck with must have the exact same PDF saved in the exact same file path.
C:\Study_PDFs or a synced Dropbox folder) so the path is identical on everyone's computer. Otherwise, the person receiving the deck can use Anki's "Find and Replace" tool in the Browser to update the PDF_Path field to match where they saved the PDF on their own machine.Contributions are welcome! If you want to improve the markdown parser, add new AI models, or refine the UI, please check out our CONTRIBUTING.md.
This project is open-source and licensed under the MIT License.
You are absolutely free to share, edit, modify, and distribute this code. The only requirement is that you must provide clear attribution by citing Fil Cristallo as the original author of the project and include the original license file in any forks or distributions.
See the LICENSE file for more details.
<a href="https://www.buymeacoffee.com/filippocristallo" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="40"></a>