← Back to blog
·9 min read

Anki Tags: How to Add, Organize, and Search with Tags (Complete Guide)

Tags are one of Anki's most useful features, but they're also one of the most underused. Most students either ignore tags entirely or add a few random ones without a system. Done right, tags let you slice your card collection any way you want: by subject, by lecture, by exam, by difficulty, or by any other category that matters to you. And they work across decks, which makes them more flexible than deck organization alone.

Here's everything you need to know about tags in Anki: how to add them, how to organize them, and most importantly, how to search with them so you can find and study exactly what you need.

Adding Tags to Cards

When Creating a New Card

When you click Add to create a new card, there's a Tags field at the bottom of the window. Click it and type your tag. Press space or Enter to confirm the tag. You can add multiple tags separated by spaces.

cardiology valvular-disease lecture-12

This adds three tags to the card: cardiology, valvular-disease, and lecture-12.

Important: Tags can't contain spaces. Use hyphens or underscores instead. valvular-disease works. valvular disease would be treated as two separate tags.

Adding Tags to Existing Cards

Single card:

  1. Open the Browser (press B)
  2. Find your card
  3. Click on it
  4. Look at the Tags field in the editor at the bottom (or side)
  5. Add or modify tags directly

Multiple cards at once:

  1. Open the Browser
  2. Select multiple cards (Ctrl/Cmd + click, or Shift + click for a range)
  3. Right-click and choose Notes > Add Tags (or press Ctrl/Cmd + Shift + T)
  4. Type the tag you want to add
  5. Click OK

Every selected card now has that tag. This is the fastest way to tag a batch of cards, like everything from a specific lecture.

Remove tags in bulk:

Same process but choose Notes > Remove Tags (Ctrl/Cmd + Alt + T). Type the tag to remove and it's stripped from all selected cards.

Quick Tagging During Review

If you want to tag a card while you're reviewing it (without opening the browser), you can:

  1. Press E during review to open the editor
  2. Modify the tags at the bottom
  3. Close the editor and continue reviewing

Some add-ons (like the Tag Shortcut add-on) let you assign tags with a single keypress during review, which is even faster.

Organizing Tags: Build a System

Random tags are almost as useless as no tags. The power comes from having a consistent system. Here are two approaches that work well:

Hierarchical Tags (Recommended)

Anki supports nested tags using the :: separator. This creates a tree structure:

anatomy::upper-limb::shoulder
anatomy::upper-limb::elbow
anatomy::lower-limb::knee
physiology::cardiovascular::cardiac-output
physiology::cardiovascular::blood-pressure
pathology::cardiovascular::heart-failure

In the browser sidebar, these show up as expandable folders. Click "anatomy" and you see all anatomy cards. Click "anatomy::upper-limb" and you narrow it down. This hierarchy is incredibly powerful for medical students managing thousands of cards across organ systems.

To create hierarchical tags, just type the full path when adding a tag. Anki automatically creates the parent levels.

System-Based Tags

Another approach is using prefixes to categorize different types of tags:

#subject::cardiology          (topic)
#lecture::week-5-lecture-2     (source)
#exam::midterm-1              (what it's testable on)
#status::needs-review         (personal flags)
#source::robbins-ch-12        (textbook reference)

The prefixes make it easy to see what kind of tag you're looking at, and they group nicely in the sidebar.

What to Tag

At minimum, tag by:

  1. Subject/organ system: The broadest category (cardiology, neurology, biochemistry)
  2. Source: Where the card came from (lecture-12, robbins-ch-5, anking)
  3. Exam relevance: What test it's for (step-1, midterm-2, nbde-part-1)

