Cangjie input lookup. Enter Hanzi to see the Cangjie5 code as letters, radical glyphs and a key sequence — or reverse it: type a code or pick radicals to find the matching characters. Browser-only, zero tracking.
Cangjie Input Code Lookup (倉頡)
How to use
Pick a direction
Toggle between two modes at the top: "Char → Cangjie" looks up codes from characters, "Cangjie → Char" finds characters from a code. The input clears when you switch.
Enter characters or a code
For forward lookup, drop in one or more Hanzi (paste rare characters too). For reverse lookup, type the letter code (a–z), or click the radical keyboard below to spell the code key by key.
Click "Look Up"
Forward mode builds one card per character showing the letters, radical glyphs and the key sequence; reverse mode lists every character whose Cangjie code matches exactly. In reverse mode just press Enter.
Read the radicals and keys
Each letter maps to one radical (h→竹, q→手, i→戈…); the key-sequence cards show letter and radical together, so you can check your Cangjie decomposition while practising the input method.
Cangjie Input Lookup: Characters to Codes and Back Again
Cangjie (倉頡) is one of the oldest and most influential shape-based Chinese input methods, invented by Chu Bong-Foo in 1976. It decomposes every character into up to five radicals (字根), each mapped to a letter from a to z on the keyboard — 明, for instance, splits into 日 (a) and 月 (b), giving the code "ab". Unlike pinyin input, which relies on how a character sounds, Cangjie keys off how a character looks. That means you can type a character you can't even pronounce, as long as you can see its structure — which is exactly why Cangjie remains a staple for traditional-Chinese typesetting and among experienced users in Hong Kong and Taiwan. This tool exists to check that encoding both ways: paste a character to get its Cangjie code, or work backwards from a code to the characters.
The tool runs in two directions. Forward (Char → Cangjie): enter one or more Hanzi and each produces a result card showing three forms at once — the letter code (e.g. "hqi"), the radical glyphs (e.g. 竹手戈), and a per-key sequence with the letter and radical paired on each keycap, so you can see exactly how the character decomposes and what to press. Reverse (Cangjie → Char): type a letter code, or click the built-in radical keyboard to spell the code key by key, and the tool lists every character whose Cangjie code matches exactly — useful for learning decomposition, spotting duplicate-code (重碼) characters, or verifying which character a given code actually produces. Many characters also carry a short code (簡碼), and the card lists those too.
Where the code table comes from
None of the codes are invented. They come from a public, open-source code table: this tool uses the cangjie5 table from the Rime input engine (the rime-cangjie project), a community-maintained, freely usable fifth-generation Cangjie scheme — not the trademark-protected 王碼 or any commercial build. The whole lookup is fully deterministic: the same character always returns the same code, with no random generation and no online model or server call — the table is downloaded once and cached locally in your browser. One caveat: Cangjie has gone through several versions (3rd, 5th and others), and they can decompose certain characters differently; this tool uses cangjie5, so a few variant characters, newly coined characters or extension-block rarities may simply have no code on record — that's expected.
"Not by sound but by shape — if you can see it, you can type it." That is the essence of Cangjie.
Who uses it
The use cases are broader than you'd expect. Cangjie learners check their decomposition in real time and confirm whether they split a character correctly. Experienced Cangjie typists recover the code for a rare character, or one they haven't typed in years. Traditional-Chinese typesetters and editors verify codes while proofreading, building custom glyphs, or handling variant forms. Input-method developers and researchers use the reverse lookup to inspect duplicate codes and study the distribution of the table. And anyone simply curious about character structure can use the char ↔ code ↔ radical mapping to see, concretely, how Hanzi are taken apart. Everything runs locally in your browser — whatever you type is never uploaded, stored, or tracked. This is a pure utility lookup, with no fortune-telling or character-divination component whatsoever.
10 Facts about Cangjie Input
Cangjie was invented by Chu Bong-Foo in 1976. First called the "form-meaning method", it was renamed after Cangjie, the legendary scribe said to have created Chinese characters — one of the earliest practical shape-based input methods.
Cangjie breaks each character into at most five radicals, mapped onto the a–z letter keys — encoding by shape, not by sound.
The radicals are grouped logically: a–g are "philosophical" (sun, moon, gold, wood, water, fire, earth), h–n are "strokes", o–r are "body" (person, heart, hand, mouth), s–y are "shapes", and z is special.
Cangjie evolved across generations: the 3rd and 5th editions are the most widespread. They decompose some characters differently, so the version matters — this tool uses cangjie5.
Cangjie is a shape code, not a sound code: you don't need to know how a character is pronounced to type it — only to see its structure. That makes it more reliable than pinyin for rare and variant characters.
"Quick" (Sucheng / simplified Cangjie) is a stripped-down variant taking only a character's first and last radical — easier to learn, but with far more code collisions, so you often pick from a candidate list.
Chu Bong-Foo chose not to patent the Cangjie decomposition rules, making it a free and open input standard — which is why open-source projects like Rime can ship the cangjie5 table freely today.
A single Cangjie code can map to several characters — a "code collision" (重碼). This tool's reverse lookup lists every candidate under a code, so you can see exactly which characters clash.
Cangjie has long held a central place in traditional-Chinese computing in Taiwan and Hong Kong; many professional typesetters, publishers and veteran users still prefer it, valuing its coverage of uncommon characters.
Cangjie, Wubi, Zhuyin and pinyin represent different philosophies of input: Wubi is also shape-based but decomposes differently, while Zhuyin and pinyin are sound-based. Learning Cangjie illuminates the whole logic of taking Hanzi apart by shape.
Frequently Asked Questions
-
Cangjie is a shape-based Chinese input method invented by Chu Bong-Foo in 1976. It splits each character into up to five radicals, mapped onto the a–z letter keys — input by shape, not by sound. You can type a character you can't pronounce, as long as you can see its structure.
-
They are two views of the same code. The "letters" are the keys you actually press (e.g. hqi); the "radicals" are the component glyphs those letters stand for (h→竹, q→手, i→戈, i.e. 竹手戈). This tool shows both, plus a per-key letter+radical card.
-
Yes, in forward mode. Paste multiple characters and the tool builds one card per character; duplicates are de-duplicated and shown once. Reverse mode handles one Cangjie code at a time.
-
Switch to "Cangjie → Char" mode, type a letter code (a–z) or click the radical keyboard to spell it, then look up. The tool lists every character whose Cangjie code matches your input exactly — handy for spotting duplicate-code characters and verifying an encoding.
-
The built-in table covers a great many — but not all — characters. Extremely rare characters, some variant forms, or newly coined characters may not appear in the cangjie5 table, in which case it shows "no code". That doesn't mean the character can't be typed in Cangjie — only that this table doesn't list it.
-
The table records, for some characters, a main code plus a "short code" (a shorter auxiliary encoding), or alternates arising from variant forms. The tool lists all of a character's codes, treating the first as the main code and labelling the rest as short codes.
-
This tool uses Cangjie 5th generation (cangjie5), taken from the open-source Rime engine's rime-cangjie table. The 3rd and 5th generations decompose some characters differently, so if your input method uses another generation, a few characters' codes may differ slightly.
-
No. This tool uses the community-maintained, freely usable open-source cangjie5 table (the Rime project), not the trademark-protected 王碼 or any commercial build. Chu Bong-Foo's decision not to patent the decomposition rules is precisely what makes open tables like this possible.
-
No. All lookups run locally in your browser; the code-table file is downloaded once and cached locally, with no server calls. Whether you use forward or reverse lookup, what you type is never uploaded, stored, or tracked.
-
No. This is a pure input-method utility that looks up the mapping between characters and Cangjie codes in both directions, with no metaphysics, character-divination or fortune component. Its only goal is to tell you a character's Cangjie code, or which characters a code produces.
Related News
You may be interested in these recent stories from our newsroom.
-
AWS Commits $1 Billion to Embedded AI Engineers as the Enterprise Fight Shifts to Deployment
AWS has committed US$1 billion to a Forward Deployed Engineering organisation that embeds its engineers inside customer teams, following pri...
-
ByteDance Launches Seedream 5.0 Pro, an Image Model That Outputs Editable Layers
ByteDance has launched Seedream 5.0 Pro, a professional image-generation and editing model that breaks a single render into more than ten ed...
-
Mira Murati's Thinking Machines Releases Inkling, Its First Open-Weight Model
Mira Murati's Thinking Machines has released Inkling, its first model: an open-weight, multimodal Mixture-of-Experts system with 975 billion...