field_injection_extraction

AnkiWeb addon 207985417

Bulk exports selected Anki note fields and tags to TSV, then imports edits back with replace, prepend or append modes, HTML or plain text, Note ID matching, and review/undo safety.
AI-generated summary; may contain mistakes.

importexportnote-managementtagging

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-08-30
Anki versions
2.1.1~
License
Not found (this does not mean that the addon has no license)
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

active

  • Last update or commit: 2026-08-30 (63 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-08-30
History across monthly snapshots

Loading…

Similar addons

Anki Markdown Notes

Imports and exports Markdown notes as Anki cards, converting Q/A entries into basic or reversed cards and mapping folders to decks.

card-creationimportexport

1 votes 0% approval πŸ‘ 0 Β· πŸ‘Ž 1 ⭐ 38 Anki 2.1.41~ Updated 2021-03-14
Bulk card creator with JSON

Creates many Anki notes at once from flat JSON arrays or mapped CSV/TSV data, supporting decks, tags, validation, warnings, and editable cards before bulk creation.

card-creationimport

10 votes 60% approval πŸ‘ 9 Β· πŸ‘Ž 1 ⭐ 1 Anki 2.1.1~ Updated 2026-04-25
Export in CSV format

Adds a "Notes in CSV format" export option to Anki's export dialog, enabling notes to be saved as CSV for use in Excel, Numbers or Google Sheets.

exportobsoletefork-or-reupload

33 votes 59% approval πŸ‘ 25 Β· πŸ‘Ž 8 Anki <=2.1.54 Updated 2019-01-21

Description

related to https://github.com/nihonmiah71/miningsimple-system-overview

Anki Field Import/Export (Injection/Extraction)

This Anki add-on provides a powerful and flexible way to bulk export (extract) specific fields from your Anki notes to a spreadsheet format (TSV) and import (inject) updated data back into them. It is highly customizable, supporting various formatting options, precise ID matching, and a robust undo system.

✨ Features

  • Selective Export/Import: Choose exactly which fields you want to export or update.
  • Format Flexibility: Export and import text as either raw HTML (retaining Anki's formatting) or Plain Text (clean, readable text without HTML tags).
  • Multiple Injection Modes: Update your fields by entirely Replacing the old content, Prepending to it, or Appending to the end of it.
  • Precise Note Matching (NID): Safely update notes regardless of their order by matching them exactly using their unique Note ID (nid).
  • Tag Support: Export and import tags alongside your field data.
  • Interactive Safety Net: A built-in review dialog allows you to preview the changes in the Anki browser before permanently applying them, with a one-click Undo button to revert everything if you made a mistake.
  • Excel/Spreadsheet Compatibility: Uses UTF-8-SIG encoding to ensure seamless compatibility with Microsoft Excel and other spreadsheet software without character encoding issues.

πŸš€ How to Use

Accessing the Add-on

  1. Open the Anki Browser (Browse from the main window).
  2. Select one or more notes you want to process.
  3. In the top menu bar, click on Edit > Field Import/Export Injection/Extraction.
  4. Choose whether you want to perform an Extraction (Export) or Injection (Import).

πŸ“€ Extraction (Exporting Data)

Use this to pull data out of Anki to edit it in Excel, Google Sheets, or a text editor.

  1. Select Notes: Highlight the notes in the Anki browser.
  2. Launch Extraction: Run the tool and select "Extraction".
  3. Select Fields: A dialog will appear asking you to check the specific Anki fields you want to export.
  4. Choose Format:
    • Save as HTML: Keeps all formatting tags (e.g., <b>, <div>).
    • Save as Plain Text: Strips out all HTML tags and converts the content to clean text.
  5. NID & Tags Options: * You will be prompted if you want to include the Note ID (nid). Highly recommended if you plan to import this data back later.
    • You will be prompted if you want to include the note's tags.
  6. Save File: Choose a location to save your .tsv (Tab-Separated Values) file.

πŸ“₯ Injection (Importing Data)

Use this to push edited data from a .tsv file back into your Anki notes.

  1. Select Notes: Highlight the target notes in the Anki browser.
  2. Launch Injection: Run the tool and select "Injection".
  3. Choose Injection Mode:
    • Replace: Overwrites the current field content with the new data.
    • Prepend: Adds the new data to the beginning of the current field content.
    • Append: Adds the new data to the end of the current field content.
  4. Choose Import Format:
    • Import as HTML: Reads the TSV data as HTML and renders it (e.g., <b>text</b> becomes bold).
    • Import as Plain Text: Escapes HTML characters (e.g., < becomes &lt;) so the literal text is shown on the card.
  5. Select Target Fields: Choose which fields on the Anki notes are allowed to be modified during this process.
  6. Select File: Open your modified .tsv file.
  7. NID Matching (Optional but Recommended): * If your TSV file contains an nid column, the add-on will ask if you want to match rows exactly by their Note ID.
    • Yes: Matches precisely. You don't have to worry about the order of notes in the browser.
    • No: Injects data sequentially based on the order of the highlighted notes in the browser.
  8. Field Mapping: A dialog will ask you to map the columns from your TSV file to your target Anki fields. You can choose to skip columns you don't want to import.
  9. Review & Undo: After the injection runs, a dialog will appear showing how many notes were updated. Do not close this immediately.
    • You can look at the Anki browser in the background to verify the changes.
    • Click Keep Changes to finalize.
    • Click UNDO to instantly revert all modifications made during this session.