Citations, reimagined
Genealogists and family historians know that every fact in a tree needs a citation: where it came from, so that you, or a cousin years from now, can find the record again and judge how far to trust it. But if you’re like me, the citation is the part you put off.
Say you’ve found this Social Security record for one of your relatives on FamilySearch:

You add what it tells you to your tree: a birth, a death, a place he lived. Now for the citation. FamilySearch has already written one: click Copy Citation and this is on your clipboard:
"United States, Social Security Numerical Identification Files (NUMIDENT), 1936-2007",
FamilySearch (https://www.familysearch.org/ark:/61903/1:1:6K3G-8D53
: Tue Jul 07 06:10:55 UTC 2026), Frederick E Blank.
Most genealogy websites do the same. Find a Grave puts one at the bottom of every memorial page, and Gramps itself writes them in its reports.
And there’s the problem.
Two worlds
Websites speak text: a citation is a sentence, written to be read. Gramps speaks fields: a source with a title, a citation with a date, a web address in its own attribute, so that records can be grouped, sorted, searched and written out again in whatever style you need.
Until now, you were the translator between the two. Either you retyped the citation, piece by piece, into a source and a citation, deciding as you went what each piece was and where it belonged. Or, like many people I know, you pasted the text into a note and moved on. That’s far better than nothing, but a note is just text: Gramps can’t tell which source it came from, can’t group it with your other records from that collection, and can’t sort or search it by date or web address.
And translation only ever went one way. Gramps could write a citation from its fields, but nothing could read one back into them.
One description, both directions
The new idea is simple: a citation template describes a format completely enough to work in both directions.
Last month’s post, Citing your sources, auto formatted, introduced templates for writing citations. Here is the one for FamilySearch:

A template has a source line and a citation line. Each is ordinary text, the quotation marks, commas and words like “FamilySearch”, with citation elements between backticks. Square brackets mark a part that’s left out when its element is empty.
Read forwards, it says how to write a FamilySearch citation from your tree. But it also says exactly which words surround each element. So it can be read backwards: find those fixed words in a pasted citation, and whatever lies between them is the title, the web address, the date you looked at it. The same few lines that write FamilySearch’s citations also recognise them, and take them apart.
That changes what a citation is. The text and the fields stop being two separate things you keep in sync by hand. They become two views of the same citation, and a template is the bridge between them:
- Any citation text can become real data, as long as a template describes its format. The citations websites hand you are no longer dead text.
- The data can be written out again in any format. Your citation isn’t locked into the wording you pasted. Show it as FamilySearch wrote it, as Gramps’ Legacy writes it, or in a style of your own.
- You can check the bridge. If a template, given the fields it just read, writes back the very same text, nothing was lost or misread.
- One description per format, written once. No code: a new website’s format is a few lines anyone can read, and the moment it’s written, Gramps Connect can both read and write that site’s citations.
A shared vocabulary
For a bridge to work, both sides need to agree on the names of things. The pieces a citation is made of are what Evidence Explained calls its elements, and Gramps Connect now gives each one a plain name and a place in your tree where it’s kept:

Templates are written with these names, pasted text is split into them, and they’re what you see on screen. Where each one is kept is written the same way as in GOQL, the language behind Gramps Connect’s columns, searches and filters, and it’s always one of Gramps’ own fields or attributes, so Gramps desktop keeps everything too. A tree owner can rename the elements, reorder them, or add one for an attribute of their own, such as “Cemetery”.
What it looks like
Gramps Connect comes with templates for FamilySearch and Find a Grave, each written from real citations copied from those sites. Gramps’ own Legacy and Enhanced, and the starter templates for online records, archives, books, newspapers and gravestones, work both ways too. So you can start right away.
Reading: paste a citation
Start a new citation as usual and click Paste a citation… at the top. Paste what the website gave you. Gramps Connect tries every template on the text, and Looks like says which one fits clearly better than the rest. Click Split into elements, and the text is marked up as if with a highlighter: blue pieces for the source (what you looked in, shared by all its citations), orange for this citation (the one record).

Because the source is now real data, it’s shared. If your tree already has a source with that title, the new citation is added to it. Paste ten Find a Grave citations and you get one “Find a Grave” source with ten citations, not ten copies of the same text:

Continue fills in the citation editor so you can check everything before you save. Saving creates the citation, and a new source if it needs one, as a single change that History can undo.
Nothing here is a guess you have to take on faith. Every piece is marked where you can see it, and if one is wrong, select the right text and click its name, click inside a mark to rename or remove it, or edit the text in place. Text no template recognises is simply left for you to mark by hand. And because templates are just descriptions, the same citation always splits the same way, without your research leaving your own tree for an AI service.
Writing: the same citation, any way you like
The text you pasted is kept on the citation, and at first it’s shown exactly as you pasted it. But Gramps Connect also checks the bridge: if a template writes the very same text back from the fields it read, it says so, and offers to use that template for every citation of that source.

Switching means the citation is now written from its fields: fix a date or a web address, and the citation follows. And since the fields are the citation, it can be written in any template at all. Template shows it in every one the tree offers, ready to choose for this citation or for its whole source:

Teaching it a new format
Because a template is only a description, teaching Gramps Connect a new website takes no programming. In Preferences > Citations, click New template, start from one of the existing ones, and paste a few of that site’s real citations into Try it on a pasted citation. It shows how the template reads each one, and whether it writes the text back exactly. Adjust until every sample comes back unchanged, and that site’s citations can be both read and written from then on.

A template of your own takes the place of a built-in one with the same name, so you can also adjust the Find a Grave or FamilySearch template for your tree.
Try it
- Download Gramps Connect for Windows, macOS or Linux.
- The Citations page in the documentation covers templates, citation elements and pasting in detail.
- Have a website whose citations aren’t recognised? Send a few copied examples on GitHub or the Gramps Discourse forum: every new template makes one more website’s citations real data, for everyone.