Copy Note Fields as Markdown

AnkiWeb addon 1818455706

Copies a single selected card’s non-empty note fields, in order and with HTML stripped, to the clipboard as Markdown via the Browser context menu, without modifying the collection.
AI-generated summary; may contain mistakes.

exportnote-management

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
2 (👍 2 · 👎 0)
Updated
2026-04-18
Anki versions
2.1.1~
License
MIT (from the GitHub repository)
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-04-18 (197 days before the snapshot).
  • Test files: 2.
  • Commits in the last year: 1.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-04-18
History across monthly snapshots

Loading…

Similar addons

Copy Selection Field

Copies a chosen field from all selected notes in the browse window via ctrl+shift+c or menus, with configurable separator and optional HTML stripping.

exportnote-managementshortcuts

1 votes 0% approval 👍 0 · 👎 1 ⭐ 0 Updated 2022-01-16
𝕾 Export Deck Guide as Text (for LLMs)

Exports non-empty deck descriptions, with full deck paths and Markdown/HTML format markers, to the clipboard or a UTF-8 file for inspection and LLM context.

export

2 votes 34% approval 👍 2 · 👎 0 ⭐ 3 Anki 26.09~ Updated 2026-08-28
Copy Text Field to Clipboard

Adds right-click Browser options to copy a selected field from multiple notes to the clipboard, either as clean plain text with header and Note ID or as raw HTML.

exportnote-management

7 votes 49% approval 👍 6 · 👎 1 Anki 2.1.1~ Updated 2025-10-27

Description

Copy Note Fields as Markdown adds one simple action to Anki’s Browser:

Right-click a card → Copy note fields as Markdown

It takes the selected card’s underlying note fields and copies them to your system clipboard in Markdown like this:

  ## Front

  Question text

  ## Back

  Answer text

  ## Extra

  Additional notes

What it does

  • Works in the Anki Browser
  • Works in Cards mode
  • Requires exactly one selected card
  • Copies all non-empty note fields
  • Preserves the note’s field order
  • Strips HTML into cleaner plain text
  • Keeps media references as plain filenames where possible
  • Copies directly to the clipboard
  • Makes no changes to your collection

What it does not do

This add-on is intentionally minimal.

It does not:

  • export multiple cards
  • add a toolbar button
  • provide a settings screen
  • capture rendered front/back card HTML
  • do fancy HTML-to-Markdown conversion
  • write anything to your Anki collection

Important note

This add-on exports the selected card’s note fields, not the rendered card face.

That means:

  • sibling cards from the same note will copy the same note fields
  • cloze notes export the underlying field content, not a rendered cloze preview

That is intentional.

How to use

  1. Open Browse
  2. Switch to Cards mode
  3. Select exactly one card
  4. Right-click
  5. Choose Copy note fields as Markdown

If you are in Notes mode, or select zero/multiple rows, the add-on will show a small message and do nothing.

Good fit for

This is useful if you want to:

  • paste Anki content into ChatGPT/Claude
  • move note content into Markdown apps
  • quickly reuse card content in docs or notes
  • inspect note fields outside Anki without exporting your collection

Compatibility

Tested with modern Anki 25.x builds.

README

Copy Note Fields as Markdown

A tiny Browser add-on for Anki that copies the selected card's note fields to the system clipboard as Markdown.

What it does

  • Adds a Browser context-menu action: Copy note fields as Markdown
  • Works in Cards mode only
  • Requires exactly one selected card
  • Copies the selected card's note fields in field order
  • Skips fields that are empty after cleanup
  • Strips HTML while keeping media filenames as plain text where possible
  • Does not write to your collection

Output shape

## Front

Question text

## Back

Answer text

Field headings come from the note's real field names, so decks with Text, Extra, Sentence, etc. will use those names instead.

Install

From a packaged zip

In Anki:

  1. Go to Tools → Add-ons → Install from file...
  2. Select the packaged .ankiaddon or .zip
  3. Restart Anki

From source during development

Copy this folder into your Anki addons21 folder:

copy_note_fields_markdown/

Then restart Anki.

Use

  1. Open Anki Browser
  2. Switch to Cards mode
  3. Select exactly one card
  4. Right-click
  5. Choose Copy note fields as Markdown

Notes

  • Sibling cards from the same note will copy the same fields. That's expected.
  • Cloze fields are copied from the underlying note fields, not rendered card HTML.
  • This add-on is intentionally minimal. No settings, no batch export, no toolbar button.