Family Tree Builder (家谱图生成器)

Share:
Chinese Culture & Almanac

Family Tree Builder (家谱图生成器)

Drag-and-drop tree · auto relationship labels · SVG / PNG export

By Checked against sources by Last reviewed CHINESE CULTURE GENEALOGY
Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

Family Tree Builder (家谱图生成器)

Start with one person

The tree is saved in this browser's local storage: it is still here on your next visit, every tab of this browser shares it, and it is never uploaded. On a shared computer, press "Delete saved tree" when you finish.

Advertisement
After results · AD-W1Responsive

How to use

Add the first person

Enter a name and sex; the birth year can stay blank. Usually yourself, or the ancestor you want to trace down from.

Add relatives one at a time

Click a person and a form opens below the tree: type a name, then press "+ Child", "+ Spouse" or "+ Parent". Parents go in one at a time; the second is recorded as the first one's spouse if neither has one. If the person already has a spouse, untick "Also a child of …" to record a child of this person only (a stepchild of the spouse). The same form edits or removes the person.

See how two people are related

Click two people in turn: the panel says what the second person is to the first, in the language chosen above. A relative by marriage says how many marriage steps it took; when the birth order is unknown, both words are shown.

Back up or move the tree

"Export JSON" downloads the whole tree in this tool's own format, and "Import JSON" reads it back, on this or another computer. SVG and PNG are pictures.

How the tree works out a relationship

The tool first looks for the two people's nearest common ancestor. If there is one, they are blood relatives, and the number of generations from each of them up to that ancestor decides the word: parent, sibling, aunt or uncle, niece or nephew, or a cousin with its degree and removal. Cousins are named by the same rule as the Cousin Relationship Calculator on this site.

If there is no common ancestor, the tool follows marriages (and children two people share) and counts how many it crosses. With one marriage step English has words for the close cases: a spouse's parent is a father- or mother-in-law, a child's spouse a son- or daughter-in-law, a parent's spouse who is not your parent a stepparent. Further out there is no single English word, so the tool spells the path out: "brother's wife's sister". Before this version the marriage step was dropped, so every husband and wife was labelled "the same person".

Birth order comes from birth years, not from typing order

Chinese, Malay and Indonesian name an older and a younger sibling differently: a father's older brother is 伯伯, his younger brother 叔叔. The tool decides who is older only from two different birth years. If either year is blank, or both are the same (twins), it shows both words and says the order is unknown, instead of guessing from the order you entered people.

堂 and 表 in Chinese

A first cousin is 堂 when both parents between you are men (your father and his brother) and 表 otherwise, following the Taiwan Ministry of Education's revised Mandarin dictionary: 堂兄弟 are the sons of one's father's brothers; 表兄弟 the sons of one's father's sisters and mother's brothers and sisters.

What this tool cannot record

Each person has at most one spouse and two parents, and two people already in the tree cannot be linked. So a remarriage, an adoption alongside the birth parents, or a cousin marriage (one ancestor appearing twice) cannot be recorded faithfully. The JSON export is this tool's own format, which only this tool's Import reads; genealogy programs exchange trees as GEDCOM, which this tool does not write.

Advertisement
After how-to · AD-W2Responsive

伯伯 or 叔叔, in-law or elder: where each label comes from

01

When two people have no common ancestor, the tool gives no blood word: it counts the marriage steps instead. On a 20-person test tree the old version gave a false English label for at least 70 of 380 pairs (husband and wife read "the same person"); this version gives 0, and a test holds it there.

02

亲家 (co-parents-in-law): the Taiwan Ministry of Education's revised Mandarin dictionary defines 親家 as what the parents of a married couple call each other. So a son-in-law's father is 亲家公 here, never an elder or an uncle.

03

In Malay, besan is "ibu bapa kpd menantu" (the parents of one's son- or daughter-in-law) and cicit "anak kpd cucu" (a grandchild's child), in Kamus Dewan, fourth edition. The Malay labels use the dictionary word, not the form of address.

04

With birth years blank, a father's brother reads "伯伯 / 大伯 or 叔叔" and the panel names the two people whose order is unknown. Removing every birth year from the test tree turns 202 Chinese labels into a list of readings; none changes silently.

05

FamilySearch's GEDCOM 7.0, released in 2021, says its family record may be used for marriage, cohabitation, fostering, adoption and so on "regardless of the gender of the partners". This tool records a same-sex couple too, and calls each the other's husband or wife.

06

The "five mourning grades" (五服) ranked relatives by closeness into five grades of mourning dress, which set how long each mourned.

07

The tool never uploads the tree, but it does keep it in this browser's local storage: close the tab and reopen it and the tree is still there, until you press "Delete saved tree".

📅 Research current as of 03 Nov 2026 · Sources: Fêng Han-yi (Fêng Han-chi). The Chinese Kinship System. Harvard Journal of Asiatic Studies 1937;2(2):141-275; Arnold JS. Kinship: It's All Relative. Enlarged 2nd ed. Baltimore: Genealogical Publishing Co.; 2012 — cousin degrees and removal; 重編國語辭典修訂本 (Taiwan Ministry of Education, CC BY-ND 3.0 TW) — entries 堂兄弟, 表兄弟, 親家, 親家公, cited; Kamus Dewan Edisi Keempat (Dewan Bahasa dan Pustaka) — besan, cucu, cicit, moyang; Kamus Dewan Perdana (2020) and KBBI VI Daring — the Melayu and Bahasa Indonesia labels; FamilySearch GEDCOM 7.0.18 (17 Feb 2026) — the family record.
Standards, published formulas, and reference data are revised over time — check against a current authoritative source before relying on these figures.

