Turn a spreadsheet or another app’s export into flashcards
To turn a spreadsheet into flashcards, save it as a CSV or TSV file, or copy two columns and paste them into Deckmere. An export from any app that writes one card per line as text works the same way. Deckmere shows the real cards before it saves anything, and importing is free.
What a file needs to look like
- One card per line. One column holds the front of the card, another the back. Rows without a front are skipped; rows without a back are counted and still imported.
- Separators. Columns can be separated by a comma, a tab, a semicolon or a vertical bar (|). Deckmere picks the separator that gives the most consistent columns, and you can change it.
- Quotes. Put a cell in double quotes when it contains the separator or a line break, and write a quote inside it twice. Spreadsheet apps do this for you when they save as CSV.
- A header row, if you like. When the first row holds column names such as Front, Back, Question, Answer, Term, Definition, Tags or Deck, Deckmere treats it as a header and gives those columns their role. It also recognizes the words for question and answer in Dutch, German, French, Spanish and Portuguese, and for front and back in Dutch and Japanese.
- Tags and decks. A tags column may hold several tags separated by spaces or commas. A deck column sends each card to the deck it names, and a name that does not exist yet becomes a new deck.
- Encoding. UTF-8 works best. UTF-16 files with a byte order mark are read too. A file that is not valid UTF-8 is read as Windows-1252 and flagged, and you can choose UTF-8, UTF-16, Windows-1252, ISO-8859-1 or Shift_JIS until the preview looks right.
- File types and size. Files ending in .csv, .tsv or .txt, up to 50 MB. Split a larger file into smaller ones.
A small CSV file with a header row, a quoted cell, tags and a deck column:
Front,Back,Tags,Deck el perro,the dog,animals,Spanish "mirar, ver",to look; to see,verbs,Spanish la casa,the house,,Spanish
Import a CSV or TSV file
- Save the file
In your spreadsheet app, put the fronts in one column and the backs in the next, then save or export the sheet as CSV or as tab-separated text. Choose UTF-8 when the app offers it.
- Put it on your phone
On iPhone and iPad, save the file to iCloud Drive or another cloud drive that the Files app shows. On Android, put it in the Download folder or a cloud drive that your file picker shows.
- Pick the file
In Deckmere, tap the Create tab, then Import a file, and choose the file.
- Check how it is read
Check Text encoding and Separator, and turn First row is a header on or off. Turn on Rows end with a semicolon if the cards are separated by semicolons instead of new lines.
- Give each column a role
Under Columns, choose Front, Back, Tags, Deck or Ignore for each column. A front is required.
- Check the preview
The preview gives the number of Cards to import and shows the first cards, with the rows without a front, the rows without a back and the duplicate rows counted.
- Choose the options
Turn on Also make reverse cards to study both directions. Skip duplicate rows is on by default. If cells start with an apostrophe that a spreadsheet put before =, +, - or @, Deckmere removes it and shows a switch to keep it.
- Choose the deck and import
Pick an existing deck, or keep New deck and check the New deck name, which starts as the file name. Tap Import; all cards are saved in one go.
Paste two columns instead
- Copy the text
Copy two columns from a spreadsheet, or the text another app exports, with one pair per line and a tab, comma or semicolon between term and definition.
- Paste it
In Deckmere, tap the Create tab, then Paste text. Paste into the field and tap Make cards from two columns to see the preview.
- Check and import
You get the same separator, column, preview and deck choices as for a file. Tap Import to save the cards.
Moving from another flashcard app
Many flashcard apps can export a set as text with one card per line. If the app lets you choose, pick a tab between term and definition and a new line between cards. Copy the text and paste it into Deckmere, or save it as a .txt or .csv file and import it. A text export holds words only: pictures, audio and study history are not in it. If the app exports Anki packages, import the package instead.
Where iPhone, iPad and Android differ
- On iPhone and iPad the Files app shows .csv, .tsv and .txt files. On Android the file picker shows every file, and anything that is not an Anki package or a Deckmere backup is read as a table.
- On iPhone and iPad the encoding, the separator and each column’s role are menus; on Android they are rows of buttons.
Taking cards back out
Open a deck and choose Export cards as CSV or Export cards as TSV from its menu. Only the question and answer text is included. To keep images, audio, tags and history, use a Deckmere backup or an Anki package.