- Translator
- Chinese telegraph code
Chinese telegraph code
Chinese telegraph code represents Chinese characters with four-digit numbers that can be sent in Morse. Look up characters or decode numbers using the mainland and Taiwan tables separately.
Look up Chinese telegraph codes
Your text stays in your browser. The codebook downloads from this site only when you run a lookup.
Enable JavaScript to use the lookup. The examples and guide below remain available without it.
Up to 200 characters or code groups. Whitespace is ignored between characters. Enter codes as 0022 2429 or 00222429; keep leading zeros. No translation or automatic script conversion. Unknown entries show �; alternatives appear in brackets. Playback requires an unambiguous, fully matched result of at most 8 codes.
Mainland code set
Taiwan code set
Data: Unicode Unihan 17.0.0, downloaded 11 November 2026. Unicode license and copyright notice.
How do I look up Chinese telegraph codes?
Choose Chinese characters to codes and paste a short Chinese name or phrase. Press Look up to see separate mainland and Taiwan results, with four-digit groups and an entry for each character. Copy the result for the table you need after checking any missing or ambiguous entries. You can enter up to 200 characters at once; spaces and line breaks are ignored.
Keep the leading zeros. In both tables, 中 has the code 0022. The zeros are part of its four-digit representation; typing 22 does not supply a complete group. The examples below also appear in NJStar’s separate mainland and Taiwan codebooks.
| Character | Mainland | Taiwan |
|---|---|---|
| 一 | 0001 | 0001 |
| 丁 | 0002 | 0002 |
| 中 | 0022 | 0022 |
This Chinese telegraph code translator looks up the characters you provide. It does not translate English into Chinese, supply pinyin, or convert simplified characters to traditional characters. Paste the exact written form you want to check.
Why are mainland and Taiwan codes separate?
Unicode records two properties: kMainlandTelegraph for PRC codes and kTaiwanTelegraph for Taiwanese codes. Both derive from Lin Jinyi’s 1984 Chinese character telegraph code conversion table (Unicode, property definitions).
Some entries agree, as the examples above show. Others associate a number with different written forms. For example, 0052 gives 乱 in the mainland table and 亂 in the Taiwan table (NJStar, mainland 0052), (NJStar, Taiwan 0052).
Read the result panel for the table that matches your source. If you are checking an old document, keep its original characters and code groups together. Comparing the panels does not establish which table the sender used. This tool also does not reproduce every historical codebook edition.
How do I convert a four-digit code back to Chinese?
Choose Four-digit codes to Chinese and enter up to 200 groups. Separate the four-digit groups with spaces or line breaks, such as 0001 0002 0022. You can also enter the compact sequence 000100020022; the tool divides it into consecutive groups of four. In either table, this example returns 一丁中 (NJStar, 00##), (NJStar, 00##).
Do not add commas, hyphens, or commentary to the numeric input. A partial group needs correction before conversion. When copying from a scan, check every digit against the image, especially the zeros at the start. Group boundaries matter: one missing digit in a compact sequence can change all the groups that follow it.
If a group has more than one matching character, the result shows alternatives. It does not silently choose one or combine alternatives into a supposedly certain sentence. Use the original document and its context to resolve the reading. Copying a result preserves the displayed uncertainty; review it before treating it as a transcription.
How were Chinese telegraph codes sent in Morse?
The process had two stages. First, an operator converted Chinese characters into four-digit numbers. Then the numbers were transmitted using standard Morse signals. The receiver reversed those stages to recover the characters (Mullaney, author’s abstract).
Listen to 0022 below. You are hearing four Morse digits representing the lookup code for 中, rather than a single Morse pattern assigned directly to that Chinese character. Count the four digits, including both zeros. The tool can play a fully matched result of up to eight code groups. Playback stays unavailable when a result contains unknown entries or alternatives.
Use the Morse code translator to send another numeric sequence, or compare its digits in the Morse code alphabet. For listening practice, start with learning Morse code by ear. The Morse code numbers guide gives each digit its own example.
Who developed the Chinese telegraph code?
The early code drew on work by H. C. F. C. Schjellerup and Septime Auguste Viguier. The Royal Danish Library holds Septime Auguste Viguier’s Dianbao xinshu, published in Shanghai in 1872. Its catalog describes Viguier’s numerical code as based on the 1871 work of the Dane H. C. F. C. Schjellerup (Royal Danish Library, catalog).
Historian Thomas S. Mullaney likewise credits Schjellerup with developing the 1871 code and Viguier with formalizing it. His account describes characters arranged in dictionary order and assigned four-digit numbers. The numerical stage let operators transmit Chinese writing through the Morse system (Mullaney, author’s abstract).
The method outlasted its nineteenth-century beginnings: Mullaney reports its use well into the 1970s. The Immigration Department’s guide to the Hong Kong identity card labels a field for a name in Chinese Commercial Code, where present (Mullaney, author’s abstract), (Immigration Department, ROP133).
Where does this lookup’s data come from?
The bundled tables use the two telegraph properties from Unicode Unihan 17.0.0, downloaded on 11 November 2026. Unicode classifies these properties as provisional mappings (Unicode 17.0.0, UAX #38). This page identifies its data version so you can check the source behind a result.
The browser downloads the lookup tables when you first use the tool; the text you type stays in your browser. The Unicode license notice linked above accompanies the bundled data.
A missing entry means this table has no mapping for that exact character. The converter marks it instead of inventing a code or borrowing a result from the other table. It covers the Han-character mappings in these two Unihan fields, rather than every symbol or instruction in a full telegraph codebook. Resolve unknown entries against your source before using the copied output.
Follow the equipment behind the transmission in how the telegraph worked.
For the distinction between a message’s language and its signals, see is Morse code a language?.
For a different approach to representing non-Latin writing, compare Japanese Wabun code.
Sources
- Unicode Standard Annex #38: Unicode Han Database, revision 39. Unicode Consortium, Unicode 17.0.0, 21 August 2025; checked 11 November 2026.
- Chinese Telegraphic Code Book for Mainland China. NJStar Software, 23 October 2021; checked 11 November 2026.
- Chinese Telegraphic Code Book for Taiwan. NJStar Software, 23 October 2021; checked 11 November 2026.
- Viguier, S. A. (Waijiye): Dianbao xinshu 電報新書. Royal Danish Library, 1872; catalog checked 11 November 2026.
- Semiotic Sovereignty: The 1871 Chinese Telegraph Code in Global Historical Perspective, author’s abstract. Thomas S. Mullaney, Brill; abstract on the author’s Academia.edu page, 2014; checked 11 November 2026.
- ROP133: Information on the Front of the Hong Kong Identity Card. Hong Kong Immigration Department, October 2025; checked 11 November 2026.