Frequently Asked Questions

  • Up to 100 people. There is no limit on the number of generations.

  • In this browser's local storage. Every change is saved, the tree is still there on your next visit, and every tab of this browser shares the one copy, until you press "Delete saved tree" or clear the browser's site data. On a shared or library computer, delete it when you finish. To keep a copy, use "Export JSON".

  • No. Your family data never leaves your device. The page only downloads two kinship-term files from this site.

  • Yes. Press "Import JSON" and choose a file this tool exported, including one from the older version. A file that contradicts itself (a one-way spouse link, someone listed as their own ancestor) is refused, with the reason.

  • No. It is this tool's own format. Genealogy programs exchange trees as FamilySearch's GEDCOM, which this tool does not write.

  • Because the tool does not know who is older. It decides only from two different birth years; fill in both and one word remains. Two people born the same year (twins) still cannot be told apart.

  • Press "+ Parent" twice, one parent each time. If neither parent has a spouse yet, the second is recorded as the first one's spouse.

  • Each person has one spouse. A stepchild, yes: when adding a child to someone who has a spouse, untick "Also a child of …" and the child belongs to that person only; add the child's other birth parent afterwards and the two are recorded as the child's parents, not as spouses. Adoption is not recorded separately from birth.

  • Yes. The name field is free text (up to 40 characters): nicknames or initials work.

  • Yes. All RECATOOLS tools are 100% free, ad-supported.

Method & sources

How it computes

Blood relatives: the nearest common ancestor and each person's generations up to it, named by the cousin rule the Cousin Relationship Calculator uses. Anyone else: the fewest marriage (or shared-child) links between blood segments, counted, and named with an in-law word where one exists or the chain spelled out. Older or younger only from two different birth years; otherwise both words are shown. Computed in your browser.

What this tool implements

  • Generations are derived from the relationships entered rather than typed in, so the tree stays consistent when someone is added in the middle of it; there is no generation cap, only a 100-person one.
  • A relationship is BLOOD when the two share an ancestor, named from the two generation distances, or BY MARRIAGE otherwise, with the number of marriage steps counted and shown; a marriage step is never dropped before naming.
  • Cousin terms follow the standard genealogical rule (degree = the smaller generation distance to the common ancestor minus one; removal = the difference between the two distances), shared with the Cousin Relationship Calculator.
  • English in-law words only where English has one for the whole chain (spouse's parent or sibling, child's or sibling's spouse, stepparent, stepchild, stepsibling, aunt or uncle by marriage); every other chain is spelled out ("brother's wife's sister").
  • Older/younger sibling words (伯伯/叔叔, Abang/Adik) are chosen only from two different birth years; with a year missing or equal, every reading is shown and the page names the two people whose order is unknown. Entry order is never used.
  • Chinese first cousins: 堂 when both parents between the two are men, 表 otherwise, per the MOE revised Mandarin dictionary's 堂兄弟 / 表兄弟 entries. Malay labels use the dictionary form (Suami, Isteri) rather than the form of address.
  • Corrected 2026-11-03: spouses and co-parents-in-law labelled "the same person (by marriage)"; collateral in-laws labelled as direct ancestors; birth order guessed from entry order; "5 generations" and "data is gone on close" claims; a JSON export described as readable by any genealogy software.
Show 1 more
  • Runs entirely in the browser: the tree is kept in this browser's localStorage until "Delete saved tree" and is never transmitted.

Sources

  • Fêng Han-yi (Fêng Han-chi). The Chinese Kinship System. Harvard Journal of Asiatic Studies 1937;2(2):141-275; reissued Cambridge, MA: Harvard University Press for the Harvard-Yenching Institute, 1948 — the paternal same-surname (堂) versus other-line (表) distinction the Chinese labels encode.
  • Arnold JS. Kinship: It's All Relative. Enlarged 2nd ed. Baltimore: Genealogical Publishing Co.; 2012 — cousin degrees and the 'once/twice removed' nomenclature.
  • Ministry of Education (Taiwan). 重編國語辭典修訂本 (CC BY-ND 3.0 TW) — entries 堂兄弟 (「稱謂。用以稱伯叔的兒子。」), 表兄弟, 親家 (「稱謂。男女兩姻家的父母,對彼此的稱呼。」) and 親家公; quoted verbatim in Traditional, not reproduced as data. https://dict.revised.moe.edu.tw/
  • Dewan Bahasa dan Pustaka. Kamus Dewan Edisi Keempat — entries 'sepupu' and 'dua pupu', and 'besan' (ibu bapa kpd menantu), 'cucu', 'cicit' (anak kpd cucu) and 'moyang', read 2026-11-03. https://prpm.dbp.gov.my/Cari1?keyword=besan
  • FamilySearch. The FamilySearch GEDCOM Specification, version 7.0.18, 17 February 2026 — the FAM record "regardless of the gender of the partners" (the page's fact card). https://gedcom.io/specifications/FamilySearchGEDCOMv7.html

What can make this go out of date

  • No tree data leaves the browser. At runtime the page fetches two kinship-term files from this site (one Chinese, one Malay and Indonesian); the tree itself is kept in the browser's local storage until the reader deletes it.
Advertisement
Pre-footer · AD-W3 728 × 90