Hanzi Grid
An Anki add-on that shows every Chinese character, or every word, in your
decks on one screen, grouped by HSK level and coloured by how well you know
it, with a progress bar for each level.

Features
-
One tile per character, coloured by your best card containing it:
| Colour |
Meaning |
| outline |
not studied yet (never answered) |
| yellow |
learning / relearning |
| light green |
young (in review, interval under 21 days) |
| dark green |
mature (interval 21 days or more) |
| deep teal with a gold line |
well known (interval 45 days or more, and the last 2 reviews answered correctly) |
| gold on deep green |
mastered (interval 90 days or more, and the last 3 reviews answered correctly) |
The interval is the one your last answer gave the card, so moving a card
with Set due date doesn't make it mature, and a card put into review
that way without being answered still counts as not studied. A forgotten
card drops back to learning; after that it needs 2 correct reviews in a
row again to be well known, and 3 to be mastered. Suspended cards are ignored, so suspending
a card with a mistake stops it colouring its characters.
A character takes the best colour among all cards whose word contains it,
so 学 turns green once you know 学习 or 学生.
-
Five views. Characters groups by the official HSK 3.1 character
list (or by your deck's word levels; see below). Words shows one tile
per word, grouped by the words' own HSK levels, which is what the exam
actually counts: HSK 1–5 from the official HSK 3.1 word list (official
words your decks lack show as dashed tiles, so every level has its full
count), higher levels from the note's level field. Measure words groups words by the classifier they
take (本 → 书, 课本, 杂志 …; from CC-CEDICT), by level inside, with the
measure word's own tile and progress bar; or by level first. Hover boxes
in every view show a word's measure word. Grammar lists the grammar points of each level (from
the Chinese Grammar Wiki, with links), each with a short note and
example sentences; the tile next to each point shows how well you know
its key character or word (过, 着, 的, 得, 地, 把, 被 …), and a
checkbox to tick once you've mastered it, with "12 / 40 mastered"
per level and a To do filter for what's left. Reading:
paste any Chinese text and see every character coloured by your status,
"78 % of characters / 75 % of words studied", and the words you haven't
studied listed by level, each a click away from its card. Nothing leaves
your computer.
-
Summary on the deck list: one bar per level under Anki's deck list,
with "+N this week" and an Open link. Turn it off in Settings.
-
Five looks, switched instantly from the Look menu at the top
right of the grid (or Settings → Look), and remembered:
Modern (default: flat, rounded, a green scale), Seal (the classic
look with ink blue for well known and a red seal stamp 印章 for
mastered), Ink (ink shades on paper, a small red seal on mastered),
Clear (a colour-blind-safe yellow → purple ladder) and Classic
(the original).
-
Hanzi font and size, next to Settings: Font 黑 宋 楷 switches
every hanzi between the three styles you meet when reading, Hei 黑体
(sans: apps, websites, signs), Song 宋体 (serif: books, newspapers,
exam papers) and Kai 楷体 (brush: textbooks, stroke order,
handwriting); Size S M L. Both switch instantly and are remembered.
-
Simplified or traditional, next to Font: 简 繁 shows every hanzi
in the grid (tiles, hover boxes, character pages, measure words,
grammar examples) in simplified, as in your decks, or in traditional
characters, Taiwan standard (頭髮, 這裡, 為什麼), in Taiwan's fonts.
Words are converted as words, so 头发 becomes 頭髮, not 頭發; hovering a
character with several traditional forms (发 → 發 / 髮) lists them. Only
the display changes; levels and statuses still come from your
simplified cards. The Reading view and the Find box accept traditional
text as well as simplified, in either mode.
-
Progress bars for each level and for all levels together, with
"studied", "mature", "well known" and "mastered" numbers, and "+N this week" for
what you started in the last 7 days.
-
Hover a tile to see its pinyin and meaning.
-
Click a character to open its page: every word that contains it,
grouped by level and coloured by status, with its own progress bar. Click
a word there, or in the Words view, to see the answer side of its card in
Anki's own preview window. Shift+click to find the cards in the
Browser.
-
Next up: under each level, the first characters or words you haven't
studied yet, in deck order.
-
Weak marks: a red dot on tiles you keep forgetting (3 lapses or more;
adjustable).
-
Show filter (not studied, in progress, mature+, weak) and a Find
box: matches get a yellow ring, levels without a match are hidden, the
page jumps to the first match, Enter / Shift+Enter step through them
("3 / 52"), Esc clears.
-
Settings window to choose decks, level source, fields and the mature,
well known, mastered and weak thresholds.
-
Read-only: the add-on never changes your cards or notes.








