Purpose
Automatically adds pitch accent information to cards.
Basic Usage
β Tools β Pitch Accent β bulk add

β‘ Choose a deck
β’ Select a note type (is skipped if whole deck is one note type)
β£ Select the field containing the Japanese expression

β€ Select the field containing the reading
β₯ Select the field to which the pitch accent info will be added
β¦ Done

Result

Additional Features
Add, edit, or remove pitch annotations of single cards with the card editor's pitch accent buttons.
β
Annotations sync to mobile (e.g. AnkiDroid) as well as AnkiWeb

Annotations are customizable via CSS

You can also use CSS to remove the divider line.
For details, look at the styling documentation on Github.
If youβre using night mode, use the following style to invert the pitch accent color.
.nightMode svg.pitch {
filter: invert(1);
}
Limitations
β Does only support words (and some expressions), but not whole sentences.
β‘ If the field in a card with the Japanese expression contains additional text, pitch accent lookup might fail (e.g. β<ζ°ε>ι β in a card for the counter of large animals).
β’ When an expression has several possible readings (e.g. ζ±γ) the script tries to determine which one is used by inspecting the reading field of the card. This does not always work.
Report Issues & Make Suggestions
β GitHub
Changelog
(details: source code)
2026/10/07 -- List decks in alphabetical order. (Thanks snow1555)
2026/09/14 -- Fix pitch adding in card editor on Anki 26.08 upwards. Make it more easy to style/hide the divider line (*only applies to annotations added with this or later versions; details here)
2023/05/07 -- Add function to automatically set single pitch. Make add-on Qt6 compatible. Various stability, performance and UI improvements.
2022/03/26 -- Fix bugs concerning functionality to manually add/edit/remove annotations. (Thanks kclisp)
2022/01/23 -- Update pitch accent DB (from roughly 100k to 200k entries).
2021/08/22 -- Add cancel buttons to selection dialogs.
2021/01/26 -- Add support for successive bulk adding of annotations to different fields of notes.
2020/10/05 -- Add functionality to manually add/edit/remove annotations.
2020/08/02 -- Make code compatible with new Anki 2.1.29 DB schema.
2019/09/22 -- Add support for multiple note types within a single deck.