Merge two notes into a single note

AnkiWeb addon 1482505492

Merges two browser-selected notes of the same type into one, concatenating fields, choosing the best card per type, and combining tags.
AI-generated summary; may contain mistakes.

schedulingnote-managementduplicates

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
12 (πŸ‘ 9 Β· πŸ‘Ž 3)
Updated
2021-10-16
Anki versions
2.1.48~
Description language
en

Maintenance

abandoned

  • Last update or commit was 1811 days before the snapshot (2021-10-16).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.472021-02-19
2.1.48+2021-10-16
History across monthly snapshots

Loading…

Similar addons

Merge Notes

Merge multiple selected notes into one new note with field mapping, separators, cloze removal, tag preservation, optional original deletion, history transfer, undo, and logs.

schedulingnote-managementformattingcard-templates

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 ⭐ 2 Anki 2.1.1~ Updated 2026-06-06
Merge Duplicate Notes

Select notes in the browser and merge duplicates sharing a first field, combining tags with configurable strategies for conflicting fields.

note-managementduplicates

Rating 10 πŸ‘ 6 Β· πŸ‘Ž 4 ⭐ 8 Anki 2.1.54~ Updated 2024-01-19

README

Merging notes

Rationale

At one point, for some complex reason, I had related notes and I wanted to merge them. This did make sense because there was no filled fields in both notes, and no card type generated for both notes.

This add-on does just this. In the browser, you select two notes with the same note type, and it merges them.

Description

Let's say you want to merge notes N1 and N2.

There is no way to state which one is N1 and which one is N2. If N1 and N2 have distinct tip, an error message is shown. Otherwise, both notes become a single note N. Each fields of N is the concatenation of the same fields in N1 and N2.

For each card type CT, N has a card of type CT which is a copy of the card of type CT of N1 or of N2, the choice is made such that the card with the greatest interval is chosen. In case of equal interval, the greatest easiness is used.

N has the tags of both notes, plus the tags merged mergedNID1 and mergedNID2 with NIDi being the id of note i.

Warning

A card of N may be suspended, etc... if the card fo the same type in N1 or N2 is suspended. Same thing occurs with flagged cards.

Configuration

  • Allow to delete the original note and cards when they are merged
  • Allow to treat the case where fields is identical specially. In this case, values are not concatenated, but only one value is kept.
  • Allow setting rules based on tags or field value to decide which value to keep.

Hire me if you want me to add more options.

Version 2.0

None

TODO

Links, licence and credits

Key Value
Copyright Arthur Milchior arthur@milchior.fr
Based on Anki code by Damien Elmes anki@ichi2.net
Extended options lleaff
License GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
Source in https://github.com/Arthur-Milchior/anki-merge-notes
Addon number 1482505492