Add furigana above Japanese kanji
Learners and editors often need hiragana readings above kanji. This annotator wraps your text in standard HTML ruby markup, placing furigana above each recognized kanji or compound so the preview reads like a graded reader.
How it works
The text is scanned for the longest dictionary match first, then single kanji:
日本語 → <ruby>日本<rt>にほん</rt></ruby><ruby>語<rt>ご</rt></ruby>
- Multi-kanji compound words in the table are matched before single kanji, so common words get their correct combined reading.
- Recognized kanji are wrapped in a
rubyelement with anrtreading. - Hiragana, katakana, punctuation, and unknown kanji pass through unchanged.
Notes and limitations
Japanese kanji are highly polyphonic — 生 alone has many readings (せい, しょう, い, う, なま, き) chosen by the surrounding word — so a lookup table cannot be perfect. The annotator prefers compound-word matches to reduce errors and shows the most common reading otherwise. Treat the output as a strong draft and proofread anything important. All processing happens in your browser.