Card shown: from the Anki-xiehanzi deck.
Install
From AnkiWeb: in Anki, open Tools → Add-ons → Get Add-ons…, paste
the code 967323486 and restart Anki
(add-on page).
From a file: download hanzi_grid-<version>.ankiaddon from the
Releases page,
double-click it (or use Tools → Add-ons → Install from file…) and
restart Anki.
Requires Anki 24.06 or newer on desktop (Windows, macOS, Linux). Add-ons
don't run on AnkiMobile, AnkiDroid or AnkiWeb.
Quick start
Once it's installed:
- In Anki's main window, open Tools → Hanzi Grid.
- Click ⚙ Settings at the top right of the grid, tick your Chinese
deck(s), choose the fields that hold the word, pinyin and meaning, and
click Save. The grid reopens with your characters. (Using the
Anki-xiehanzi deck? The
defaults already fit it, so you can skip this step.)
Use
- Tools → Hanzi Grid.
- Hover a character to see its pinyin, meaning and status. They come from
the character's own card (学) if your decks have one, otherwise from the
lowest-level word that uses it (学生, with 学 highlighted).
- Click a character to open its page: all the words that contain it, by
level. Click a word there to preview the answer side of its card; press
> (or Right arrow) for the next word, < (or Left arrow) to go
back. Open all cards steps through every word. Esc closes the page.
- Switch to Words with the View buttons: one tile per word, grouped
by the words' HSK levels. Click a word to preview its card.
- Shift+click any tile to open the Browser with its cards.
- Use Show to see only what you haven't studied, what's in progress,
what's mature, or what's weak, and Find to look for a character or
word (typing 学生 in the Characters view shows 学 and 生).
- Use the Levels buttons to switch where character levels come from,
and ⚙ Settings for everything else.
Colours are worked out each time the grid opens, so reopen it after
reviewing.
Settings
Click ⚙ Settings in the grid, or select Hanzi Grid in
Tools → Add-ons and click Config.

