A comprehensive genealogical IDE for Visual Studio Code.
Interactive family trees, 5-generation circular fan charts, consanguinity & affinity relationship calculation, chronological life timelines, multimedia image previews, real-time plausibility diagnostics, and multi-format support for traditional GEDCOM and modern GEDCOM X (JSON & XML).
GEDCOM files are historically dense with cryptic pointers, undocumented tags, and complex inter-record dependencies. vscode-gedcom turns raw genealogical data into an intuitive, visual workspace β complete with deep language intelligence, interactive graph visualizations, multimedia image previews, and strict verification against the FamilySearch GEDCOM and GEDCOM X specifications.
GitHub Linguist Grammar: This extension's grammar powers syntax highlighting for all
.gedfiles across github.com.
Draws dynamic generational trees directly in a dedicated side panel. Couples are linked by marriage unions, generations are automatically organized into columns, and children descend naturally from family bars.
- Kinship Path Highlighting: Finding a relationship traces and highlights the exact multi-generational line of descent with glowing golden branches, dimming unrelated relatives.
- Directional Traversal: Switch effortlessly between Both Directions, Ancestors Only, and Descendants Only.
- Vector SVG Export: Export any rendered branch into a standalone SVG with baked theme styles, solid background, and context-aware file naming (
tree-<xref>-<name>.svg). - Interactive Controls: Smooth pan, zoom-to-fit, recentering, and one-click code navigation back to any individual or family record.
Switch the tree view into a
-
Ahnentafel Numbering: Standardized genealogical indexing from the root person (
$1$ ) through parents ($2, 3$ ), grandparents ($4\text{--}7$ ), and beyond. - Color-Coded Lineages: Distinct visual styling for paternal and maternal branches with generation rings and empty-slot indicators.
-
Standalone Export: Export the entire circular fan chart directly to clean vector SVG (
fan-chart-<xref>-<name>.svg).
Select any two individuals in the file to instantly determine their exact genealogical connection.
- Consanguinity (Blood) & Affinity (Marriage): Accurately computes cousin degrees and removals (e.g. 2nd cousin once removed), great-aunts/uncles, grand-nephews/nieces (niblings), in-laws, and step-relations.
- Common Ancestor Resolution: Identifies the nearest common ancestral couple or person connecting both individuals.
- Show Path in Tree: One click dynamically expands the family tree beyond default depth limits and frames the full path between the two relatives.
Inspect a person's life journey in the Details Panel with an interactive vertical milestone timeline and multimedia previews.
- Computed Event Ages: Displays exact computed age at every milestone (e.g.,
Age 0at birth,Age 24at marriage or birth of first child,Age 81at death). - Comprehensive Life Events: Consolidates personal milestones (birth, baptism, residence, census, marriage, occupations, death, burial) and the births of children.
- Multimedia Image Previews: Renders high-quality thumbnail previews for attached photographs and records β supporting remote
https://URLs as well as local relative and absolute paths (portrait.jpg,portrait.png,C:\...,file://URIs). - Click to Navigate: Clicking any milestone jumps directly to the corresponding line in the editor.
Driven by the official FamilySearch GEDCOM specification and registries:
-
Genealogical Plausibility Checks: Identifies biological contradictions, including death before birth, implausible parent ages at child birth (
$< 12$ or$> 70$ ), post-mortem births, marriage outside lifespan, and unrecorded deaths for individuals born$> 120$ years ago. -
Syntax & Structural Validation: Flags missing tags, invalid cardinality, unrecognized custom tags, and dangling or duplicate
@XREF@pointers. - Multi-Format Awareness: Automatically adapts validation and intelligence rules for GEDCOM 7.0, GEDCOM X (JSON & XML), GEDCOM 5.5.5, and GEDCOM 5.5.1.
One-click Code Actions (Ctrl+. / π‘) to resolve errors, synthesize missing records, and repair corrupted files:
- Plausibility Quick Fixes: Swap inverted birth and death dates or automatically insert missing
DEATentries. - Dangling Pointer Resolutions: Replace missing pointers with standard
@VOID@or synthesize a new skeletonINDIrecord. - Exporter Defect Batch Repair: Detects consecutive lines missing level numbers from exporter defects (such as MyHeritage notes) and repairs the entire block in a single click.
- One-Click GEDCOM 7 Upgrade:
GEDCOM: Upgrade File to GEDCOM 7.0updates headers, convertsCONCtoCONT, rewritesRELAtoROLE, collects custom_TAGextensions into a standardHEAD.SCHMAblock, and ensures standard0 TRLR.
-
Pointer Inline Names: See who or what a pointer references directly at the end of the line (
1 FAMS @F1@$\rightarrow$ John Smith + Jane Doe,<person1 resource="#KWQS-BB1"/>$\rightarrow$ Henry Taylor). -
Enumeration Decoders: Translates opaque codes into plain English (
1 SEX M$\rightarrow$ Male,2 QUAY 3$\rightarrow$ Primary). -
Lifespan & Event Ages: Shows subject age at event lines computed against their birth date (
died age 73). - Smart Hovers: Rich entity cards for individuals (lifespan, vital birth/death events), source citations, and contributors/agents across GEDCOM and GEDCOM X files.
- Cross-Record Navigation (Ctrl+Click / F12): Go to Definition and Find All References (Shift+Alt+F12) across cross-record pointers and resource links in
.ged,.json, and.xmlfiles. - Workspace Symbol Search (
Ctrl+T/Cmd+T): Instantly search individuals by name or identifier, families by partner names, sources by title, and repositories. - Record Skeletons & Snippets: Insert compliant boilerplate templates for
indi,fam,sour,repo,birt,marr,deat,buri,cens, andnote. - Document Formatting (
Shift+Alt+F): Normalizes level indentation, standardizes uppercase tag names, removes blank lines, and trims trailing whitespace. - Virtual Indentation: Visually indents lines according to their level number without altering the underlying file content.
| Command | Title | Description |
|---|---|---|
gedcom.findRelationship |
GEDCOM: Find Relationship Between Individuals | Computes kinship, common ancestors, and traces the relationship path. |
gedcom.modernize |
GEDCOM: Upgrade File to GEDCOM 7.0 | Automatically upgrades a GEDCOM 5.5.1 file to standard FamilySearch GEDCOM 7. |
gedcom.showGraph |
GEDCOM: Show Family Tree | Reveals the interactive Family Tree & Fan Chart visualization panel. |
gedcom.showDetails |
GEDCOM: Show Details | Reveals the record inspector and chronological life event timeline. |
gedcom.copyReport |
GEDCOM: Copy Diagnostics | Copies sanitized environment diagnostics and server state to clipboard. |
gedcom.showLog |
GEDCOM: Show Log | Opens the live language server logging stream in the Output panel. |
| Setting | Default | Description |
|---|---|---|
gedcom.graph.depth |
2 |
Number of generational hops displayed from the selected record. |
gedcom.graph.includeReferences |
false |
Include citations, notes, and media records directly in the tree diagram. |
gedcom.validation.strictness |
auto |
auto enforces strict rules on GEDCOM 7 and lenient on 5.5.x. |
gedcom.inlayHints.pointers |
true |
Show resolved individual/family names at the end of pointer lines. |
gedcom.inlayHints.values |
true |
Show plain-text descriptions for coded enumerations (SEX, QUAY, PEDI). |
gedcom.inlayHints.ages |
true |
Show subject ages next to dated events based on their birth record. |
gedcom.codeLens.enabled |
true |
Show record headers, relation summaries, and quick navigation links above records. |
gedcom.details.imagePreviews |
true |
Render thumbnail previews for remote https URLs and local image paths in the Details Panel. |
gedcom.virtualIndent.enabled |
false |
Visually indent lines in the editor based on GEDCOM level numbers without modifying the file. |
gedcom.virtualIndent.width |
2 |
Number of visual columns indented per level. |
Search for GEDCOM Language in the VS Code Extensions view, or run:
ext install florianguitton.vscode-gedcomWorks seamlessly on desktop VS Code and in the browser on vscode.dev and github.dev.
- FamilySearch GEDCOM 7 (7.0.18, February 2025) β The active living standard with machine-readable registries.
- GEDCOM X (JSON & XML) β Modern FamilySearch data exchange specifications for JSON and XML datasets.
- GEDCOM 5.5.5 (2019) β UTF-8 strict maintenance specification.
- GEDCOM 5.5.1 (1999) β The historic universal exchange standard.
Contributions, bug reports, and suggestions are warmly welcomed on GitHub. Please refer to CONTRIBUTING.md for development workflows.
Distributed under the Apache-2.0 License.






