Browsing
- Table Modes
- Sidebar
- Search Box
- Card/Note Table
- Editing Area
- Menus and Actions
- Find and Replace
- Finding Duplicates
The Browse window allows you to search through your cards and notes, and edit them. It is opened by clicking Browse in the main window, or by pressing B. It is comprised of three sections: the sidebar on the left, the card/note table on the top right, and the editing area on the bottom right. By positioning the mouse between two sections, it is possible to click and drag to expand one section and shrink the other.
Table Modes
Anki 2.1.45+ offers two modes to show either cards or notes in the data table. You can change the current mode by clicking the switch at the top, to the left of the search area, or pressing Alt+T. The switch also indicates if Cards or Notes are currently shown.
Note: For the sake of simplicity, this manual generally assumes the Cards mode to be the active one. Whenever selecting/finding/etc. “cards” is mentioned, the reader may substitute it for “cards or notes depending on the active mode”.
Sidebar
The sidebar on the left allows quick access to common search terms. On Anki 2.1.45+, it also provides a searchbar, facilities to edit tags and decks and a choice of two different tools, which are discussed in the following sections. You can switch tools using the toolbar at the top of the sidebar or the shortcuts Alt+1/2.
Search Tool
With this tool, the sidebar behaves as in previous versions: Clicking on an item will search for it.
You can hold down Ctrl (Command on Mac) while clicking in order to append the clicked item to the current search with an AND condition, instead of starting a new search. If you wanted to show learning cards that were also in the German deck for instance, you could click on "Learning", then Ctrl-click on "German".
You can hold down Shift to create an OR search instead of an AND. For example, you could click one deck, then Shift-click another to show cards from either of the decks in the same view.
You can hold down Alt (Option on Mac) in order to reverse the
search (prepend a -
) – for instance, to show all cards in a current deck that
do not have a certain tag. Alt/Option can be combined with
either Ctrl or Shift (e.g., Ctrl+Alt-clicking
will result in adding a new search term that is negated).
On Anki 2.1.39+, you can also hold down both Ctrl and
Shift when clicking a search term to replace all occurences of the
same kind of search with the new one.
Let’s say you had previously typed in a complicated search expression like
deck:Swahili (is:due or tag:important)
and now want to perform the same search for your Urdu deck. You can
Ctrl+Shift-click the Urdu deck in the sidebar to obtain the
according search expression:
deck:Urdu (is:due or tag:important)
.
Selection Tool
The Selection tool allows for selecting multiple items at the same time by Ctrl- and Shift-clicking. It also enables drag and drop to reorder decks and tags.
Here is an example: Say you have the tags Math
, Calculus
and Algebra
.
Click on the Calculus
tag, then Ctrl-click on the Algebra
tag. Now both
tags are selected, click and drag any of the two onto the Math
tag to make them
both children of this tag. Behind the curtains, Anki has renamed the two tags to
Math::Calculus
and Math::Algebra
respectively and updated your notes accordingly.
Another use case for selecting multiple items is searching: If you right-click on a selection of items, you can choose Search > All/Any Selected Items. This can be combined with keyboard modifiers as described in Search Tool to append the resulting search to the current search.
Saved Searches
If you regularly search for the same thing, you can save the current search by right-clicking the topmost item in the sidebar, choosing “Save Current Search” and typing in a name.
Editing Items
You can delete or rename tags, decks and saved searches directly from the sidebar, via the right-click menu, or by using a shortcut key (Del and F2 on Windows). Deleting even works for multiple items at once (see Selection Tool).
Finding Items
To find a certain item in the sidebar tree, type part of its name into the searchbar at the top to temporarily hide all items not matching the search.
Search Box
Above the card list is a search box. You can type in various things there to search for cards. For information on the search syntax, see Searching.
Card/Note Table
The table's rows represent cards or notes that match the current search. When you click on a row, the corresponding note will be shown in the bottom section.
Rows
If you drag the mouse or hold Ctrl or Command to select multiple rows, the editor will be temporarily hidden. Various operations (such as changing the deck) can operate on multiple cards or notes at once, independent of the active mode. Therefore in Cards mode, a note is considered to be selected if any of its cards is selected, and in Notes mode, a card is considered to be selected if its note is selected.
Other operations (like showing card info) only operate on a single, the so-called current, card or note, which is usually the one that was last left- or rightclicked. In Cards Mode, again, the current note is the note of the current card and in Notes mode, the current card is the first card of the current note.
The background color will change depending on the card and note. In Cards mode, the first match will be used:
- if the card is flagged, use the flag color,
- if the card is suspended, yellow,
- if the card's note is marked, purple.
In Notes mode, color is only applied to marked notes.
For more information about marked notes and suspended cards, see Editing and
More.
Columns
The columns are configurable: right click on one (or Ctrl-click on a Mac) to choose which columns you’d like to see. You can drag columns to reorder them. Clicking on a column will sort by that column; click again to reverse the sort order. Note that you can't sort by the Question and Answer columns.
All columns are available for both Cards and Notes mode but sometimes with slightly different names and data. The following table lists the behaviours for both modes.
Column | Cards mode | Notes mode |
---|---|---|
Answer | The back side of the card in one line with the question stripped. You can also choose a custom format in the card type editor instead. | The same as in Cards mode, only for the first card of the note. |
Card(s) | The name of the card's template. | The number of cards the note has. |
Card Modified | The last time changes were made to the card (e.g., when you reviewed the card and the review history and interval were updated). | The last time changes were made to one of the note's cards. |
Created | The same as in Notes mode for the card's note. | The date the note was created. |
Deck | The name of the deck the card is in. | The number of different decks the note's cards are in, or the deck name if all cards are in the same deck. |
Due | The due date for cards in review or (re)learning, and the position in the new card queue for new cards. The line is wrapped in brackets if the card is suspended or buried. Sorting is done by type and only then by date or position. | The due date for the note's next due review or (re)learning card that is not suspended, buried or in a filtered deck. |
(Avg.) Ease | The card's ease if it is not new. | The average ease for the note's cards that are not new. |
(Avg.) Interval | The card's interval if the card is in review or relearning. | The average interval for the note's cards that are in review or relearning. |
Lapses | How often the card was rated “Again”. | The total lapses for all cards of the note. |
Note | The same as in Notes mode for the card's note. | The name of the note's notetype. |
Note Modified | The same as in Notes mode for the card's note. | The last time the note (e.g. the content of a field) was edited. |
Question | The front side of the card in one line. You can also choose a custom format in the card type editor instead. | The same as in Cards mode, only for the first card of the note. |
Reviews | How often the card has been reviewed. | The total review count for all cards of the note. |
Sort Field | The same as in Notes mode for the card's note. | The content of the note's field that is defined as the notetype's sort field. Only this one field can be displayed and sorted by. You can change the sort field by clicking Fields... in the editing area. |
Tags | The same as in Notes mode for the card's note. | The note's tags. |
Editing Area
The bottom right area displays the note of the currently selected row. For more information about cards and notes, see Getting Started. For more information on formatting buttons, see Editing.
You can see a preview of what the currently selected card would look like when reviewing by clicking the Preview button next to the search box. Note that this will not display any type answer fields on your cards, which makes it easier to preview cards quickly. In Notes mode, the preview is shown for the first card of the selected note.
Menus and Actions
At the top of the browser window, you find a toolbar with various menus which in turn offer various actions that can be performed in the browser.
Edit
Name | Action |
---|---|
Undo | Revert the last performed operation. |
Select All | Select all table rows. |
Select Notes | Show only the currently selected notes and select all rows. |
Invert Selection | Select unselected and deselect selected rows. |
Create Filtered Deck | Show the filtered deck dialog and set the current browser search as a filter. Use Alt / Option to set the second filter instead (requires scheduler version 2+). |
Notes
Most of the following actions operate on the selected notes. They are also available through a context menu when a selected row is right-clicked in Notes mode. In Cards mode, they can be found in a submenu of the context menu.
Name | Action |
---|---|
Add Notes | Open the Add dialog. |
Export Notes | Open the Export dialog. |
Add Tags | Add provided tags to all selected notes. |
Remove Tags | Enter tags and remove them from all selected notes. |
Clear Unused Tags | Remove all tags from the sidebar that are not used by any notes. |
Toggle Mark | If the current note is marked (i.e., has the Marked tag), unmark all selected notes. If the current is not marked, mark all selected notes. |
Change Notetype | Convert the selected notes from one type to another. For example, imagine you have a Russian notetype and a Computer notetype, and you accidentally added some computer-related text into a Russian note. You can use this option to fix that mistake. The scheduling of cards is not affected. Changing the type of a note requires a one-way sync. |
Find Duplicates | Open the Duplicates dialog. |
Find and Replace | Open the Find and Replace dialog. |
Manage Notetypes | Open the Notetypes dialog. |
Delete | Delete all selected notes and their cards. It is not possible to remove individual cards, as individual cards are controlled by the templates. |
Cards
The following actions operate on the currently selected cards. They are also available through a context menu when a selected row is rightclicked in Cards mode. In Notes mode, they can be found in a submenu of the context menu.
Name | Action |
---|---|
Change Deck | Move currently selected cards to a different deck. |
Set Due Date | Move cards to the end of the new card queue, or reschedule them as a review card on a given date. The second option is useful if you have imported already-learnt material, and you want to start it off with higher initial intervals. For example, entering 60-90 will give all the imported cards an initial interval of 2 to 3 months. The card’s revision history is not cleared when rescheduling: rescheduling changes the current state of a card, but not its history. If you want to hide the history, you will need to export your notes as a text file, delete the notes, and then import the text file again, creating new notes. |
Forget | Move currently selected cards back to the new queue, and reset their ease. Their review history is preserved. |
Reposition | Change the order new cards will appear in. You can find out the existing positions by enabling the due column, as described in the table section above. If you run the reposition command when multiple cards are selected, it will apply increasing numbers to each card in turn. By default the number increases by one for each card, but this can be adjusted by changing the "step" setting. The Shift position of existing cards option allows you to insert cards between currently existing ones, pushing the currently existing ones apart. For instance, if you have five cards and you want to move 3, 4, and 5 between 1 and 2, selecting this setting would cause the cards to end up in the order 1, 3, 4, 5, 2. By contrast, if you turn this option off, 1 and 2 will get the same position number (and it will thus be unpredictable which of the cards with the same number comes up first). Please note that when enabled, any card with a higher position will be modified, and all of those changed cards will need to be sent the next time you sync. |
Toggle Suspend | Suspend or unsuspend all selected cards, depending on whether the current card is suspended or not. |
Flag | Toggle the flags of all selected cards. Whether a flag is added or removed depends on whether the current card has the chosen flag. |
Info | Show various information about the current card, including its review history. For more information, see Card Info. |
Go
This menu exists to provide keyboard shortcuts to jump to various parts of the browser, and to go up and down the card list.
Find and Replace
To replace text in selected notes, you can either:
-
Right click on selected notes in the card list, and click Find and Replace.
-
In the Browser window, click Notes in the menu bar and click Find and Replace.
The regular expression option allows you to perform complex replacements. For example, given the following text in a field:
<img src="pic.jpg" />
Searching for:
<img src="(.+?)" />
and on Anki 2.1.28, replacing with:
${1}
on older Anki versions, replacing with:
\1
Will change the card to:
pic.jpg
A full discussion on regular expressions is outside the scope of this document. There are a number of syntax guides available on the web:
- For Anki 2.1.28+, see https://docs.rs/regex/1.3.9/regex/#syntax.
- For older Anki versions, see http://docs.python.org/library/re.html.
Finding Duplicates
You can use the Notes > Find Duplicates option to search for notes that have the same content. When you open the window, Anki will look at all of your note types and present a list of all possible fields. If you want to look for duplicates in the Back field, you’d select it from the list and then click Search.
By default, it will search in all note types that have the field you provided. This differs from the duplicate check when you add cards manually, which is limited to a single note type.
The Optional filter text box allows you to narrow down where Anki will look for duplicates. If you only want to search for duplicates in the "French Vocab" and "French Verbs" note types, you would enter:
note:'french vocab' or note:'french verbs'
Or you might want to look only for duplicates in a particular deck, so you could use:
deck:'myDeck'
The search syntax is the same as used when searching in the browser. For more information, see Searching.
You can click one of the links in the search results list to display the duplicate notes in that set. If the search brings up a large number of duplicates, you may wish to instead click the Tag Duplicates button, which will tag all matching notes with duplicate. You can then search for this tag in the browser and handle them all from the same screen.