Spring Festival Couplet Generator (春联生成器)
35 traditional 春联 by 7 themes · 上下联 + 横批 · the banner direction sets the sides · print PDF
Spring Festival Couplet Generator (春联生成器)
How to use
Pick a theme
7 themes: wealth, longevity, family, harmony, study, business, general.
Generate or random
"Generate" draws a couplet from the theme; "Random" draws from all 35.
Choose the banner direction
A banner read right to left is the traditional way and puts the upper line on the right; read left to right, it puts the upper line on the left. The labels say which side each line goes on as you face the door.
Print as PDF
Hit "Print" to save a PDF from your browser. The printed layout follows the direction you chose.
Spring Festival couplets: two lines, a banner, and a rule about the last character
Spring Festival couplets (春联, chūn lián) are pasted either side of a door at the Lunar New Year. A set has three parts: a horizontal banner (横批) above the door and two vertical lines read top to bottom, the upper line (上联) and the lower line (下联). They grew out of peach-wood charms hung on doors (桃符). The couplet often cited as the earliest comes from the court of 孟昶, ruler of Later Shu, on the New Year's Eve that fell, by our reckoning, on 4 February 965 (Julian calendar); whether 孟昶 or his scholar 辛寅逊 wrote it is disputed.
Six rules, and two ways to judge the tones
The Chinese Couplet Society's current 《联律通则》 (in force since 1 January 2024, when the 2008 version was withdrawn) lists six basic rules: equal length (字句对等), matching parts of speech (词性对品), matching structure (结构对应), matching rhythm (节律对拍), opposed tones (声调对立: the upper line ends on an oblique tone, 仄, and the lower on a level tone, 平) and one theme across both lines (语意关联). Its article 8 lets tones follow either the old rhyme-book sounds (平水声韵) or modern Mandarin, but not both within one couplet.
This tool checks two of those rules on every couplet it holds. All 35 have lines of equal length. Judged by the classical 平水韵 tone classes, 35 end oblique then level; judged by Mandarin readings (the Unicode Unihan database), 32 of 35 do. The other 3 end their upper line on 福 or 宅, entering tones (入声) that count as oblique in the rhyme books but are read fú and zhái, level tones, in Mandarin. The remaining four rules need a reader's judgement, and the tool does not score them.
Until 1 October 2026 the list held 40 entries and the page said all of them followed the rules; on the classical track 33 did. 2 had the upper and lower lines swapped: 生意兴隆通四海 is the upper line and 财源茂盛达三江 the lower, and that pair is now put right; the other also repeated 旧迎新 in the same positions in both lines and was replaced. 5 had both lines ending on a level tone. One of those was lines 2 and 4 of 王安石's quatrain 《元日》, a pair lifted from a poem (摘句对), for which the 通则's article 12 allows some latitude; but they are the poem's rhyming lines, so both end level, and the page had called every entry authorless. Those 5 were removed.
Which side the upper line goes on
This is custom, not one of the six rules: the 通则 says nothing about sides or the banner. The mainland sources we found give one rule: the upper line goes on the side where the banner starts reading. Facing the door, a banner read right to left (the traditional way), or no banner, puts the upper line on the right. When the banner reads left to right, as CCTV News (2025) says most banners now do, the upper line goes on the left: 秦志法, president of the Jiangsu Couplet Research Society, told China News Service in 2016 that it should, and CCTV says it may. The Shenzhen Municipal Archives (2025) give the same rule. This is mainland practice; we found no official statement for Taiwan, Hong Kong, Singapore or Malaysia. The banner setting above chooses the direction, and the labels and layout follow it, in print too.
Where every couplet comes from
Until 18 November 2026 this page said every entry was "an existing traditional text", and nobody had checked them one by one. We searched for each of the 35 then in the list on government, major-news, university and Wikisource pages, and read the pages raw. Only 8 were found word for word, and they stay. 4 were found with a different lower line and now follow the published wording. 22 were found on none of those pages, and 1 only as a birthday couplet; those were taken out and replaced with published spring couplets.
All 35 now copy their two lines from a published page, named under the couplet when it is drawn: 23 from the China Couplet Society's list of general seven-character couplets, 《通用对联(七字联)》, published on Xuexi Qiangguo (学习强国) in 2019, and the rest from People's Daily, Xinhua, People.cn, China News Service and CCTV pages. None of those pages names an author, and the tool attributes none. The banners are not from those pages: each is a headword of Taiwan's Ministry of Education dictionary, 《重編國語辭典修訂本》, and which one goes with which couplet is this tool's choice. The tool composes nothing.
From Meng Chang's peach-wood board to the upside-down 福
The couplet often cited as the earliest was written on a peach-wood board for the bedroom door of 孟昶, last ruler of Later Shu, on New Year's Eve of 乾德二年: 4 February 965 in the Julian calendar, by our reckoning. 《宋史》 says scholars were set to write the boards every New Year's Eve (「每岁除,命学士为词,题桃符」), so this is the earliest whose wording survives in these histories, not the first ever written. Its author is disputed too: 《宋史》 and 《蜀梼杌》 say 孟昶 wrote it himself in place of lines by his scholar 辛寅逊 (幸寅逊 in the Wikisource 《宋史》), while the Song miscellany 《谈苑》 credits 辛寅逊, the reading a 2012 China News Service article finds more convincing. The sources disagree on its wording. 《宋史》 as transcribed on Wikisource reads 「新年纳余庆,喜节号长春」, 张唐英's 《蜀梼杌》 reads 「嘉节贺长春」, and the popular form is 「嘉节号长春」. Both record why it was remembered: 孟昶 surrendered to the Song on the eleventh day of the new year, the governor sent to Chengdu was named 吕余庆, and 长春 was the name of the Song emperor's birthday festival.
It may not be the earliest. 谭蝉雪 of the Dunhuang Academy identified the back of Dunhuang manuscript S.0610 as a set of peach-charm (桃符) inscriptions, among them 「三阳始布,四序初开」. As CCTV reported in 2007, the front carries a text dated 开元十一年, so the inscriptions were copied no earlier than 723.
Peach-wood charms came before couplets. The 《后汉书·礼仪志》 records Han officials setting a 桃印 on doors at midsummer: a peach-wood tablet six 寸 long, already written on in five colours (「五色书文如法」). At the year-end exorcism they set out peach-wood figures. 《荆楚岁时记》 describes the door gods 神荼 and 郁垒 painted either side of the door. By the Qing, 《燕京岁时记》 says simply: 「春联者,即桃符也」 (spring couplets are peach charms).
The upper line ends oblique, the lower level. Oblique (仄) endings include 岁 (departing tone), 水 and 好 (rising tone); level (平) endings include 春, 金 and 门. The four-tone theory behind the terms is credited to 沈约 of the Liang dynasty: 《南史》 says he wrote a 《四声谱》 and claimed poets had missed the idea for a thousand years.
The Mandarin shortcut misreads 福 and 宅. Many guides say third and fourth tones are oblique and first and second level. That is one of the two standards the 通则 allows, but 福 and 宅 were entering tones, which the rhyme books count as oblique, and Mandarin reads them with a level tone. So 32 of this tool's couplets pass on Mandarin tones, and all 35 on the classical track.
Red is usual, not universal. 《燕京岁时记》 records that in Qing Beijing the palace and the imperial clan used white paper edged in red or blue, which others were not allowed to use.
The upside-down 福 is a pun in Mandarin: the Unicode Unihan database reads both 倒 (upside down) and 到 (arrive) as dào. We have not checked whether it works in Cantonese. Not everyone puts it on the front door: 秦志法 of the Jiangsu Couplet Research Society says the 福 on the main door should be upright and inverted ones belong inside the house.
揮春 (fai chun) is the Cantonese name for New Year blessings written on red paper, the word used in Hong Kong, Guangdong and by Cantonese speakers in Malaysia.
This tool's couplets: all 35 have seven characters per line, and every one has a four-character banner.
Frequently Asked Questions
Facing the door, on the side where the banner starts reading. A banner read right to left, or no banner, puts the upper line on the right; with a banner read left to right it goes on the left (秦志法 says it should, CCTV that it may). That is the rule mainland sources give (秦志法 of the Jiangsu Couplet Research Society in 2016; CCTV News and the Shenzhen Municipal Archives in 2025); we found no official statement for Taiwan, Hong Kong, Singapore or Malaysia. To tell the lines apart, look at the last character: the upper line ends on an oblique tone, the lower on a level tone. The labels on this tool follow the banner setting.
Taiwan's Ministry of Education dictionary defines 春联 as auspicious lines written on red paper at the lunar new year and pasted on both sides of a door. The banner goes on the lintel above.
No, this is a digital display. For hand-written couplets, ask a calligrapher or write your own. This tool helps you choose the words and see the layout first.
Yes. The six basic rules of the current (2024) 《联律通则》 are the usual standard: equal length, matching parts of speech, matching structure, matching rhythm, opposed tones (the upper line ends oblique, the lower level) and one theme across both lines. Pick one tone standard, the old rhyme-book sounds or modern Mandarin, and keep to it for the whole couplet; the 通则 also warns against repeating a character in the same position in both lines without a pattern.
Not by the rules. The six rules of the 通则 are about the two lines and say nothing about the banner. Where there is one, its reading direction decides which side the upper line goes on. Every entry in this tool has a four-character banner.
When you print, the page leaves out ads and menus and prints the banner and both lines, laid out for the direction you chose. Use your browser's "Print → Save as PDF".
They are a different thing. Funerals use elegiac couplets (挽联), a separate genre, and this tool has none.
Of course. Nothing in the custom limits who may paste them.
No. It holds 35 traditional couplets across 7 themes, each named with the page it was published on and checked for equal length and for the end-tone rule on both tone standards. It is a small selection, not a catalogue.
Method & sources
How it computes
Picks one entry at random from a fixed pool of 35 traditional 春聯 (upper line, lower line, four-character 橫批), filtered by seven themes. You choose which way the banner reads, and the upper line is placed on the side where the banner starts reading. Every entry is checked for equal line length and for the end-tone rule (upper line ends 仄, lower ends 平) on both tracks the 《聯律通則》 allows: 平水韻 tone classes and modern Mandarin (Unihan). Each is copied from a named published page.
What this tool implements
- 中国楹联学会《联律通则》 (in force since 1 January 2024; the 2008 修订稿 was withdrawn the same day) lists six basic rules: 字句对等, 词性对品, 结构对应, 节律对拍, 声调对立 (上联收于仄声,下联收于平声) and 语意关联. Its article 8 lets tones follow either 平水声韵 or 现代汉语新声韵, never mixed within one couplet.
- All 35 entries have lines of equal length. All 35 end 仄 then 平 judged by 平水韻 tone classes; 32 of 35 do judged by Mandarin readings (Unihan kMandarin). The 3 exceptions end their upper line on 福 (2) or 宅 (1), entering tones (入聲) counted oblique in the rhyme books and read fú and zhái, level tones, in Mandarin. The other four rules need a reader's judgement and are not scored.
- On 1 October 2026 the pool went from 40 entries to 35; 33 of the 40 had conformed on the classical track. Of 2 pairs printed upper-for-lower, one was put right (生意興隆通四海 above 財源茂盛達三江) and one, which also repeated 舊迎新 in the same positions, was replaced. 5 pairs whose lines both end level were removed. One of them was lines 2 and 4 of 王安石《元日》: a pair lifted from a poem (摘句对), for which the 通则's article 12 allows latitude (允许适当放宽), but the poem's rhyming lines, so both end level; the page had called every entry authorless.
- Which side each line goes on is custom, not a rule of the 通则, which says nothing about sides or the banner. The page follows mainland practice as stated by 秦志法 (江苏省楹联研究会, 2016), CCTV News and the Shenzhen Municipal Archives (2025): the upper line goes on the side where the banner starts reading, so on the right for a right-to-left banner or none; with a left-to-right banner it goes on the left (秦志法: it should; CCTV: it may). No Taiwan, Hong Kong, Singapore or Malaysia statement was found.
- The couplet from 孟昶's court, often cited as the earliest, was written on New Year's Eve of 乾德二年, 4 February 965 (Julian) by our reckoning with the Academia Sinica converter. 《宋史》 says scholars wrote the peach boards every New Year's Eve (每歲除), so it is the earliest whose wording these histories keep, not the first written. 《宋史》 and 《蜀檮杌》 credit 孟昶 himself; 《談苑》 credits his scholar 辛寅遜, the reading a 2012 China News Service article prefers. Its wording differs by source: 《宋史》 (Wikisource) 喜節號長春, 張唐英《蜀檮杌》 嘉節賀長春, the popular form 嘉節號長春. Dunhuang manuscript S.0610 carries 桃符 texts copied no earlier than 723, as identified by 谭蝉雪.
Sources
- 中国楹联学会.《联律通则》, adopted at 八届五次会长会议, in force 1 Jan 2024; full text reprinted on 新浪博客 (丘山墨客), 11 Dec 2023. https://blog.sina.com.cn/s/blog_6067acd70102zeso.html
- 刘宏伟. 谁是"第一"春联作者?"辛寅逊说"更具说服力. 北京晚报 via 中国新闻网, 20 Jan 2012. https://www.chinanews.com.cn/cul/2012/01-20/3619878.shtml
- 《宋史》卷四百七十九 世家二 西蜀孟氏. Wikisource. https://zh.wikisource.org/wiki/宋史/卷479
- 張唐英.《蜀檮杌》卷下. Wikisource. https://zh.wikisource.org/wiki/蜀檮杌/卷下
- 中央研究院. 兩千年中西曆轉換 (965-02-04 = 乾德二年十二月三十日). https://sinocal.sinica.edu.tw/
- CCTV News. Report on Dunhuang manuscript S.0610V (桃符 inscriptions, copied no earlier than 開元十一年 / 723), 17 Feb 2007. http://news.cctv.com/china/20070217/101126.shtml
- 中国新闻网. 专家指导贴春联:上联贴哪边由横批行文方向决定 (秦志法, 江苏省楹联研究会), 5 Feb 2016. https://www.chinanews.com.cn/m/cul/2016/02-05/7749847.shtml
- 光明网 (from 央视新闻). 春联到底该怎么贴?如何区分上下联? 27 Jan 2025. https://m.gmw.cn/2025-01/27/content_1303957587.htm
Show 17 more
- 深圳市档案馆. 贴春联到底应从左往右还是从右往左? 28 Jan 2025. https://www.szdag.gov.cn/gzdt/gzdt/content/post_1519697.html
- 平水韻 (平水新刊韻略, 106 rhymes). Wikisource. https://zh.wikisource.org/wiki/平水韻
- Unicode Consortium. Unihan database, kMandarin and kTGHZ2013 readings (UCD, 1 Sep 2026). https://www.unicode.org/charts/unihan.html
- 《南史》卷五十七 沈約傳 (《四聲譜》). Wikisource. https://zh.wikisource.org/wiki/南史/卷57
- 《後漢書》禮儀志中 (桃印). Wikisource. https://zh.wikisource.org/wiki/後漢書/卷95
- 富察敦崇.《燕京歲時記》春聯. Wikisource. https://zh.wikisource.org/wiki/燕京歲時記
- 教育部.《重編國語辭典修訂本》, 春聯 and 橫批 entries, 2021. https://dict.revised.moe.edu.tw/
- 中国楹联学会. 通用对联(七字联). 学习强国, 25 Jan 2019 (23 couplets). https://article.xuexi.cn/html/10128976831355988498.html
- 人民日报. 春联——全民的诗意表达(人文茶座), 9 Feb 2025 (生意兴隆通四海). http://paper.people.com.cn/rmrb/pc/content/202502/09/content_3005…
- 新华网. 【实用】鸡年春联大全给你准备好了(简繁对照版), 23 Jan 2017 (5 couplets). http://www.xinhuanet.com/politics/2017-01/23/c_129458791.htm
- 人民网. 春联的记忆, 17 Feb 2018 (天增岁月人增寿). http://society.people.com.cn/n1/2018/0217/c1008-29825434.html
- 中国新闻网. 春节的由来与习俗, 24 Jan 2009 (书山有路勤为径). http://www.chinanews.com.cn/cul/news/2009/01-24/1541264.shtml
- 央视网. 对联写作的基本要求, 13 Jan 2006 (生意如同春意美). https://big5.cctv.com/gate/big5/www.cctv.cn/culture/special/C1513…
- 人民网山西频道. 品浓浓年味 贺新春佳节, 14 Feb 2024 (春回大地千山秀). http://sx.people.com.cn/n2/2024/0214/c189134-40746115.html
- 中国新闻网. 除夕来临:一顿团圆饭,一个团圆年, 24 Jan 2020 (爆竹声中辞旧岁,腊梅笑里迎春光). https://www.chinanews.com.cn/cul/2020/01-24/9068578.shtml
- 中国新闻网海南. 春节饰品热 椰城年味浓, 16 Jan 2024 (福星高照全家福,春光耀辉满堂春). https://www.hi.chinanews.com.cn/hnnew/2024-01-16/697276.html
- 教育部.《重編國語辭典修訂本》, headwords used as banners (萬象更新, 春回大地, 五福臨門 and 19 more), looked up 18 Nov 2026. https://dict.revised.moe.edu.tw/
What can make this go out of date
- none at runtime — the couplet pool and its tone table are static text served with the page