# Merge multiple identical notes

**URL:** <https://gramps.discourse.group/t/merge-multiple-identical-notes/8596>\
**Category:** Help\
**Tags:** third-party-addon, supertool-script\
**Created:** [September 23, 2025, 8:36pm UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596 "2025-09-23T20:36:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Helge\_gramps](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Helge\_gramps](https://gramps.discourse.group/u/Helge_gramps)\
**Post date:** [September 23, 2025, 8:36pm UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596/1 "2025-09-23T20:36:15Z")

</div>

I try to import a GEDCOM generated by FTM2025 containing a lot of shared citations into GRAMPS 6.0. Every shared citation generates it’s own but identical citation with identical notes in GRAMPS. The “Merge Citations” tool is very helpful to merge all dublicate citations. But for each merged citation there remain multiple identical notes (from FTM’s “Citation text” and “Web address” field).

Any idea or hint how to merge such identical notes by a global job/program/add-on?  
Thank you

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [September 23, 2025, 9:47pm UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596/2 "2025-09-23T21:47:44Z")

</div>

Welcome!

There is the Multimerge addon tool.

Go to the **[Addon Manager](https://gramps-project.org/wiki/index.php/Gramps_Glossary#addon)** (green puzzle icon) and open the **Projects** tab. Make sure the Isotammi (Finnish for Big Oak) option is checked. If it is not there you can add it. Its URL is:

`https://raw.githubusercontent.com/Taapeli/isotammi-addons/master/addons/gramps60`

Then you can search the **Addons** tab for “Multimerge Gramplet”.

Add the gramplet to the bottombar (or sidebar) of the Notes view (or any other view). You can select copies of the same note and merge them all.

As with any batch edit, it is always best to ensure you have a backup of your database.

---

<div class="post-metadata">

**Author:** ![Helge\_gramps](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Helge\_gramps](https://gramps.discourse.group/u/Helge_gramps)\
**Post date:** [September 24, 2025, 9:31am UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596/3 "2025-09-24T09:31:15Z")

</div>

Thank you for the hint. The Gramplet is really helpfull.

But my last bad is now, there are a lot of notes having Web links with very small differences. And it’s more than difficult to select/seperate double notes by hand/eyes.

I see I could use the SuperTool to delete a note if more than one note having the same text was found. But how to delete it?  
This doesn’t work as executed statement for SuperTool:  
counter[text].append(gramps\_id)  
if (len(counter[text]) \> 1) : note.delete

”note.delete” is unknown.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [September 24, 2025, 10:23am UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596/4 "2025-09-24T10:23:30Z")

</div>

I am not a SuperTool user so cannot help you with that method.

The only thing I can suggest is to filter on the web link, Merge the common notes found. Tag the remaining note “Done”. Repeat with another note.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [September 24, 2025, 1:33pm UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596/5 "2025-09-24T13:33:44Z")

</div>

The Merging of Notes can have a lot of subtleties. So you might not want to do merges or deletes blindly with SuperTool.

Notes can have links so the links have to be checked to determine if a merge or delete causes rot in the backlinks that need to be patched.

It might be better to ask @kku if the automerge feature in MultiMerge could be expanded to find and merge identical Notes.

---

<div class="post-metadata">

**Author:** ![Helge\_gramps](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Helge\_gramps](https://gramps.discourse.group/u/Helge_gramps)\
**Post date:** [September 25, 2025, 8:04am UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596/6 "2025-09-25T08:04:04Z")

</div>

In general your right. But for the GEDCOM transfer from FTM2025 (so far I checked) there is no problem to delete the double notes after MultiMerge the double citations if the notes have the identical content and are referenced one and only by the same citation. So I still try to find a solution with the SuperTool. It might be helpfull too for a future MultiMerge.

BTW: I First import the FTM GEDCOM into an empty Gramps tree, manipulate there, export than as gramps file and merge this later into my main tree in Gramps. So, I’m able to check every step.

---

<div class="post-metadata">

**Author:** ![Helge\_gramps](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Helge\_gramps](https://gramps.discourse.group/u/Helge_gramps)\
**Post date:** [September 25, 2025, 10:03am UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596/7 "2025-09-25T10:03:02Z")

</div>

OK, I see deleting a note without deleting before all references by other objects is a very bad way. So using the SuperTool here is a bad way.

But is there any hint to set a tag on such double notes using SuperTool? The remove could be done manually by Gramps after filtering for this special tag.

---

<div class="post-metadata">

**Author:** ![Helge\_gramps](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Helge\_gramps](https://gramps.discourse.group/u/Helge_gramps)\
**Post date:** [October 3, 2025, 9:26am UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596/8 "2025-10-03T09:26:51Z")

</div>

Look there for matching scripts for the SuperTool by @kku:

> <https://github.com/Taapeli/isotammi-addons/issues/66>
>
> First of all, thank you for the tool. 
> I have a wish for an extension.
> 
> Backgrou…nd:
> Shared citation will be exported from FTM2025 as multiple separated citations - one for each fact (name or event) with references to related notes having the same content for each copy of the former shared citation. After importing such a GEDCOM into Gramps it's good to recreate shared citations as before. Currently the MergeTool provide a part of the necessary functionality. But the user has manual to do the right selections for citations and later on for the related notes. So it would be very helpfully to have additional features/options within the MergeTool (or may be with a new tool).
> 
> Solution suggestion for an option "recreate shared items":
> 1. citations:
> Within all selected citaions there will searched for groups of citations having these properties:
> + referenced by the same source
> + having identical content for the field "page" (Gramps: "Volume/Page")
> + currently not used by FTM, but may be in the future: having identical content for Date
> 
> For each group:
> All found citations of any group will be merged with the first found item of this group.
> 		
> 2. Notes:
> Within all selected notes there will searched for groups of notes having these properties:
> + referenced by the same citation
> + having identical content
> For each group:
> All found notes of any group will be merged with the first found item of this group. Each result contains the content of one note only (like current option: "Use text from primary note only").
> In the final note for each group the property "Preformated" will be set to "Active" (could be an additional option)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [November 2, 2025, 9:27am UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596/9 "2025-11-02T09:27:20Z")

</div>

Closed on November 2, 2025, 9:27am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
