Deck Renumberer

AnkiWeb addon 623194710

Renumbers numbered lecture subdecks by drag-and-drop reordering, previewing changes, and applying sequential numbers via Anki's deck rename API, with backups and safety checks.
AI-generated summary; may contain mistakes.

deck-management

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-05-08
Anki versions
<=25.07
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-05-08 (177 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.025.072026-05-08
History across monthly snapshots

Loading…

Similar addons

Accelerate Image Drag And Drop

Widens the editor's first field and adds focus-independent shortcuts for previewing next or previous notes and opening an image-search link, speeding intensive image drag-and-drop.

card-creationshortcutsappearance

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 6 Updated 2018-12-26
Drag Drop

Creates interactive drag-and-drop flashcards where you label images or sort items into categories, with instant feedback, shuffling, theme and layout options, across Anki Desktop, AnkiDroid and AnkiMobile.

card-creationappearancecard-templatesquizmobile-compatible

3 votes 44% approval πŸ‘ 3 Β· πŸ‘Ž 0 ⭐ 1 Anki 25.07~ Updated 2026-10-02
Filter Presets for Custom Study Sessions

Adds a preset manager below the filtered deck search field for saving, selecting, deleting, and reordering reusable search presets, with persistence across restarts.

searchfiltered-decks

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 Anki 25.09.2~ Updated 2026-04-02
Awesome Dashboard

Replaces Anki's deck and review screens with a customizable widget dashboard featuring activity heatmaps, Pomodoro timer, habit tracking, exam countdowns, Quizlet-style study modes, card previews, six themes, and four languages.

review-flowstatisticsprogress-trackingtimerquiz

5 votes 57% approval πŸ‘ 5 Β· πŸ‘Ž 0 ⭐ 2 Anki 26.09.2~ Updated 2026-10-04

Description

Deck Renumberer v2 helps reorganize numbered lecture decks.

If you have decks like:

  1. Intro
  2. Localization
  3. Headache
  4. Stroke
  5. Coma

you can select the parent deck, drag the child decks into the order you want, preview the planned changes, and apply automatic sequential renumbering.

Features:

  • Adds Tools -> Renumber Decks v2...
  • Shows direct child decks under a selected parent deck
  • Drag-and-drop reorder interface
  • Preview table before applying changes
  • Renumbers matched decks based on their position in the list
  • Skips unmatched child decks safely
  • Preserves the rest of the deck name after the number
  • Supports duplicate/out-of-order numbers
  • Uses Anki's official deck rename API only
  • Runs a collection quick check before/after renaming
  • Creates a forced Anki backup before renaming
  • Blocks known collision/temp-name failure cases

Default pattern:

  • Matches names like: 01) Lecture Name
  • Produces names like: 01) Lecture Name

The pattern is configurable in Tools -> Add-ons -> Deck Renumberer v2 -> Config.

Safety notes:

This add-on renames decks. Before first use, create a backup and test on a copied deck or secondary profile.

Recommended workflow:

  1. File -> Create Backup
  2. Open Tools -> Renumber Decks v2...
  3. Select the parent deck
  4. Drag child decks into the desired order
  5. Review the preview
  6. Apply
  7. Run Tools -> Check Database
  8. Confirm deck names/card counts before syncing

Avoid running this while AnkiWeb sync, AnkiHub, or other add-ons are actively updating the same decks.

Tested with:

  • Anki 25.07.5
  • macOS
  • Numbered lecture decks with duplicate and out-of-order numbers
  • Sandbox profile, secondary profile, main profile, database check, close/reopen, and sync

Config Description

Default config:

{ "detect_regex": "^(\d+)\)\s*(.*)$", "new_prefix_format": "{n:02d}) ", "start_number": 1, "enable_apply_mode": true, "create_backup_before_rename": true, "require_quick_check": true, "max_renames_per_run": 50 }

detect_regex: Regex with group 1 as the old number and group 2 as the remaining deck name.

new_prefix_format: Python format string for the new number prefix. Uses {n}.

Examples:

  1. Lecture Name: detect_regex = ^(\d+)\)\s*(.*)$ new_prefix_format = {n:02d})

Lecture 01 - Name: detect_regex = ^Lecture\s+(\d+)\s*-\s*(.*)$ new_prefix_format = Lecture {n:02d} -