Defragment Card Positions

AnkiWeb addon 1939524919

Closes gaps in new card positions, preserves equal duplicates, resets nextPos, shows confirmation, and is undoable without modifying review cards.
AI-generated summary; may contain mistakes.

review-flowbackup-maintenance

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-09-04
Anki versions
2.1.1~
Description language
en

Maintenance

active

  • Last update or commit was 27 days before the snapshot (2026-09-04).

Will it work on my Anki?

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

Loading…

Similar addons

Deck Renumberer

Renumbers ordered child decks under a parent via drag-and-drop, previewing changes, safely applying sequential numbers with configurable patterns, backups, and collision safeguards.

deck-managementbackup-maintenance

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 Anki <=25.07 Updated 2026-05-08
Deck Duplicate

Clones any Anki deck while resetting scheduling, preserving notes and tags, with one-click Tools menu operation and undo support.

schedulingdeck-management

Rating 2 πŸ‘ 2 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-01-19

Description

Closes the gaps between the positions of your new cards and resets Anki's position counter (nextPos) to the value after the last card. Turns positions like 1, 2, 3, 7, 9, 9, 12 into 1, 2, 3, 4, 5, 5, 6. Key rule: equal positions stay equal. Distinct positions are renumbered gap-free, while cards that shared a position keep sharing one afterwards. Duplicates are preserved, not split apart. Usage Tools β†’ "Kartenpositionen defragmentieren…" Shows a summary (new cards, distinct positions, affected cards, new counter) and asks before changing anything One undo step β€” fully reversible with Undo Optional keyboard shortcut (configurable) Behaviour Only new cards are touched; review/learning cards are never modified Stable order by (position, card id) β€” your learning order is kept Only cards whose position actually changes are written (sync-friendly) Changes card positions and the nextPos counter only β€” never fields or notes Developed for modern Anki (Qt6). Source & issues https://github.com/david-becher/anki-defragment-positions Licensed under the MIT License.