iLoveMD
100% in your browser

Convert Markdown to Anki Flashcards

Write flashcards in Markdown as Front :: Back lines or a table, then download a file you import into Anki. Your formatting carries over. Everything runs in your browser; nothing is uploaded.

  • Always free
  • No uploads
  • No sign-up
  • No tracking

← All conversion tools

Drop a .md file here or click to upload .md
No files selected

Markdown Cards

Anki Cards Preview

Export Your Results

Markdown to Anki Docs

Write your flashcards in Markdown and download a file Anki can import. Each card is a front and a back; your Markdown formatting (bold, italics, code) carries over to the card. The conversion runs entirely in your browser, and you import the result into Anki with File then Import.

How to write cards

Two ways to write a card, mix them freely:

  • Front :: Back: one card per line, with a space on each side of the ::. Example: Capital of France :: Paris. (The spaces mean code like std::cout is left alone.)
  • A two-column table: the header row names the columns, and each row below becomes a card (front = first column, back = the rest).

Markdown inside a field works: **bold**, *italic*, and `code` render on the card.

Tip: the preview on the right shows each card as a front/back pair so you can check them before importing.

Importing into Anki import

Download the file (it is a tab-separated text file), then in Anki choose File then Import and pick it. The file starts with #separator:tab and #html:true lines, so recent Anki versions set the separator and enable formatting automatically. Choose your deck and the Basic note type in the import dialog, and import.

Limits & privacy

  • Basic cards only for now. Cloze deletions (==highlight==) are a planned follow-up; this version makes front/back cards.
  • Keep a field on one logical line. Long multi-paragraph fields are folded onto one line for the import file.
  • Privacy: your cards are built entirely in your browser. Nothing is uploaded.

How to convert Markdown to Anki cards

1

Write your cards

Write each card as "Front :: Back" on its own line, or as a 2-column Markdown table. Bold, italics, and code carry over.

2

Check the preview

Each card shows as a front/back pair so you can confirm them before importing.

3

Download and import

Download the file, then in Anki choose File then Import, pick your deck and the Basic note type, and import.

Frequently asked questions

How do I write a card?

Put a space on each side of the double colon: "Front :: Back". Or use a 2-column Markdown table, where each row becomes a card.

Does my Markdown formatting show on the cards?

Yes. Bold, italics, and inline code render on the card, because the import file marks fields as HTML.

How do I import the file into Anki?

Download it, then in Anki choose File then Import, select the file, pick your deck and the Basic note type, and import. Recent Anki versions read the separator and formatting settings from the file automatically.

Does it make cloze cards?

Not yet. This version makes Basic front/back cards; cloze deletions are a planned follow-up.

Is anything uploaded?

No. Your cards are built entirely in your browser. Nothing is sent to a server.