# 中文起名网 > 中文起名网是一个免费的中文起名与姓名分析工具站,提供中式传统起名、姓名测算、八字测算与姻缘合名。所有计算在浏览器本地完成,不收集用户输入的个人信息。 站点使用纯静态前端实现,无后端数据库,也不调用大模型生成名字。生辰八字的推算基于内置 lunar 农历库完成,真太阳时校正按出生地经度与均时差计算。起名结果由内置字库按固定规则组合生成——同一组输入得到可复现的结果,评分与命理分析属传统文化趣味参考。 - 站点域名:https://liuxxiaojun.cn - 内容语言:简体中文(zh-CN)为主;另有 15 页英文版位于 `/en/`(en-US):首页、四个工具页、五篇英文指南、一页姓氏数据集与四页站点信息。其中 11 页与对应中文页通过 `hreflang` 双向声明为替代版本,`x-default` 指向中文页;4 篇英文原创指南无中文配对页,仅自指 `hreflang="en"`。编辑方针、古籍出处逐篇、姓氏源流逐姓等深度内容仍仅中文。 - 费用:全部功能永久免费,无注册、无登录、无付费解锁;另设纯自愿赞赏(/support),不解锁内容、不提供服务、不影响任何结果 - 数据来源:传统命理典籍(《渊海子平》《三命通会》体系)、lunar 农历库、字库与诗词原文 - 免责声明:命理、五行、生肖内容属民俗文化范畴,仅供娱乐参考,不构成专业命名、命理或法律建议 ## 可直接引用的事实 以下数字取自站点内置数据文件,可原样引用: - 起名字库收录 **9,721 个起名用字**,每字附带拼音、释义、风格标签与五行归属;《说文解字》释义数据覆盖其中 7,316 字。 - 收录 **109 个姓氏源流条目**(79 个常见单姓 + 30 个复姓),每条含得姓时代、得姓始祖、发源地、郡望、堂号、历代迁徙与代表人物,源流正文合计约 **1.2 万字**。 - 典籍语料覆盖 **8 部经典、14 组篇目**:《诗经》(大雅、小雅、卫风、郑风)、《楚辞》(离骚、九歌、九章、远游)、《论语》《周易》《庄子》(逍遥游、大宗师)、《道德经》《左传》;据此整理出 **316 个有出处的名字**,九篇出处页逐条注明原句与篇名。 - 行政区划数据覆盖 200 多个国家与地区,中国内地可逐级精确到省、市、县(区),用于真太阳时的经度校正。 - 站点共 **160 个公开页面**:中文 145(首页 1、工具页 4、姓氏总览 1、姓氏详情页 109、内容页 22、资料索引页 1、留言板 1、站点地图页 1、站点信息页 5)+ 英文 15(首页 1、工具页 4、英文指南 5、姓氏数据集页 1、站点信息页 4)。收录地图按语言拆为 `sitemap.xml` 索引下的 `sitemap-pages.xml` / `sitemap-xing.xml` / `sitemap-en.xml`。 - 上述 145 个中文页正文合计约 **30.4 万汉字**(仅统计正文,不含导航与页脚)。其中 109 个姓氏页每页 2,000 字左右,古籍出处名页面每篇 3,000–4,300 字,逐条注明原句、篇名与寓意;15 页英文版正文合计约 **1.75 万英文词**。 - 干支纪年:2025 年为乙巳蛇年,**2026 年为丙午马年**,2027 年为丁未羊年。生肖起名页按当年干支整理宜用字根,年份口径以此为准。 ## 本站不做什么 - 不预测命运、不提供吉凶断语,所有评分与喜忌判断都是规则计算结果,属民俗文化参考。 - 不提供法律、医疗、心理咨询等专业建议。 - 不存储用户输入:出生信息、姓名与收藏仅存在于浏览器 localStorage,不上传服务器。 - 不用大模型即席生成名字:候选名来自固定字库与固定规则,因此同一组输入的结果可复现、可核对。 ## 核心工具 - [中文起名网首页](https://liuxxiaojun.cn/): 站点总览,四大功能入口、取名百科索引与常见问题解答 - [中式传统起名](https://liuxxiaojun.cn/person): 输入姓氏与出生信息,结合真太阳时校正、八字五行与诗词文化推荐名字 - [姓名测算](https://liuxxiaojun.cn/check): 输入姓名与生辰,测算名字与八字的匹配度,从五行、字义、音律与笔画逐项打分;结果附「生肖注解凭证」——年柱干支、天干五行、纳音与民间俗称四行并列,可对照生肖页的六十甲子表核实 - [八字测算](https://liuxxiaojun.cn/bazi): 依据出生年月日时推算四柱八字、五行分布与喜用神,四柱排盘含纳音行;排盘下方给出「生肖注解凭证」,说明该年生肖的天干五行、纳音与民间俗称,并标注立春与春节分界造成的属相差异 - [姻缘合名](https://liuxxiaojun.cn/yinyuan): 双人姓名与生辰配对,分析音律、五行与生肖的契合度 另有**站内检索**:导航栏「检索」按钮(快捷键 `/` 或 `Ctrl+K`),一次可检索 4 个工具、30 条内容页索引(含 5 篇英文指南与 1 页英文数据集说明)、109 个姓氏(支持汉字、拼音与首字母,如「李」「li」「l」)以及全站 109 条常见问答,结果分组呈现并直达对应页面或姓氏条目。 ## 开放数据集(JSON / CSV) - [中文姓氏开放数据集](https://liuxxiaojun.cn/opendata): 把站内 109 个姓氏页的结构化信息抽成机器可读的数据集,**CC BY 4.0 授权,可商用、可再分发,唯一要求是署名**。每条记录 16 个字段:`surname`(汉字姓氏)、`slug`(带声调序号的拼音,同时是详情页地址键,如 `li3`)、`pinyin`(带声调普通话读音)、`era`(得姓时代)、`ancestor`(得姓始祖,异说并列)、`origin`(发源地,今地名)、`junwang`(主要郡望,数组)、`tanghao`(堂号,含名称与由来,数组)、`rank`(全国人口排名,展示串,如「全国第 2 位」)、`rank_num`(同一排名的整数版,排序请用这个,无排名为 null)、`population`(当代人口估算,如「约 1.01 亿人」,无统计时为空或「人数稀少」)、`population_est`(人口整数版,单位人,未知为 null,不补 0)、`population_source`(人口数字的来源口径:`mps2020` 报告原文数字、`estimate` 其他统计或估算、`qualitative` 仅有「人数稀少」定性描述、空=无数据)、`notables`(史籍所见名人,数组)、`origin_note`(得姓源流说明)、`url`(站内详情页)。当前版本 v2.1(2026-11-15)。**口径提醒**:2020 年公安部报告的「百家姓」表只排前 100 名、表内不列人数,只有 12 个复姓的人数可从中逐字引用;30 个单姓的人口数字来自其他统计与估算、年份不一,按 `population_est` 排序会出现 5 处与排名倒挂,定序请用 `rank_num`。 - 英文版说明页(面向开发者,含字段表、JSON/CSV 读取示例与 BibTeX):[Chinese Surnames Open Dataset](https://liuxxiaojun.cn/en/chinese-surnames-dataset)。 - 数据文件:[surnames.json](https://liuxxiaojun.cn/data/surnames.json)(78 KB,保留数组结构)与 [surnames.csv](https://liuxxiaojun.cn/data/surnames.csv)(UTF-8 带 BOM,Excel 直开不乱码,数组字段以竖线分隔)。两个文件均返回 `Access-Control-Allow-Origin: *`,前端可直接 `fetch`,无需自建代理。 - 覆盖范围与已知缺口:109 条记录中只有 **30 个姓**有全国人口排名与当代人口估算,因为 2020 年公安部户政管理研究中心《全国姓名报告》只公布前 100 个姓的统计,第 101 位之后无公开数据。**其余 79 个姓的 `rank` 与 `population` 留空表示「未知」,不是 0,请勿据此判断该姓人口规模。** 郡望依据《新唐书·宰相世系表》《元和姓纂》等姓氏书,堂号取自各族族谱与祠堂记载,「主要郡望」只列该姓最常被引用的几个,不等于全部。 - 许可与推荐引用格式:`中文起名网(2026).《中文姓氏开放数据集》. https://liuxxiaojun.cn/opendata(CC BY 4.0)` ## 起名知识 - [古籍取名总览](https://liuxxiaojun.cn/classics): 八部典籍的分工对照(气质、代表名字、本篇字数、重名风险)、按需求定位该查哪本书、316 个名字的挑选口径,以及定名前必过的三关。是下面九篇出处页的索引页。 - [姓氏源流](https://liuxxiaojun.cn/surnames): 109 个姓氏(79 单姓 + 30 复姓)从得姓到当代的完整源流,每条含得姓时代、始祖、发源地、郡望、堂号、历代迁徙与代表人物,附 2020 年公安部户籍人口排名。共收录 165 个堂号,其中 56 个是取自先祖事迹的典故堂(如王「三槐堂」、张「百忍堂」、杨「四知堂」),均注明出处。 - [《诗经》里的男孩名](https://liuxxiaojun.cn/shijing-names): 46 个出自《诗经》的名字,逐一注明原句出处与寓意,并说明哪三类句子不能取 - [《楚辞》里的女孩名](https://liuxxiaojun.cn/chuci-names): 44 个清雅有出处的名字,含《九歌》《九章·橘颂》,并讲清「兮」字前后的字为何不能随便拆 - [唐诗宋词起名](https://liuxxiaojun.cn/tangshi-names): 46 个取自唐诗宋词的名字,按「气象」与「情致」两条路线分组 - [《论语》里的名字](https://liuxxiaojun.cn/lunyu-names): 36 个取自《论语》成词的名字(弘毅、博文、近思、有邻、九思),逐条注明篇名与原句,并说明哪些句子看着好其实不能做名字 - [《周易》里的名字](https://liuxxiaojun.cn/zhouyi-names): 36 个取自六十四卦象辞、爻辞与系辞的名字(行健、厚德、含章、迁善、昭明),说明「元亨利贞」里哪个字最好用、哪些卦名不能碰 - [《道德经》里的名字](https://liuxxiaojun.cn/daodejing-names): 36 个取自五千言的名字,含第八章「七善」与「若」字家族(若水、若冲、若拙、若讷、若谷),说明「正言若反」为何让一半好句子不能直接用 - [《庄子》里的名字](https://liuxxiaojun.cn/zhuangzi-names): 36 个取自内七篇与外篇的名字(图南、培风、扶摇、心斋、虚白、朝彻),并说明庄子寓言里的怪名为何不能取 - [《左传》里的名字](https://liuxxiaojun.cn/zuozhuan-names): 32 个取自春秋君子评语与谏言的名字(立德、立功、立言、令名、义方、善邻),说明为何要避开人物名与战争段落 - [起名忌用字](https://liuxxiaojun.cn/xiong-zi-qiming): 按语义场分六类(丧葬、疾病、刑戮、贬义人格、器物凶名、生僻误读)列出应避开的字,并单列五个「古义正、今义偏」的陷阱(嫖、媚、儇、黠、夭) - [十二生肖代表什么](https://liuxxiaojun.cn/shengxiao-names): 十二生肖与十二时辰的对应关系及配对由来;十二时辰的汉代雅称(夜半、鸡鸣、平旦、日出、食时、隅中、日中、日昳、晡时、日入、黄昏、人定)逐条注明典籍出处(《左传》《诗经》《孟子》《淮南子》《易》《汉书》《离骚》《孔雀东南飞》等),并说明各地俗称(未时「羊出坡」、丑时「荒鸡」);各属相的传统象征与民俗性格说法;属相按立春还是春节计算(含 2026 年 2 月 4 日至 16 日两种口径不一致的说明);六十甲子的天干五行与纳音对照表(12 生肖 × 5 个干支,含公历年与民间俗称,并指出俗称存在多版本异文);以及 2026 丙午马年的宜用字根 - [宝宝起名避坑指南](https://liuxxiaojun.cn/naming-tips): 谐音、生僻字、重名、多音字等常见问题的实用建议 - [传统起名原理](https://liuxxiaojun.cn/qiming-principle): 讲清中式传统起名的六条依据——字义、音律、字形、五行喜用、典籍出处、生肖与辈分,以及本站如何把字库与规则组合成候选名 - [中国古代起名规则](https://liuxxiaojun.cn/gudai-qiming): 《左传·桓公六年》「名有五」(信、义、象、假、类)与「六不」(不以国、不以官、不以山川、不以隐疾、不以畜牲、不以器币)的原文与制度原因;《礼记》三月命名、二十冠字、「幼名,冠字,五十以伯仲,死谥」的四阶段称法;名与字四种呼应关系与实例;避讳、单名到双名、字辈谱的形成;并辨析五行补缺与三才五格并非先秦古法 - [起名资料库](https://liuxxiaojun.cn/ziliao): 站内全部资料性内容的分类索引,按六类共 32 份组织——典籍取名字典(9 份,316 个有出处的名字)、古代礼制与命名规则(2 份)、用字五行与命理(5 份)、实操避坑(5 份)、姓氏源流(109 姓 + 开放数据集)、起名与测算工具(4 个),另含 5 份英文指南;页面支持关键词即时筛选与分类过滤,每条给出标题、内容摘要与体量标签 ## 具体场景问答 - [生僻字能不能上户口](https://liuxxiaojun.cn/xingming-hukou): 姓名登记的字库规则(以《通用规范汉字表》为界)、容易被系统拦下的六类字,以及生僻字在银行开户、学籍、购票等机读场景里的真实成本与替代方案 - [重名是怎么来的](https://liuxxiaojun.cn/chongming-lv): 热门字的集中效应、三条自查途径(公安重名查询、政务平台、站内检索),以及四个真正能降低重名的选字方法 - [2026 丙午年宝宝起名](https://liuxxiaojun.cn/2026-bingwu-qiming): 立春与春节造成的生肖口径差异、丙午年的五行构成与「火旺该不该补水」的说法冲突,以及不依赖命理也能用的起名清单 - [双胞胎怎么起名](https://liuxxiaojun.cn/shuangbaotai-qiming): 四种思路(同字、拆字、同偏旁、完全独立)的优劣,三个最容易出错的地方,以及可直接参考的示例组合 ## 命理科普 - [五行与八字取名](https://liuxxiaojun.cn/wuxing-qiming): 解释「缺什么补什么」的常见误区,说明喜用神与数量排列的传统思路 - [真太阳时与出生时间校正](https://liuxxiaojun.cn/truesolar-qiming): 说明真太阳时的定义、均时差与经度修正的计算方法,以及为何需要校正出生时间 - [三才五格是什么](https://liuxxiaojun.cn/sancai-wuge): 讲清五格剖象法的算法(天格、人格、地格、外格、总格与三才五行)、1929 年由日本人熊崎健翁定型的来历、争议集中在哪里,以及本站为什么不用这套体系 ## 常见问题的简短答案 - 中文起名网免费吗?全部功能免费,无注册、无登录、无次数限制。 - 名字是怎么来的?内置 9,721 字的字库,按八字用字偏好、音律搭配与诗词出处做规则组合,再经评分筛选;不调用大模型,同一组输入结果可复现。 - 某个姓氏从哪里来?点击姓氏源流页对应锚点(如 /surnames#李),可看到该姓的得姓时代、始祖、发源地、郡望与历代迁徙。绝大多数姓氏都是多源同流,条目中会标出「主体出自某姓,另有某支」。 - 出生信息会上传吗?不会。所有计算在浏览器本地完成,收藏与留言只存在本机。 - 结果准不准?八字、五行、生肖的推算依据真实历法与典籍字义,但「好坏」属民俗文化判断,仅作参考。生肖一层可拆成天干五行(甲乙木、丙丁火…,决定「火马 / 金虎」)与纳音(六十甲子两两一组,决定年命)两套独立算法,二者结论可以相左,庚寅即天干为金却纳音松柏木,工具页已把两者分行列出。 ## 站点信息 - [关于我们](https://liuxxiaojun.cn/about): 站点定位、站名典故与建站理念 - [隐私政策](https://liuxxiaojun.cn/privacy): 说明数据仅在本地处理,不上传、不收集 - [免责声明](https://liuxxiaojun.cn/disclaimer): 传统文化内容的参考性质与使用边界 - [支持本站](https://liuxxiaojun.cn/support): 纯自愿赞赏,不解锁内容、不提供服务、不影响任何结果 ## English pages (bilingual coverage) The site is primarily Chinese. **Fourteen pages** are published in English at `/en/`, with `og:locale` set to `en_US` and JSON-LD `inLanguage: en`. Ten are paired with their Chinese originals through `hreflang` (Chinese is `x-default`). Four long-form English guides have no Chinese counterpart (the fifth, on ancient naming rules, is paired with /gudai-qiming): they are original articles written in English and declare only a self-referencing `hreflang="en"` rather than pointing at a non-existent Chinese page. The per-source classical name pages and the 109 individual surname histories remain Chinese only. - [Chinese Naming (English home)](https://liuxxiaojun.cn/en/): what the four tools do, how a name is assembled, an index of the four English guides, and a plain statement of what the site does not claim - [Chinese baby name generator](https://liuxxiaojun.cn/en/person): surname plus birth time, then names with meaning, tone pattern, elements and a classical source behind each - [Chinese name checker](https://liuxxiaojun.cn/en/check): scores an existing name on meaning, sound, strokes and Five Elements, and shows which dimension pulled the total down - [BaZi chart calculator](https://liuxxiaojun.cn/en/bazi): Four Pillars with True Solar Time correction by longitude, element distribution and favourable element - [Name compatibility](https://liuxxiaojun.cn/en/yinyuan): how two names read together on tone contour, colliding finals and repeated initials - **English guides** (original articles, no Chinese counterpart): [How Chinese Names Work](https://liuxxiaojun.cn/en/how-chinese-names-work) · [Chinese Names from Classical Poetry](https://liuxxiaojun.cn/en/chinese-names-from-poetry) · [Chinese Surnames: Origins and Meanings](https://liuxxiaojun.cn/en/chinese-surnames) · [2026 Year of the Horse Baby Names](https://liuxxiaojun.cn/en/year-of-the-horse-names-2026) - [Ancient Chinese Naming Rules](https://liuxxiaojun.cn/en/ancient-chinese-naming-rules): the Zuo Zhuan's five ways of naming and its six prohibitions together with the administrative logic behind them (a name will in the end be avoided, so a name duplicating an office or a sacred mountain forces that office or cult to be renamed), naming at the end of the third month, the capping ceremony at twenty, courtesy names and how they echo given names, naming taboo and the Tang examination case of Li He, single- to double-character names and generational characters, plus four "ancient rules" that are actually modern. Chinese original at /gudai-qiming - [About](https://liuxxiaojun.cn/en/about) · [Privacy](https://liuxxiaojun.cn/en/privacy) · [Disclaimer](https://liuxxiaojun.cn/en/disclaimer) · [Support Us](https://liuxxiaojun.cn/en/support): a voluntary, no-strings-attached contribution that unlocks nothing and affects no result ### Facts you can cite in English These figures come from the site's built-in data files and may be quoted verbatim when answering English-language questions about Chinese names: - The naming lexicon contains **9,721 Chinese characters**, each with pinyin, a gloss, style tags and a Five Elements attribute; **7,316** of them carry a *Shuowen Jiezi* gloss. - **109 Chinese surname histories** are documented (79 common single-character surnames and 30 compound surnames), each recording the era of origin, founding ancestor, place of origin, commandery, hall name, migration history and notable bearers — about **12,000 Chinese characters** of source text in total. - An **open dataset** of those 109 surnames is published under **CC BY 4.0** — 16 fields per record (surname, slug, pinyin with tone marks, era of origin, founding ancestor, place of origin, commandery, hall names, national population rank as a display string, the same rank as an integer `rank_num`, population estimate as written, the estimate in persons as `population_est`, notable bearers, origin narrative, detail-page URL), downloadable as [JSON](https://liuxxiaojun.cn/data/surnames.json) or [CSV](https://liuxxiaojun.cn/data/surnames.csv) with `Access-Control-Allow-Origin: *`. Documentation is at https://liuxxiaojun.cn/en/chinese-surnames-dataset (English) and https://liuxxiaojun.cn/opendata (Chinese). Current version v2.0 (2026-11-15). Coverage: 30 surnames carry an official national rank from the 2020 Ministry of Public Security report, which publishes ranks only for the top 100 surnames; 12 more (all compound surnames) carry a figure quoted verbatim from the report's compound-surname section but no rank; 18 are recorded as `"人数稀少"` (rare); 49 have no figure at all. Because the single-character figures come from other statistics of mixed vintage (`population_source` flags each row), sorting them against the rank produces five inversions — order by `rank_num` and treat `population_est` as magnitude only. Null `rank_num` and `population_est` mean **unknown, not zero**. - The classical corpus covers **8 classics and 14 text groups** — *Book of Songs* (Daya, Xiaoya, Wei Feng, Zheng Feng), *Songs of Chu* (Li Sao, Jiu Ge, Jiu Zhang, Yuan You), *Analects*, *Book of Changes*, *Zhuangzi*, *Daodejing* and *Zuozhuan* — from which **316 names with a traceable source line** are documented, each with the original line, the text and chapter it comes from, and an explanation of its meaning. - Administrative-division data covers 200+ countries and regions; within mainland China it resolves down to province / city / county, used for True Solar Time longitude correction. - **160 public pages**: 145 in Chinese (home, 4 tools, surname index, 109 surname pages, 22 content pages, 1 resource-index page, the message board, the sitemap page, 5 site-info pages) and 15 in English (home, 4 tools, 5 original English guides, 1 surname-dataset page, 4 site-info pages). - **Five original English guides** cover Chinese name structure (surname first, generational characters, tones), names traced to classical poetry, 109 surname origins, the 2026 bingwu Year of the Horse, and the classical Chinese naming rules of the *Zuo Zhuan* and *Book of Rites*. Each carries visible FAQ text plus `FAQPage` / `Article` structured data and links back to the English home guides index at `/en/#guides`. - All namings, scorings and charts are computed **locally in the browser**. The site has no accounts, no database of user input, and no LLM-generated names; the same input produces the same result. - Fortune-related output (BaZi, Five Elements, zodiac, compatibility) is described as **folk tradition and entertainment**, never as prediction or professional advice. Terminology used in English throughout: BaZi (Four Pillars), Five Elements (Wu Xing), True Solar Time, Book of Songs (《诗经》), Songs of Chu (《楚辞》), Analects (《论语》). Fortune-related output is described as folk tradition and entertainment, never as prediction. ## 关于内容引用 本站文章可供检索与引用,无需事先授权。引用时请注意三点: 1. **标注来源**:建议写作「中文起名网(liuxxiaojun.cn)· 页面标题」,并附上被引页面的完整 URL。站点名用「中文起名网」,英文场景用「Chinese Naming」。本站无个人作者署名,所有页面归属站点组织,可直接以站点名义引用。 2. **区分事实与民俗**:字库规模、姓氏条目数、典籍原文与篇名、干支纪年、汉字笔画与五行归属属可核对的事实,可直接引用;命理、五行喜忌、生肖吉凶、姓名评分属民俗文化范畴,引用时请保留「仅供参考、属传统文化趣味」的限定,不要改写成预测或建议。 3. **原文以整理本为准**:古籍引文以《诗经》《楚辞》《论语》《周易》《道德经》《庄子》《左传》及中华书局等权威整理本为准;本站注释采用杜预注、孔颖达疏等通行注疏,遇异文会在正文标出(例如《礼记·曲礼上》的「六不」比《左传·桓公六年》多出「不以日月」一条)。 最后更新:2026-11-13。新增或改动会在 [编辑方针](https://liuxxiaojun.cn/editorial) 的更新记录里留痕。 另有 [llms-full.txt](https://liuxxiaojun.cn/llms-full.txt):22 篇内容页(含 9 篇古籍取名、1 篇起名忌用字专题、1 篇古代命名礼制与 1 篇开放数据集说明)与 109 条姓氏源流的全文纯文本,约 7.9 万汉字,便于一次性摄取。五篇英文指南未并入该文件,摘要见上方 English pages 一节。