Text file to Anki — turn a plain .txt list into flashcards

Upload a plain .txt or .md file and download a .apkg deck. Term-and-definition lines become cards you can edit in Anki.

How it works

1. Drop your file

Notion export, PDF, Word, Markdown, or a Quizlet export.

2. 2anki builds your deck

Usually a few seconds. Bigger files take a minute.

3. Open it in Anki

Double-click the .apkg file. Your cards are ready to study.

Supported formats

What you actually get in Anki

Cloze deletions stay clickable

{{c1::...}} becomes a real Anki cloze card, not plain text.

Images render in the card

Embedded images come across and display on the front or back.

Tags carry over

Strikethrough in Notion or a tag column in CSV attaches to every card in the deck.

Correct note types

Basic, Cloze, and front/back map to the right Anki note type so import is clean.

No junk in your cards

No empty backs, no stray #, *, or $ characters left over from your notes.

Common questions

How should I format each line in the .txt file?

Put the term and its meaning on one line, separated by ' - ' or ' = ' (a space on each side), or by a Tab. For example: 'Mitochondria - the powerhouse of the cell'. Each line becomes one card.

Will plain paragraphs of notes become cards?

No. A line needs a separator (' - ', ' = ', or a Tab) to split into a front and back. A prose line with no separator is skipped instead of becoming a blank card. If you have running notes, add the separator or use a bullet structure.

Can I make cloze deletion cards from a text file?

Yes. Wrap a word in backticks, like `photosynthesis`, or leave a blank as ___, and that line converts to a cloze card instead of a front/back card.

What names the deck?

The filename. 'Spanish Verbs.txt' becomes a deck called Spanish Verbs. If the file starts with a Markdown heading, that heading is used instead.

Is .md any different from .txt?

No — plain text and Markdown go through the same path. A .md file also supports bullet-list cards, where a top-level bullet is the front and a nested bullet under it is the back.

Related