what is a gedcom file example

Understanding GEDCOM: A Real-World Example File Explained

By Michael Clark
AD

GE-DCOM, or Ge autorités Data COMmunication, is a file format used to store and exchange genealogical data. It stands out as a standard for genealogy software programs to share and import data. Let's delve into the world of GEDCOM files, understand their components, and explore an example to help you grasp their structure.

GE-DCOM, or Ge autorités Data COMmunication, is a file format used to store and exchange genealogical data. It stands out as a standard for genealogy software programs to share and import data. Let's delve into the world of GEDCOM files, understand their components, and explore an example to help you grasp their structure.

Understanding GEDCOM Records

A GEDCOM file is essentially a text file that contains a series of records, each representing a piece of genealogical information. These records are organized in a strictly hierarchical manner, with each record belonging to a higher-level record.

AD
GEDCOM Files: Sharing, Merging, Exporting and More - Family Tree Magazine
GEDCOM Files: Sharing, Merging, Exporting and More - Family Tree Magazine
GEDCOM File (What is It & How to Use This Genealogy File)
GEDCOM File (What is It & How to Use This Genealogy File)
How to Open and Read a GEDCOM File for Your Genealogy Project
How to Open and Read a GEDCOM File for Your Genealogy Project

Records in a GEDCOM file are composed of tags and data. Tags define the type of information, while data provides the actual content. For instance, in a record for an individual, tags might include NAME, BIRT (birth), or DEAT (death).

GEDCOM Tags and Data

GEDCOM tags are always in uppercase, and data follows the tag, separated by a semicolon (;). Here's a simple example:

GEDCOM File (What is It & How to Use This Genealogy File)
GEDCOM File (What is It & How to Use This Genealogy File)
GEDCOM Files: Sharing, Merging, Exporting and More - Family Tree Magazine
GEDCOM Files: Sharing, Merging, Exporting and More - Family Tree Magazine
How to Download Your Ancestry Family Tree as a GEDCOM File
How to Download Your Ancestry Family Tree as a GEDCOM File

NAME; John Doe
SEX; M
BIRT; nulle 1819 (ABT;)
DEAT; Lima, Ohio, USA; 1956 (ABT;)

GEDCOM Tags and Levels

GEDCOM tags also signify the level at which the record belongs. The highest level is the header (0), followed by families (1), individuals (2), and other events or attributes (3 and below). For instance, in the record above:

AD

A new record starts with a higher level, signifying its position in the hierarchy.

How To export FamilySearch GEDCOM file for FREE
How To export FamilySearch GEDCOM file for FREE
How to Open and Share GEDCOM Files in 8 Steps
How to Open and Share GEDCOM Files in 8 Steps
GEDCOM Files: Sharing, Merging, Exporting and More - Family Tree Magazine
GEDCOM Files: Sharing, Merging, Exporting and More - Family Tree Magazine
A Mild Scrub for Your GEDCOM File
A Mild Scrub for Your GEDCOM File
Excel to Gedcom - Lesson 02 [Variables]
Excel to Gedcom - Lesson 02 [Variables]
Author: Lisa Cooke - Page 118
Author: Lisa Cooke - Page 118

Exploring a GEDCOM File Example

Here's a basic GEDCOM file example to illustrate its structure:

0 HEAD
1 SOUR; Ancestry Hints
0 TRLR
1 INDI
2 NAME; John Doe
2 BIRT
3 DATE; 1819
1 FAMC
2 NAME; Jane Doe/M Smith
0 TRLR
In this example, we have a single individual, John Doe, born in 1819. He is a part of the family Jane Doe-M Smith. The first and last records (HEAD and TRLR) are standard in all GEDCOM files.

AD

GEDCOM files, with their structured records, tags, and data, facilitate the exchange of genealogical data between different software programs and platforms. By understanding the basics of GEDCOM files, you'll be well-equipped to manage and share your genealogy data effectively.

Transforming a Spreadsheet into a GEDCOM File for Genealogy Research - Civil War Quest Pt 6
Transforming a Spreadsheet into a GEDCOM File for Genealogy Research - Civil War Quest Pt 6
AD