GEDCOM File Format Explained
A GEDCOM file, an acronym for GEnealogical Data COMmunication, is a standard file format used to store and exchange genealogical data. Understanding the format of a GEDCOM file is crucial for genealogists to share, manage, and preservation of their family history data. So, what exactly is the format of a GEDCOM file? Let's delve into its structure, tags, and data types.
GEDCOM files are plain text files with a specific set of rules governing their structure and content. They consist of lines of text, each representing a single fact or event, such as a birth, marriage, or death. These lines are separated into four-space indentation levels, indicating the level of hierarchy in the data. The top-level records are called 'header' and 'trailer,' with individual records for people, families, and sources.
GEDCOM File Structure
The GEDCOM file structure is hierarchical, with records containing sub-records, much like a family tree. The root record is the 'head' record, which contains the headline and the entire genealogical information. Below it, 'INDI' records represent individual people, and 'FAM' records represent families. Each record contains a unique identifier (/set in first line) and subsequent lines detailing facts about the individual or family.
For instance, an 'INDI' record might look like this:
0 @I1@ INDI 1 NAME John /Smith/ 1 BIRT 1800 1 DEAT A 2 PLAC cemetery, town, state 1 FAMS @F1@
GEDCOM Tags
GEDCOM uses a specific set of tags to define the data type, indication, or label within a record. These tags follow the format of a letter followed by one or more numbers. Some common tags include:
- NAME: Represents the full name of an individual.
- BIRT: Denotes the birth event of an individual.
- FAMS: Refers to the family that the individual belongs to.
Data Types in GEDCOM
GEDCOM supports various data types to accommodate diverse genealogical information. These data types include dates, names, places, and notes, each having specific format and content restrictions. For example, dates are usually presented in the ISO date format, i.e., YYYY-MM-DD, with 'A' representing an unknown date.
GEDCOM Levels and Indentation
GEDCOM files use a four-space indentation level to represent the hierarchy of the data. The first line of a record contains the level, tag, and data, with subsequent lines indented four additional spaces for each sub-record. The level of indentation indicates the relationship of a record to its parent record.
The hierarchy and structure of a GEDCOM file mimic the shape of a family tree, making it an intuitive and effective way to store and manage genealogical data. Understanding this format allows users to create, view, edit, and share GEDCOM files effectively.
In conclusion, GEDCOM's structured format allows seamless collaboration and preservation of genealogical data. Being conversant with the GEDCOM format enables users to participate more fruitfully in genealogical research and family history efforts, ultimately providing a deeper connection to one's roots.