Anki Cloze Syntax Checker
Check Anki cloze braces, indices and empty answers, then preview each card as plain text.
Input
Editable English syntax example.
Result
Run immediately with the editable example.
Supported syntax and processing
Inspect closing markers, index lists and empty answers before moving a cloze sentence into Anki, and see which deletions share a card.
Use {{c1::answer}} or {{c1::answer::hint}}. Repeated indices hide together on one card. Lists such as {{c1,2::answer}} assign a deletion to several cards. Nested answers are interpreted recursively; an active outer deletion hides its entire contents.
Input example
The example hides Seoul for c1 and Tokyo for c2. Card 1 reads [city] and Tokyo are capitals.; card 2 reads Seoul and [city] are capitals. Changing c2 to c1 leaves one card index that hides both cities together.
Supported range and boundaries
Local limits are 20,000 source characters, 100 clozes, 20 distinct indices, 3 nesting levels and indices c1–c999. Nesting inside hints is unsupported. HTML, MathJax, audio and images are not rendered or executed. Card templates, extra fields, version-specific rendering and collection repair are outside the check.
Inputs and results stay in your browser. They are not saved or put in URLs or analytics. Leaving or refreshing the page restores the public example.
Frequently Asked Questions
Is repeating c1 an error?
No. Anki hides repeated indices together on one card. This tool groups them in the preview and does not automatically change their numbers.
Can indices skip numbers, such as c1 and c3?
This check does not treat gaps as errors. It provides a notice and a preview for each distinct index so you can confirm your intent.
Does this repair empty Anki cards or databases?
No. It only checks supported syntax in the pasted source. It does not connect to Anki files or accounts; manage empty cards and collection repair in Anki itself.
Calculation criteria and reference materials
- Anki Manual — Cloze Deletion
Reference for repeated-index grouping, hints, nesting and index lists. The plain-text preview is not the Anki renderer.
Verification of calculation criteria: · Calculation·verification principles · Report errors