| Setting |
What it does |
Default |
| Decks |
Decks to count. Subdecks are included. Tick nothing to count every deck. |
Anki xiehanzi |
| Levels |
Official HSK 3.1 list, or from your decks' words. |
Official HSK 3.1 list |
| Word field |
The field with the Chinese word (simplified characters). |
Simplified |
| HSK level field |
The field with the word's HSK level, e.g. HSK 3. Used for character levels with "from my deck's words", and for word levels not on the official HSK 1–5 word list. |
HskLevel |
| Pinyin field |
Shown when hovering a character. |
Pinyin |
| Meaning field |
Shown when hovering a character. If it's empty for a word, the second meaning field is used. Long meanings are cut at 120 characters. |
SimpleMeaning, then Definitions |
| Mature from |
Interval in days from which a card counts as mature. |
21 days |
| Well known from |
Interval in days from which a card counts as well known (kept between the mature and mastered values). Also needs the last 2 reviews answered correctly. |
45 days |
| Mastered from |
Interval in days from which a card counts as mastered (at least the mature value). |
90 days |
| Weak from |
How often you must have forgotten a card (lapses) for its tile to get a red dot. |
3 lapses |
| Show a progress summary on the deck list |
The small bars under Anki's deck list. |
on |
| Look |
Modern, Seal, Ink, Clear or Classic. Also in the Look menu in the grid. |
Modern |
| Hanzi font |
Hei 黑, Song 宋 or Kai 楷. Also the Font switch in the grid. |
Hei |
| Hanzi size |
Small, Medium or Large. Also the Size switch in the grid. |
Medium |
The defaults fit the Anki-xiehanzi
"New HSK (2025)" deck. For other decks, pick your deck and its field names.
config.md describes the stored settings keys.
Where the character levels come from
You choose between two sources. The grid always says which one is active.
Official HSK 3.1 list (default)
Each character's level is its level in the official character list of the
2025 HSK syllabus (新版HSK考试大纲, December 2025). "HSK 3.1" is an
unofficial name for that 2025 version, used to tell it apart from the 2021
HSK 3.0 syllabus.
The list has 3,088 characters: 246 (HSK 1), 125 (HSK 2), 284 (HSK 3),
441 (HSK 4), 431 (HSK 5), 413 (HSK 6) and 1,148 (HSK 7–9). Characters on the
list that no word in your decks uses are still shown, as "not studied".
From my deck's words
These are not official HSK character levels. They are worked out from
the word levels in your decks with the rule below, and can differ from the
official character list.
Rule: a character's level is the lowest HSK level of any word in the
chosen decks that contains it.
- Take every note in the chosen decks.
- Read the word from the word field and the level from the HSK level field.
The level is the first number in that field, so
HSK 7+ counts as 7.
Notes with no number in the level field are skipped for this step.
- Every character in the word gets that level as a candidate, and keeps
the lowest level it gets from any word.
Examples from the xiehanzi deck: 校 is HSK 1 (from 学校), 然 is HSK 2 (from
虽然), 展 is HSK 3 (from 发展).
The level says where your deck first teaches a word containing that
character, not how hard the character is on its own. Another deck, or
another version of the HSK word lists, can give different levels.
How close are the two?
With the xiehanzi "New HSK (2025)" deck, the rule gives the same level as
the official list for 3,079 of the 3,088 official characters:
- 3 characters get a different level: 店 (official HSK 2, but in the HSK 1
word 商店), 饺 (official HSK 3, but in the HSK 1 word 饺子) and 留
(official HSK 2, but first in the HSK 3 word 留学). The syllabus itself is
inconsistent here.
- 6 official characters appear in no word in the deck: 著 糊 劈 溜 猛 脊.
Word levels
With the official list (the default), a word on the official HSK 3.1 word
list for levels 1–5 gets its level from it: 300, 200, 500, 1,000 and 1,600
entries (3,600 in all; a few are listed twice for different readings, like
得 dé and de, and 没(有) covers both 没 and 没有). Official words your
decks don't have, or have only suspended, appear as dashed tiles you can't
click, so you can see what's missing. Other words (HSK 6 and up, or not on
the list) keep the level from the note's level field.
The xiehanzi "New HSK (2025)" deck already follows this list: it has every
HSK 1–5 word, at the same level. 模糊 and 著名 are in it with the level
field empty, and 模糊 is spelled 模煳; Hanzi Grid still matches them.
With "From my deck's words", every word's level comes from its level field.
Other
Characters you've studied that have no level are shown under Other.
Problems or ideas?
Open an issue at https://github.com/bpachniewsk1/anki-hanzi-grid/issues. Please include your Anki version
(Help → About) and, if there was an error window, its text.
Privacy
Hanzi Grid works offline. It sends nothing anywhere, collects no data and
only reads your cards and notes. It writes two things: its own settings, in
meta.json in the add-on folder (Anki's usual place for add-on settings),
and the list of grammar points you've ticked, saved in your collection's
settings under hanziGridGrammarDone so it syncs with AnkiWeb like the rest
of your collection.
Known limits
- Only simplified characters are counted (whatever the word field holds);
traditional is a display option, converted from simplified.
- The official word list is bundled for HSK 1–5 only; HSK 6 and 7–9 word
levels come from the notes' level field.
- Only one word field can be picked in Settings (the stored setting accepts
a list).
- In the Settings deck list, subdecks of a ticked deck show as unticked but
are counted.
- The Grammar view's levels follow the Chinese Grammar Wiki's bands (A1 =
HSK 1 … C1 = HSK 6–9); the official HSK 3.0 grammar syllabus may place a
point differently.
- The preview window builds on internal parts of Anki's own previewer, so a
future Anki version may need a small update.
For developers
| File |
What it is |
__init__.py |
Adds Tools → Hanzi Grid, builds the grid in the background, shows the window. |
grid_data.py |
Reads notes and cards and builds the groups. No user interface code, so it can be tested outside Anki. |
previewer.py |
The preview window, a small subclass of Anki's own card previewer. |
deck_widget.py |
The summary under the deck list (built in the background and cached). |
themes.py |
The Modern, Seal, Ink, Clear and Classic looks: status colours and the CSS layered on the base style. |
data/grammar/ |
The grammar points and notes for the Grammar view; see SOURCE.md there. |
data/classifiers/ |
Which measure word each word takes, from CC-CEDICT; see SOURCE.md there. |
settings.py |
The Settings window, built from standard Qt widgets. |
config.json / config.md |
Default settings and a description of each key. |
manifest.json |
Name, version and minimum Anki version, read when installing a .ankiaddon file. |
data/hsk3.1/ |
Official HSK 3.1 character and word lists, one file per level, with their source and license. |
data/traditional/ |
The simplified → traditional table, made from OpenCC by tools/make_traditional.py; see SOURCE.md there. |
build_ankiaddon.py |
Builds the .ankiaddon package into build/. |
Try local changes: link this folder into Anki's add-on folder and restart
Anki after each change (on macOS):
ln -s "$PWD" ~/Library/Application\ Support/Anki2/addons21/hanzi_grid
Build the package:
python3 build_ankiaddon.py
Tested with Anki 25.09.4. The Anki functions it uses were checked to exist
unchanged in Anki 24.06.3, 24.11 and 25.02.7.
See CHANGELOG.md for changes between versions.
License and credits
Hanzi Grid is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License, version 3 or later
(the same license as Anki). See LICENSE.
Copyright © 2026 bpachniewsk1.
Bundled data: the HSK 3.1 character lists in data/hsk3.1/ come from
"More than enough Hanzi" by Rebecca J.
Stones, © 2025, licensed under
CC BY-SA 4.0, copied
unchanged. Those files stay under CC BY-SA 4.0; see
data/hsk3.1/SOURCE.md.
The simplified → traditional table in data/traditional/traditional.json
was made from the dictionaries of OpenCC
(Open Chinese Convert) by Carbo Kuo (BYVoid) and contributors, licensed under the
Apache License 2.0. See
data/traditional/SOURCE.md.
The measure-word data in data/classifiers/classifiers.json was
extracted from CC-CEDICT, licensed under
CC BY-SA 4.0; the file
keeps that licence. See
data/classifiers/SOURCE.md.
The Grammar view's list of grammar points (titles and links in
data/grammar/index.json) comes from the
Chinese Grammar Wiki
by AllSet Learning, licensed under
CC BY-NC-SA 4.0. The
notes and example sentences in points.json were written for Hanzi Grid;
see data/grammar/SOURCE.md.
Inspired by the character overview in Duolingo's Chinese course and by the
Kanji Grid add-on for Anki. Hanzi Grid is written from scratch and isn't
affiliated with or endorsed by either. It also isn't affiliated with the
organisers of the HSK exam. "HSK" is used only to describe the levels.