Obsidian & Markdown to Anki Converter

Convert Obsidian and Markdown (.md) notes to an Anki .apkg in your browser. Supports ::, :::, ==cloze==, Q:/A:, headings, code & LaTeX. No plugins.

Updated November 20, 2026 · by the GuruOwl team

  • Up to 50 .md files
  • 10 MB
  • 10,000 notes
  • Zero upload
  1. Drop or paste .md
  2. Preview Anki cards
  3. Download .apkg

Obsidian & Markdown input

Supports ::, :::, ==cloze==, Q:/A:, headings, code & LaTeX.

Card syntax rules

Obsidian & Markdown to Anki at a glance

GuruOwl reads one or more .md files locally in your browser, turns Obsidian flashcard syntax into rendered Anki cards, and packages them into a standard .apkg without AnkiConnect or desktop plugins.

Supported syntax
Inline Front :: Back, bidirectional Front ::: Back, ==highlight== cloze, existing {{c1::...}} cloze, Q:/A: blocks, and # / ## / ### heading sections.
Code & LaTeX
Preserves fenced code blocks (```lang) and inline code; converts $...$ and $$...$$ to Anki MathJax \(...\) and \[...\].
No plugin needed
Bypasses AnkiConnect (127.0.0.1:8765) connection errors and works on iPad, iPhone, Chromebooks and locked work laptops.
Output
A standard .apkg for Guru (iOS & Android with free FSRS-6), Anki Desktop, AnkiMobile and AnkiDroid.
Privacy & limits
100% client-side (JSZip + SQLite WASM). Up to 50 .md files, 10 MB total, 10,000 notes. Notes never leave your device.

Drop one or more Obsidian .md files — or paste raw Markdown — preview the real rendered cards, and download a standard Anki .apkg straight from your browser. There is no AnkiConnect plugin to configure, no 127.0.0.1:8765 port error, and no server upload.

Most Obsidian-to-Anki guides rely on desktop community plugins that push cards over localhost port 8765 into a running copy of Anki Desktop. That breaks the moment Anki is closed, a firewall blocks 127.0.0.1:8765, or you study from Obsidian on an iPad or iPhone where local AnkiConnect cannot run at all. Building an .apkg directly in the browser removes the plugin bridge completely.

How to convert Obsidian or Markdown notes to Anki

  1. 1Drop up to 50 .md files from your Obsidian vault (or switch to “Paste Markdown” and paste a note). YAML frontmatter tags and inline #nested/tags are picked up automatically.
  2. 2Toggle which card syntaxes you want parsed: inline :: and ::: separators, ==highlight== cloze deletions, Q:/A: blocks, # / ## / ### headings, and automatic $LaTeX$ to Anki MathJax conversion.
  3. 3Check the live Anki card preview on the right: flip between Question and Answer, inspect multi-cloze deletions, and verify code blocks and equations before building.
  4. 4Name your deck and select Download .apkg. The deck is assembled locally inside this tab using SQLite WebAssembly.
  5. 5Import the .apkg: double-click it in Anki Desktop (File → Import), or on iPhone and iPad find it in the Files app Downloads folder and share it to Guru (free FSRS-6 study), AnkiMobile or AnkiDroid.

Supported Obsidian & Markdown flashcard syntax

You do not have to rewrite your vault into a rigid plugin regex. This converter recognises the five Markdown card patterns students already write in Obsidian, Logseq, Notion Markdown exports and plain .md folders.

How Markdown patterns map to Anki notes and cards
Markdown patternAnki card typeDetails
Front :: BackBasic (1 card)Works on plain lines or bullet items (- Term :: Definition). Colons inside `inline code`, URLs, math and {{c1::...}} are never mis-split.
Front ::: BackBidirectional (2 cards)Generates both Front → Back and Back → Front so vocabulary, formulas and drug–mechanism pairs are tested both ways.
==highlighted text==Cloze ({{c1::...}})Turns Obsidian highlights into Anki cloze deletions while keeping any existing {{c1::...}} intact. Choose sequential (c1, c2) or grouped (c1) numbering. Skips == inside code blocks.
Q: ... / A: ...Basic (multi-line)Supports plain or bold **Q:** / **A:** blocks with multi-line lists, blockquotes, fenced code blocks and display math on the answer side.
# / ## / ### HeadingBasic (heading Q&A)A heading followed by prose, bullets, code or equations becomes a card (heading on Front, section body on Back). Container headings above inline cards are treated as titles instead of duplicate cards.
```lang code blocksPreserved <pre><code>Keeps language classes and escapes angle brackets (<T>, <div>) so code renders literally instead of vanishing as broken HTML.
$...$ and $$...$$Anki MathJaxConverts Obsidian inline math $x^2$ to \(x^2\) and block math $$...$$ to \[...\] while leaving prices such as $5 and $10 untouched.

Why Obsidian to Anki plugins break (127.0.0.1:8765 & iPad limits)

Traditional sync plugins like Obsidian_to_Anki talk to Anki through the AnkiConnect desktop add-on on http://127.0.0.1:8765. Whenever Anki Desktop is closed, macOS/Windows firewall rules block loopback traffic, webCorsOriginList is misconfigured, or an Anki update shifts note-type IDs, the sync fails with a 127.0.0.1:8765 connection error.

Even when desktop sync works, mobile Obsidian users hit a hard wall: iPadOS and iOS do not run Anki Desktop or a background localhost server on port 8765, so plugin-based syncing cannot export cards from an iPad vault. Generating a self-contained .apkg file in Safari or Chrome works on every device with zero add-ons.

Browser Markdown-to-APKG vs AnkiConnect plugins
WorkflowThis browser toolAnkiConnect plugin
Anki Desktop required openNo — exports a standalone .apkgYes — must run on 127.0.0.1:8765
Works on iPad & iPhoneYes — pick .md files from Files / iCloudNo — no localhost AnkiConnect on iOS/iPadOS
CORS / firewall errorsNone — 0 network calls during conversionFrequent (webCorsOriginList, port conflicts)
Multi-file vault folderDrop up to 50 .md files at onceFull vault incremental sync
Live Anki card previewYes — flip real Basic & Cloze cards firstNo — check cards inside Anki after sync

When should you still use an AnkiConnect plugin? If you edit hundreds of existing Obsidian cards every week on desktop and rely on note-ID two-way updates, keeping AnkiConnect configured on your computer is still useful. For clean one-shot deck exports, exam sprints, classroom sharing, or studying from an iPad, exporting an .apkg directly avoids every localhost headache.

Reviewing your exported deck on mobile with FSRS-6

Once you download the .apkg, you can open it in Anki Desktop, AnkiMobile, AnkiDroid, or import it into Guru on iOS and Android for free. Guru reads standard .apkg decks with Basic, Cloze, code and math formatting intact and schedules reviews with FSRS-6 out of the box — no paid mobile client required to review your own Markdown cards.

Want to know how many daily reviews your new deck will create before exam day? Drop the exported .apkg straight into the Anki Review & Backlog Calculator to model daily minutes at 85%, 90% and 95% FSRS retention.

Privacy: your Markdown vault stays on your device

Every .md file you drop or paste is parsed by JavaScript inside this browser tab. Building the deck runs SQLite WebAssembly and JSZip locally to produce the .apkg blob. Your notes, headings, code snippets and filenames are never uploaded to a server. Only anonymous card-count analytics fire when you download a deck.

Frequently asked questions

Why does Obsidian to Anki fail with a 127.0.0.1:8765 connection error?

Plugins such as Obsidian_to_Anki send HTTP requests to AnkiConnect on localhost port 8765. That fails whenever Anki Desktop is closed, AnkiConnect is missing or outdated, webCorsOriginList lacks "app://obsidian.md", or a VPN/firewall blocks loopback connections. This page skips AnkiConnect altogether and writes a standard .apkg in your browser.

Can I convert Obsidian notes to Anki on iPad or iPhone without plugins?

Yes. Select your .md files from the Obsidian vault folder in the iOS/iPadOS Files app (iCloud Drive or On My iPad), drop or pick them here, preview the cards, and download the .apkg. From Files → Downloads, share the .apkg into Guru (free FSRS-6) or AnkiMobile.

How are ==highlights== converted to Anki cloze cards?

Every ==highlighted phrase== outside code blocks and equations becomes an Anki cloze deletion such as {{c1::highlighted phrase}}. Any existing {{c1::...}} deletions in the same note are preserved, and you can choose whether multiple highlights on one line create separate cards (c1, c2) or reveal together (c1).

Does it preserve LaTeX equations and fenced code blocks?

Yes. Inline $...$ becomes \(...\) and block $$...$$ becomes \[...\] for Anki’s built-in MathJax renderer, while ordinary dollar amounts like $5 and $10 stay plain text. Fenced code blocks keep their language class and escape HTML characters cleanly.

What is the difference between :: and ::: separators?

A single double-colon (Front :: Back) creates one Basic card. A triple-colon (Front ::: Back) creates two Basic cards — Front → Back and Back → Front — so you test recall in both directions.

Can I convert multiple Markdown files into one Anki deck?

Yes. Drop or select up to 50 .md files at once (up to 10 MB total and 10,000 notes). All parsed cards are combined into one .apkg deck while keeping each file’s YAML frontmatter tags and inline #tags.

Is this affiliated with Anki?

No. GuruOwl is an independent tool and is not affiliated with Anki, AnkiMobile, AnkiDroid or AnkiWeb. “Anki” here only describes the file format it reads and writes.

Review your Anki decks on iPhone or Android

Import .apkg and .colpkg decks for free. Daily review is free, too.

Editing and cross-device sync require Pro.