Merge Anki Decks and Remove Duplicates
Combine your decks into one, or clean up one deck, and choose which duplicate cards to keep. Nothing leaves your browser.
Review history is not kept: every card in the merged deck starts as new. Your original decks are not changed.
Drop one or more .apkg files here
or click to browse, or paste a copied file. Nothing leaves your browser.
Want to look through a deck first? Open it in the Anki deck viewer, or export it to a spreadsheet with APKG to CSV.
How it works
- Drop in your decks. Two or more .apkg files. They are read on your device, nothing is uploaded.
- Check the duplicates. Exact copies are ticked for removal, near matches are shown for you to decide.
- Download one deck. One .apkg with every card you kept, its tags, images and styling. Cards start as new.
Frequently asked questions
Can you merge two Anki decks?
Anki itself has no merge button, but this tool does it. Drop in two or more .apkg files, choose a name for the new deck and download one .apkg with all the cards. You can put everything in one deck or keep each original deck as a subdeck.
How does it find duplicates?
Two cards are exact duplicates when their first field is the same once formatting, spacing and capital letters are ignored, or when they are literally the same note (for example the same shared deck downloaded twice). Near duplicates share most of their words, like "Most common cause of pneumonia in adults" and "Most common cause of adult pneumonia?". You can make the near match stricter or looser with the slider.
Do I have to delete every duplicate it finds?
No, you choose. For exact duplicates it keeps the first copy and ticks the others for removal. Near duplicates are all kept until you untick one, because two similar cards can test different facts. Tick or untick anything before you download.
Is my review history kept?
No. This first version does not carry scheduling or review history over, so every card in the merged deck starts as new. Your original decks are not changed. If you need your progress, keep studying the original decks and use the merged one for new material, or use "Find duplicates in one deck" to clean a deck inside Anki itself.
How do I remove duplicates from a deck I already study, without losing progress?
Use "Find duplicates in one deck". After you pick what to remove, the tool gives you a search like nid:123,456. Paste it into the search bar of Anki's Browse window, select all, and delete those notes. The cards you keep stay where they are, with their full review history.
Are tags, images and audio kept?
Yes. Every kept card keeps its tags, and you can copy the tags of a removed duplicate onto the card you keep. Images and sound files come along too. If two decks have different files with the same name, the second one is renamed and its cards are updated so each card still shows its own picture.
What happens to note types and card styling?
Each card keeps its own note type, with its fields, card templates and styling, so cards look the same as before. If two decks use different versions of a note type with the same ID, the second one is saved with (2) after its name instead of overwriting the first.
What if one of these decks is already in my Anki?
Anki recognises notes it already has and updates them instead of adding copies, and those cards stay in the deck they are in now. To get a clean merged deck, import it into a profile without the originals, or delete the old decks first (that also deletes their review history).
Can I merge big decks?
Yes. Everything runs in the background in your browser, and we tested a 30,000-note deck without the page freezing. Decks with thousands of images make a big file, so give it a minute.
Does this upload my decks?
No. The decks are read and merged on your own device. Nothing is sent to a server, and you do not need an account.