gedcom4j is an open-source, free-to-use Java library for loading (parsing) and saving GEDCOM 5.5 or 5.5.1 files to/from a Java object hierarchy, which can be manipulated by your code as you see fit.
Please note that gedcom4j is not an application. It is a library (jar file) that can parse, manipulate, and write genealogy data using the GEDCOM format in your own Java programs.
7 Oct 2013 - v2.1.5 available
v2.1.5 of gedcom4j is available in the downloads section. This release fixes an issue in parsing files that have leading whitespace on lines. The spec says to ignore leading whitespaces on lines when reading, even though the spec also says not to put leading whitespace on lines when writing.
The upshot of this is that gedcom4j is now more compliant to the spec and is more forgiving when working with files from tools that don't strictly adhere to the spec.
14 Jun 2013 - v2.1.4 available
v2.1.4 of gedcom4j is available in the downloads section of the site. This version includes a fix for encoding special characters like a's with umlauts (ä) for UTF-8 encoded files. Thanks to Max Gensthaler for the patch.
It also includes a fix for dealing robustly with an inadvertently cyclical relationship (a person being an ancestor of himself due to bad data), which could cause infinite recursion and a stack overflow.
11 May 2013 - v2.1.3 available
v2.1.3 of gedcom4j is available in the downloads section of the site. The new version includes support for embedded multimedia links (OBJE tags) under sources-with-citations (SOUR tags). Thanks to Fredrik Kjellberg for the patch.
We're on Maven Central
Building from Source
Minimum Requirement: JDK 5 or later
Requirements/recommendations for building the software from source code:
Like to see a demo?