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

Anki Embed

devsdocsdevsdocs154 downloads

Embed interactive Anki flashcard decks inside Obsidian notes via AnkiConnect.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates20

An Obsidian plugin that embeds interactive Anki flashcard decks directly into your notes using AnkiConnect.

Features

  • Full Editor View & Note Embeds: Review flashcard decks directly in full workspace editor tabs (ItemView) or embedded inside notes. Seamlessly switch from in-note embeds to full view with the Full view header action.
  • Interactive Flashcard Player: Review flashcards with flip animations, rating buttons (Again, Hard, Good, Easy), and session summary statistics breakdown.
  • Interactive Deck Picker with Live Search: Choose decks dynamically via an inline picker (select: true) or switch decks on the fly using the 📚 Change deck header action.
  • Ribbon Action: Click the left sidebar ribbon icon to open Anki review in a full editor view or insert a deck into your active note.
  • Full AnkiConnect API Coverage: Strongly-typed wrappers for all 40+ AnkiConnect endpoints (Decks, Cards, Notes, Models, Media, GUI, Stats, and Sync).
  • AnkiConnect Integration: Connects locally to Anki via http://127.0.0.1:8765.
  • Card Rating & Sync: Rate cards and sync review status directly to Anki.
  • Flexible Code Block Syntax:
    • Embedded specific deck:
      deck: Japanese::Kanji
      limit: 20
      filter: due
      randomize: true
      
    • Simple single-line deck embed:
      Medical::Pharmacology
      
    • Interactive deck picker:
      select: true
      
      or
      deck: ?
      
    • Custom search queries:
      query: deck:"Default" is:due tag:vocab
      
  • Pasted Anki URI Auto-Conversion: Pasting anki://deck/... or anki:... links automatically converts them into an ````anki code block.
  • Command Palette Tools:
    • Open Anki review in full view: Opens interactive Anki review directly in a full workspace tab.
    • Open Anki deck in full view: Fuzzy search and open any Anki deck in a full workspace tab.
    • Insert Anki deck embed: Fuzzy pick an Anki deck and insert code block into active editor.
    • Insert interactive Anki deck picker: Inserts select: true interactive picker block.
    • Import Anki notes from CSV/TSV: Opens a step-by-step modal to paste and map CSV/TSV data directly into an Anki deck.
    • Sync Anki collection: Synchronize your Anki collection directly from Obsidian.
    • Test AnkiConnect connection: Instant connectivity check with Notice feedback.
  • Keyboard Shortcuts:
    • Space / Enter: Reveal card answer.
    • 1, 2, 3, 4: Rate card (1: Again, 2: Hard, 3: Good, 4: Easy).
    • R: Refresh deck session.

Prerequisites

  1. Use Obsidian 1.13.0 or newer.
  2. Install Anki.
  3. Install the AnkiConnect add-on in Anki (Add-on code: 2055492159).
  4. Make sure Anki is open while reviewing notes in Obsidian.

[!TIP] Want to use this plugin on Obsidian Mobile or without ever keeping Anki open on your computer? You can host anki-docker-server on a remote VPS. Just point this plugin's AnkiConnect URL setting to your server's IP to unlock full headless and mobile capabilities!

Installation

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Place them in your vault's .obsidian/plugins/anki-embed/ folder.
  3. Enable Anki Embed in Obsidian settings.

Known Limitations & Custom Fork Solution

  • Review Time Statistics: Due to limitations in the official AnkiConnect API, it cannot record the actual time you spent reviewing a card (it logs as 0 seconds).
    • The Solution: We provide a heavily modified Custom AnkiConnect Fork that adds time-tracking capabilities. If you install this custom .ankiaddon package instead of the official one, simply enable "Use custom AnkiConnect" in your Obsidian settings to unlock perfectly accurate review time statistics!

License

MIT

HealthExcellent
ReviewPassed
About
Embed interactive Anki flashcard decks directly in notes via AnkiConnect, review cards and sync ratings back to Anki. Use flexible code-block syntax or paste anki:// URIs to create embeds, access the full AnkiConnect API, and control reviews with keyboard navigation and command-palette tools.
FlashcardsIntegrations
Details
Current version
1.0.19
Last updated
Last month
Created
2 months ago
Updates
20 releases
Downloads
154
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
devsdocsdevsdocsdevsdocs
GitHubdevsdocs
  1. Community
  2. Plugins
  3. Flashcards
  4. Anki Embed

Related plugins

Yanki

Sync flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.

Awesome Flashcard

Handy Anki integration.

BRAT

Easily install a beta version of a plugin for testing.

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).