DocSync (Notes Import/Export)
Description
DocSync (Notes Import/Export) is an Anki add-on designed to import/export notes to rich text. You can edit those notes using any document editor of your choice (recommend gg docs) and seamlessly import the changes back into Anki, updating existing fields based on their unique note ID (position).
This is especially helpful for bulk editing content, reviewing your cards externally, or leveraging other text-processing tools while preserving the integrity of Anki fields, media elements (only support image), and HTML formatting.
Installation
You can easily install this add-on directly from AnkiWeb using the shared add-on ID.
- Open Anki and go to
Tools -> Add-ons.
- Click Get Add-ons...
- Enter the code
1353411495 and click OK.
- Restart Anki to allow the add-on to load.
More info on the AnkiWeb Shared Add-on Page.
Usage
Exporting Notes
- Open the Anki Browser (
Browse from the main window).
- Select one or more notes you want to export.
- Right-click the selected notes.
- Click on π DocSync: Export Notes to Docs.
The exported text file will have the following structure:
### START_CONFIG
{"notetype": "", "deck": "", "fields": [""]}
### END_CONFIG
===[anki-id]
(content)
>>>
(content)
===
(content2)
>>>
(content2)
Importing Notes
- On the main Anki window, click the Tools menu.
- Click on π DocSync: Import Notes from Docs.
- Pasted rich-text and press import.
The add-on will intelligently parse the Note IDs and Field Names, only updating the note content where differences are detected. Media tags and HTML structures are handled robustly to prevent breaking your rich formatting!