GEDCOM Privacy Guard

What it can and can't do

The web page and the command-line tool share one engine, so everything here applies to both unless it says otherwise. For the word lists themselves, see how-it-works.md; for privacy, see safety.md.

Where it stands today

This is a beta, and it's a first step toward a clean family history, not the whole job. Expect some false alarms (an ordinary word that happens to be on a list) and some misses (anything said in other words, misspelled, or in another language). It has been tried on real exports from Legacy only; it doesn't yet warn about living people; it can't see into photos or attached documents; and a very large tree can take a minute or two, longer on an older computer or tablet. It cleans a copy of your file: the notes are still in your program and in any online tree you uploaded before. Use it to find the obvious problems quickly, then read your notes yourself, or ask someone who knows the family to.

In short

It can It can't (yet)
Read a GEDCOM from any genealogy program, in any of the four encodings GEDCOM has used Understand what a note means; it matches words and patterns
Find sensitive words and phrases in every note, cause of death, source text, address and custom tag Warn about living people (planned)
Find ID numbers, phone numbers, emails, street addresses and your own computer's file paths Look inside photos, scans or other attached files
Show each hit for you to keep, remove or rewrite Decide anything for you
Write a cleaned copy, changing only the notes you chose Change names, dates or places
Run with no internet connection at all Fix a tree that lives on a website (fix it there)

What it reads

Any program's GEDCOM. It reads GEDCOM 5.5 and 5.5.1, the versions that Legacy, RootsMagic, Family Tree Maker, Gramps, Ancestry and most others export. It isn't a full implementation of the standard: it reads the text, the people and their families, and passes everything else through untouched. Real exports have been tested from Legacy only so far. Help us test yours.

Every encoding. UTF-8 (with or without a byte-order mark), UTF-16, ANSEL (older Legacy and Family Tree Maker exports) and Windows "ANSI". Files that claim one encoding but use another are detected and you're warned. Characters that can't be read are counted and reported, never silently dropped.

Messy and broken files. Automated tests feed it hundreds of randomly damaged files on every change. A file it can't read stops with a plain message, never a crash, and redacting always produces a file that reads back cleanly.

Hostile files. A GEDCOM is plain text, so it can't run code by itself, and this tool never runs anything it finds in one. Text that would act as a formula in Excel (=HYPERLINK(...)) is neutralized before it goes into the review spreadsheet.

What it looks for

Categories of sensitive text, each with its own word list, exceptions and severity. The standard preset (the web page's setting) covers:

The cautious preset adds adoption and paternity, physical illness, security-question answers (maiden name) and street addresses. The open preset keeps only the first five. Presets and your own word lists are available in the command-line tool and its rules editor; the web page uses the standard preset.

What it changes

Nothing, until you choose. For each flagged note you pick:

If one note has several hits with different choices, the more cautious one wins: remove the note beats rewrite beats remove words beats mark private beats keep.

The result is a new file; your original is never changed. The new file is UTF-8 (its header is updated to say so), keeps the original's line endings, and wraps long text onto continuation lines as GEDCOM requires. Every other line passes through as it was.

The command-line tool also refuses to apply a review spreadsheet to a different or since-edited file, rather than overwrite the wrong notes.

What it misses

It matches words, not meaning. These all pass without a flag in the standard preset, because none uses a listed word or phrase:

Also missed for now:

So skim your notes yourself too. If a common phrase is missed, tell us and it can be added for everyone.

Where it runs

When to use it