Auto Export Addon

AnkiWeb addon 1162119875

Automatically exports Anki notes to text files on startup, with deck, tag, and card-state filters, configurable formats, output directory, preview, and manual export.
AI-generated summary; may contain mistakes.

export

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-02-23
Anki versions
2.1.1~
License
MIT (from the AnkiWeb description)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2026-02-23 (251 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-02-23
History across monthly snapshots

Loading…

Similar addons

AnkiGit

Exports each Anki note as a Markdown file in a local Git repository, enabling snapshots, selective import, diff previews, conflict resolution, and automatic syncing.

importexportsync-integrationbackup-maintenance

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 5 Anki 25.09.2~ Updated 2026-05-28
LLM Review Stats Exporter

Exports Anki review history to CSV or JSONL for use with LLMs, with deck, time, tag, interval, and field filters plus optional summary files.

exportstatistics

5 votes 57% approval πŸ‘ 5 Β· πŸ‘Ž 0 ⭐ 5 Anki 2.1.66~ Updated 2026-07-22
Anki HTML Exporter

Exports Anki cards to interactive, searchable, printable HTML pages rendered by Anki's engine, with live browsing, narrated slideshows, rapid presentations, filtering, media support and study tools.

aiexportreview-flow

4 votes 51% approval πŸ‘ 4 Β· πŸ‘Ž 0 Anki 26.08.1~ Updated 2026-09-16
𝕾 Selected Notes to Structured Text (for LLMs)

Exports selected Anki notes as LLM-friendly structured textβ€”copyable or savedβ€”preserving field contents unchanged while including note type, deck path, and optionally tags.

export

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 3 Anki 26.09~ Updated 2026-08-24

Description

!!! NOTE !!! I have used AI to vibecode this addon. As far as I know, everything works good. If there are any issues, please contact me at kaantrash@proton.me. I use this addon to auto-export my already reviewed cards, to then let an AI agent read the newest export and generate lessons for me using my known cards. Again: This is purely vibe coded, I do not take credits for this.

Auto Export Notes to TXT - Anki Add-on

Automatically export your Anki notes to text files when Anki starts. Features a comprehensive settings GUI with deck dropdown, tag selection, preview, and manual export.

Features

  • βœ… Auto-export on startup - Automatically exports notes every time you open Anki
  • βœ… Deck dropdown - Select from all your decks automatically
  • βœ… Card state filtering - Filter by new/learning/review/due/suspended/buried
  • βœ… Clickable tag selection - Choose tags from a list with checkboxes
  • βœ… Custom output directory - Browse and select export location
  • βœ… Use default directory toggle - Quickly switch between custom and default
  • βœ… Flexible filenames - Automatic timestamped OR manual fixed filenames
  • βœ… Export preview - See which notes will be exported before exporting
  • βœ… Manual export button - Export on demand with overwrite confirmation
  • βœ… Two export formats - Simple (TSV-like) or detailed (human-readable)
  • βœ… Settings persistence - All settings are saved automatically

Installation

Method 1: Manual Installation

  1. Download the add-on files
  2. Open Anki and go to Tools β†’ Add-ons
  3. Click "View Files" button to open the add-ons folder
  4. Create a new folder named auto_export_notes
  5. Copy the downloaded files into this folder
  6. Restart Anki

Quick Start

  1. After installation, go to Tools β†’ Auto Export Notes - Settings
  2. Configure your export settings:
    • Select a deck from the dropdown (or "All Decks")
    • Choose card state (e.g., "Review Cards Only" for already studied cards)
    • Select tags to include (optional)
    • Choose output directory or use default
    • Set filename mode (auto or manual)
  3. Click "Save Settings"
  4. The add-on will auto-export on next Anki startup

Settings Explained

General Tab

| Setting | Description | |---------|-------------| | Enable auto-export | Turn auto-export on/off | | Show notification | Show popup after auto-export | | Export Format | Simple (TSV) or Detailed (readable) | | Include HTML | Keep HTML tags in output | | Include tags | Add note tags to export |

Location Tab

| Setting | Description | |---------|-------------| | Use default directory | Use ~/AnkiExports (toggle on/off) | | Browse... | Select custom output folder | | Filename Mode | Auto (timestamped) or Manual (fixed) |

Filters Tab

| Setting | Description | |---------|-------------| | Deck | Select from all your decks | | Card State | All/New/Learning/Review/Due/Suspended | | Tags | Click checkboxes to select tags | | Tag Logic | OR (any) or AND (all) | | Exclude Tags | Comma-separated tags to exclude |

Using the Preview Feature

Click "Preview Export" to see a list of notes that match your current filters:

  • Shows first 100 matching notes
  • Displays deck, first field, and tags
  • Helps you verify filters before exporting

Manual Export

Click "Export Now" to export immediately:

  • Uses current settings
  • Overwrites existing files (no confirmation needed)
  • Shows success/error message

Example: Export Reviewed Cards from "Kaishi 1.5k"

  1. Open Tools β†’ Auto Export Notes - Settings
  2. In Filters tab:
    • Deck: Select "Kaishi 1.5k" from dropdown
    • Card State: Select "Review Cards Only (Graduated)"
  3. In Location tab:
    • Choose your preferred output directory
    • Set filename mode (e.g., auto with timestamp)
  4. Click "Save Settings"

On next Anki startup, only your reviewed cards from Kaishi 1.5k will be exported.

File Locations

Add-on Folder

  • Windows: %APPDATA%\Anki2\addons21\auto_export_notes
  • Mac: ~/Library/Application Support/Anki2/addons21/auto_export_notes
  • Linux: ~/.local/share/Anki2/addons21/auto_export_notes

Default Export Directory

  • All platforms: ~/AnkiExports (in your home directory)

Troubleshooting

"No notes found" message

  • Check that your deck name is correct
  • Verify card state filter
  • Try with "All Decks" and "All Cards" first

Export not happening on startup

  • Check that Enable auto-export is checked
  • Verify the addon is enabled in Tools β†’ Add-ons

Can't find my export file

  • Check your configured output directory
  • Look in ~/AnkiExports if using default
  • Check filename mode (auto adds timestamp)

Changelog

Version 2.0.0

  • Complete GUI redesign with tabs
  • Deck dropdown (auto-populated from Anki)
  • Clickable tag selection
  • Export preview feature
  • Manual export button with overwrite
  • Default directory toggle
  • Settings persistence improvements

Version 1.2.0

  • Added card state filtering

Version 1.1.0

  • Added manual filename mode

Version 1.0.0

  • Initial release

Anki Search Syntax Reference

The add-on uses Anki's built-in search syntax:

Deck Search

  • deck:"My Deck" - Specific deck
  • deck:"Parent::Child" - Subdeck
  • deck:"Language::*" - All subdecks of "Language"

Tag Search

  • tag:mytag - Has specific tag
  • tag:parent::child - Hierarchical tag
  • -tag:mytag - Does NOT have tag

Combining Searches

  • Space between terms = AND
  • OR between terms = OR
  • - before term = NOT

Examples:

  • deck:"Spanish" tag:vocabulary - Vocabulary in Spanish deck
  • tag:important OR tag:exam - Either important OR exam tagged
  • deck:"Medical" tag:anatomy -tag:suspended - Anatomy cards in Medical deck, not suspended

Troubleshooting

"No notes found" message

  • Check that your deck name is spelled correctly (case-sensitive)
  • Verify tag names are correct
  • Try leaving deck name and tags empty to export all notes

"Cannot create output directory" error

  • Make sure you have write permissions to the specified directory
  • Try using a directory in your home folder like ~/AnkiExports
  • On Windows, use forward slashes or double backslashes: C:/Users/Name/Exports or C:\\Users\\Name\\Exports

Export not happening on startup

  • Check that Enabled is set to true in configuration
  • Look for error messages in Anki's startup
  • Try manual export to see if there are any errors

Wrong notes being exported

  • Double-check your deck name (must be exact)
  • Verify tag spelling
  • Check if you're using OR vs AND logic correctly

File Locations

Add-on Folder

  • Windows: %APPDATA%\\Anki2\\addons21\\auto_export_notes
  • Mac: ~/Library/Application Support/Anki2/addons21/auto_export_notes
  • Linux: ~/.local/share/Anki2/addons21/auto_export_notes

Default Export Directory

  • All platforms: ~/AnkiExports (in your home directory)

Compatibility

  • Anki Version: 2.1.50+
  • Python: 3.9+
  • Platforms: Windows, macOS, Linux

License

MIT License - Feel free to modify and distribute.

Support

If you encounter issues:

  1. Check the Troubleshooting section
  2. Contact kaantrash@proton.me

Changelog

Version 1.2.0

  • Added card state filtering (new/learning/review/due/suspended/buried)
  • Useful for exporting only reviewed cards or due cards

Version 1.1.0

  • Added manual filename mode
  • Added option to prompt for filename on startup
  • Added FilenameDialog for entering custom filenames

Version 1.0.0

  • Initial release
  • Auto-export on startup
  • Deck and tag filtering
  • Simple and detailed export formats
  • Configuration GUI
  • Manual export option