Setting up Anki

Before importing your CSV, you need to create a note type in Anki with the right fields and card templates. This only needs to be done once. If you don’t have Anki yet, download it here.

Create the note type

  1. Open Anki and go to Tools > Manage Note Types
  2. Click Add, choose Add: Basic, and name it Kindle Spanish Vocab
  3. Select your new note type and click Fields. Delete the default “Front” and “Back” fields, then add these eight fields in order:
    word
    definition
    label
    book
    authors
    usage
    morphology
    usage_pos
  4. Click Save to close the Fields window, then click Cards to open the template editor.
  5. Replace everything in the Front Template with the code below:
    <div class="card-front"> <div class="usage">{{usage}}</div> <div class="label">{{label}}</div> <div class="book-info">{{book}} &mdash; {{authors}}</div> </div> <style> @import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500&display=swap'); .card { background: #f7f2e9; font-family: 'Inter', sans-serif; color: #1e1a13; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; min-height: 100vh; } .card-front { text-align: center; max-width: 480px; padding: 2.5rem 2rem; } .usage { font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.1rem; font-style: italic; color: #1e1a13; line-height: 1.8; margin-bottom: 1.5rem; padding: 0 0.5rem; } .label { font-size: 0.78rem; font-weight: 500; color: #9c8e7a; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; } .book-info { font-size: 0.73rem; color: #9c8e7a; letter-spacing: 0.02em; padding-top: 1rem; border-top: 1px solid #ddd5c0; display: inline-block; } </style>
  6. Replace everything in the Back Template with the code below:
    <div class="card-back"> <div class="word">{{word}}</div> <div class="label">{{label}}</div> {{#usage_pos}} <div class="morphology morphology--context">{{usage_pos}}</div> {{/usage_pos}} {{^usage_pos}} {{#morphology}} <div class="morphology">{{morphology}}</div> {{/morphology}} {{/usage_pos}} <div class="divider-line"></div> <div class="definition">{{definition}}</div> </div> <style> @import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500&display=swap'); .card { background: #f7f2e9; font-family: 'Inter', sans-serif; color: #1e1a13; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; min-height: 100vh; } .card-back { text-align: center; max-width: 480px; padding: 2rem; } .word { font-family: 'Libre Baskerville', Georgia, serif; font-size: 2.6rem; font-weight: 700; color: #1e1a13; margin-bottom: 0.2rem; letter-spacing: -0.02em; } .label { font-size: 0.75rem; font-weight: 500; color: #9c8e7a; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; } .morphology { font-size: 0.8rem; font-weight: 500; color: #8a6e2a; background: rgba(201, 168, 76, 0.12); display: inline-block; padding: 0.25rem 0.75rem; border-radius: 3px; margin-bottom: 0.75rem; letter-spacing: 0.01em; } .morphology--context { color: #2d6a4f; background: rgba(45, 106, 79, 0.09); } .divider-line { width: 36px; height: 2px; background: #ddd5c0; margin: 0.75rem auto; } .definition { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 400; color: #1e1a13; line-height: 1.6; } </style>
  7. Clear everything in the Styling section (the styles are already embedded in the templates). Click Save.

Importing your CSV

  1. Create a new deck in Anki for your vocabulary (e.g. “Spanish Reading”) by clicking Create Deck at the bottom of the main screen
  2. Go to File > Import and select your downloaded CSV file
  3. Set the Note Type to Kindle Spanish Vocab and set the Deck to the deck you just created
  4. Change the Field Separator to Comma
  5. Make sure Allow HTML in fields is checked (this preserves the word highlighting in your context sentences)
  6. Verify the field mapping matches: field 1 = word, field 2 = definition, field 3 = label, field 4 = book, field 5 = authors, field 6 = usage, field 7 = morphology, field 8 = usage_pos. Ignore any extra columns (morphology_source, status, fail_reasons).
  7. Click Import. Your cards are ready to study.
Back to upload