Optional but useful:

  • Difficulty: Cards you keep getting wrong (leech, hard, review-again)
  • High-yield: Concepts your professor emphasized or that appear frequently on practice exams
  • Cross-links: When a card is relevant to multiple subjects (a pharmacology card that's also relevant to cardiology)

Searching by Tag

This is where tags pay off. In the browser search bar:

Find all cards with a specific tag

tag:cardiology

Returns every card tagged "cardiology," regardless of which deck it's in.

Search with hierarchical tags

tag:anatomy::upper-limb

Returns all cards tagged with "anatomy::upper-limb" AND all child tags (shoulder, elbow, etc.).

To search only the exact tag without children:

tag:anatomy::upper-limb::shoulder

Search by tag AND keyword

This is what most students actually want to do. Combine a tag filter with a text search:

tag:cardiology mitral valve

Finds all cards tagged "cardiology" that also contain "mitral" and "valve" in the card content. Both conditions must be true.

More examples:

tag:pharmacology beta-blocker

All pharmacology-tagged cards mentioning beta-blockers.

tag:anatomy::upper-limb "brachial plexus"

All upper limb anatomy cards with the exact phrase "brachial plexus."

Combine tag + keyword + deck

tag:cardiology deck:Pathology "heart failure"

Cards in your Pathology deck, tagged cardiology, containing "heart failure." This level of precision is useful when you're studying for a specific exam and want to cross-reference material.

Search multiple tags

tag:cardiology tag:pharmacology

Cards that have BOTH tags (cards about cardiac pharmacology, for instance).

(tag:cardiology OR tag:pulmonology)

Cards that have EITHER tag.

Find untagged cards

tag:none

Shows all cards with no tags at all. Useful for finding cards you forgot to organize.

Find cards with any tag matching a pattern

tag:anatomy::*

All cards with any tag starting with "anatomy::".

Using Tags for Custom Study Sessions

Tags and Filtered Decks are a powerful combination. When you're prepping for an exam, you can build a study session from tags:

  1. Create Filtered Deck (from the main screen or Tools menu)
  2. In the search field, type: tag:midterm-1 is:due
  3. This pulls all cards tagged for your midterm that are currently due for review

Other useful filtered deck searches with tags:

tag:high-yield is:new          (new high-yield cards you haven't seen yet)
tag:cardiology prop:due<3      (cardiology cards due in the next 3 days)
tag:weak-area -is:suspended    (cards you've flagged as weak, excluding suspended ones)

Managing Tags: Rename, Delete, Merge

Rename a tag

In the browser sidebar, right-click a tag and choose Rename. This updates the tag on every card that has it. Use this when you want to change your organization system without manually re-tagging everything.

Delete a tag

Right-click the tag in the sidebar and choose Remove. This strips the tag from all cards. The cards themselves aren't deleted, just the tag.

Merge tags

If you accidentally created duplicates (like "cardio" and "cardiology"), rename one to match the other. Anki merges them automatically.

Tag Workflow: A Practical Example

Here's how a medical student might use tags day to day:

During lecture (or after):

  1. Create cards from lecture slides (or use SlideToAnki to generate them)
  2. Tag all cards from that lecture: lecture::week5::cardiovascular-physiology
  3. Also tag by subject: physiology::cardiovascular
  4. Flag high-yield items the professor emphasized: high-yield

During review:

  1. Notice a card you keep getting wrong? Add tag: weak
  2. Card seems like it overlaps with another subject? Add the cross-reference tag
  3. Card feels irrelevant? Tag it low-yield and suspend it

Before an exam:

  1. Create a filtered deck: tag:midterm-2 -is:suspended
  2. Study the filtered deck alongside your regular reviews
  3. After the exam, remove the exam tag or archive it

End of semester:

  1. Search tag:weak to find all your trouble spots
  2. Create a filtered deck of just weak cards for intensive review
  3. Remove the weak tag from cards you've now mastered

Common Mistakes

Too many tags: If every card has 8 tags, you've created noise, not organization. Stick to 2-4 tags per card max.

Inconsistent naming: "cardio," "Cardiology," "cardiac," and "heart" are four different tags in Anki. Pick one convention and stick with it. Tags are case-insensitive in searches but case-sensitive in display.

Flat tags only: If you're not using the :: hierarchy, you're missing the best part of Anki's tag system. The tree structure in the sidebar alone is worth it.

Tagging after the fact: It's much harder to go back and tag 2,000 cards than to tag them as you create them. Build the habit early.

Tags vs. Decks: When to Use Which

A common question. Here's the simple rule:

  • Decks: Use for your daily study workflow. One deck per course, or one master deck with sub-decks by subject. Decks control what you study each day.
  • Tags: Use for cross-cutting categories that don't fit neatly into one deck. A card can only be in one deck, but it can have unlimited tags.

For example, a card about metformin's mechanism of action lives in your Pharmacology deck. But it's tagged pharmacology::diabetes, endocrinology, step-1-high-yield, and lecture::week-8. The deck tells Anki when to show it to you. The tags let you find it in any context.

Quick Reference

What you want to doSearch syntax
All cards with a tagtag:cardiology
Tag + keywordtag:cardiology "heart failure"
Multiple tags (AND)tag:cardiology tag:high-yield
Multiple tags (OR)(tag:cardiology OR tag:neurology)
Tag + decktag:high-yield deck:Pathology
No tagstag:none
Wildcard tagtag:anatomy::*
Add tags in bulkSelect cards > Ctrl/Cmd+Shift+T
Remove tags in bulkSelect cards > Ctrl/Cmd+Alt+T

Tags take five minutes to learn and save hours over the course of a semester. If you're not using them yet, start with just two: subject and source. You can always add more complexity later.

If you're using SlideToAnki to generate your cards, we automatically tag cards by lecture topic so they're organized from the start. One less thing to think about.