CSV to flashcards

Turn a CSV into flashcards in about ten seconds.

Open the file, choose which columns go on the front and the back, and practise. Your list stays on your device.

By Updated

Import a CSV
  1. 1Open your CSVChoose the file, drop it in, or paste the rows. The separator is detected for you.
  2. 2Pick the sidesChoose the columns for the front and the back. A side can show more than one column.
  3. 3PractiseFlip, grade, and missed cards come back until you know them.

What a flashcard CSV looks like

One row per card, one column per piece of information. A header row is optional but makes the next step clearer:

Word,Meaning,Example
  hola,hello,¡Hola! ¿Qué tal?
  gracias,thank you,"Gracias, amigo."
  perro,dog,El perro duerme.

Values with a comma inside are wrapped in double quotes, as in the second row. Spreadsheet apps do that for you when they save a CSV. Semicolons (common in Europe), tabs, pipes and colons work the same way and are detected automatically. Lines starting with # are skipped, so Anki-style text exports with #separator:tab headers open as they are.

Choosing what goes on each side

After the file opens you see its columns. Pick one or more for the front and one or more for the back. With the example above, Word on the front and Meaning plus Example on the back gives you a vocabulary card with a sentence underneath. You can change this later from the deck, without importing again.

From Excel, Google Sheets or Numbers

  • Google Sheets: File → Download → Comma-separated values (.csv).
  • Excel: File → Save As → CSV UTF-8. Plain “CSV” can break accented letters on Windows.
  • Numbers: File → Export To → CSV.
  • Any of them: select the cells, copy, and paste into the import box. Copied cells arrive tab separated, which works just as well.

After the import

The deck is saved in your browser. Practise it, edit cards, search, or share it with a link or QR code. If you also use Anki, send the deck to Anki Desktop, export it again as CSV or TSV, or turn the original file into an Anki package with the CSV to APKG converter.

Questions

What format should my CSV be in?

One card per row and one column per side, for example Word,Meaning. A header row is optional. Commas, semicolons, tabs, pipes and colons are all detected, and a value with a comma inside should be wrapped in double quotes, which spreadsheet apps do for you.

Can I use more than two columns?

Yes. Any column can go on either side, and a side can combine several columns, such as a word with its reading on the front and the meaning with an example on the back.

Can I use an Excel or Google Sheets file?

Save it as CSV (in Google Sheets: File → Download → CSV), or copy the cells and paste them into the import box. Pasted cells arrive tab separated, which is detected automatically.

How many cards can one CSV have?

Thousands: a deck holds up to 5,000 cards. Decks are stored in your browser, so there is no account plan or upgrade; split a bigger list into several decks.

Related