Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Mandarin Helper

p-of-g-given-hp-of-g-given-h33 downloads

Displays Hanzi characters with their Pinyin transliteraions and offers convenient dictionary lookup.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Mandarin Helper is an Obsidian community plugin for reading and looking up Chinese text inside your notes.

It adds pinyin above Hanzi in reading and editing views, colorizes tones, and provides a built-in dictionary lookup popup that works from the keyboard or the sidebar.

Features

Hanzi Annotation

annotation example

  • Render pinyin transliterations above Hanzi in reading mode
  • Show pinyin annotations directly in the editor
  • Color Hanzi and pinyin by tone
  • Adjust the display scale for Hanzi and pinyin
  • Download and load a local dictionary from a configurable source
  • Look up the current selection or, if nothing is selected, the current line

Dictionary Lookup

This plugin supports loading dictionaries in a CEDICT compatible format. After installation, provide the URL of the raw dictionary and press "Download" in the settings. URLs for English-Chinese and German-Chinese dictionaries are pre-provided.

dictionary example

  • Open dictionary results from:
    • the Dictionary Lookup command
    • a configurable hotkey
    • the sidebar ribbon button with the book-a icon
  • Copy Hanzi, pinyin, or translations from the popup with one click

Dictionary lookup searches against:

  • Hanzi
  • normalized pinyin
  • normalized translation text

Matches are shown in a popup with:

  • Hanzi
  • pinyin
  • translations

Each segment in the popup is clickable. Clicking a segment copies its contents to the clipboard, closes the popup, and shows feedback about what was copied.

If no text is selected when lookup is triggered, the plugin falls back to the current editor line and strips common Markdown syntax such as headings, list markers, checkboxes, and links before searching.

Settings

Mandarin Helper currently provides these settings:

  • Display Pinyin
  • Colorize by tone
  • Dictionary source
  • Increase font size
  • custom colors for tones 1 through 5

The dictionary source field is empty by default.

Use the English or German button in settings to fill in a preset dictionary URL, or paste your own source manually. The Download button fetches the dictionary and stores it locally for the plugin. The source can point directly to a .u8 file or to a .zip archive that contains one.

Installation

Manual installation

Desktop

Copy these files into your vault at:

.obsidian/plugins/mandarin-helper/

Files:

  • main.js
  • manifest.json
  • ranking.json
  • styles.css

Then reload Obsidian and enable Settings → Community plugins → Mandarin Helper.

Android

To install the plugin manually on Android:

  1. Download or copy these files to your Android device:

    • main.js
    • manifest.json
    • ranking.json
    • styles.css
  2. Open your vault folder in an Android file manager. This is the folder that contains your notes and the hidden .obsidian directory.

  3. If needed, enable hidden files in the file manager so .obsidian is visible.

  4. Create this folder inside the vault if it does not already exist:

    .obsidian/plugins/mandarin-helper/

  5. Copy the four plugin files directly into that folder.

  6. Fully close and reopen Obsidian on Android.

  7. In Obsidian, go to Settings → Community plugins, disable safe mode if needed, and enable Mandarin Helper.

If the plugin does not appear, make sure the folder is named exactly mandarin-helper and that the files are not inside an extra nested folder from the archive extraction.

Development

Requirements

  • Node.js 18+
  • npm

Setup

npm install

Start watch build

npm run dev

Production build

npm run build

Run tests

npm test

Lint

npm run lint

Project Structure

src/
  commands/      # command registration and lookup triggering
  editor/        # editor decorations for pinyin and tone coloring
  hanzi/         # Hanzi annotation helpers
  rendering/     # reading-view post processing
  ui/            # modal UI for dictionary lookup
  dictionary.ts  # dictionary parsing, normalization, matching
  main.ts        # plugin lifecycle
  settings.ts    # settings model and settings tab

Notes

  • The plugin is intended to work offline after the dictionary has been downloaded.
  • Dictionary data is stored in the plugin's data directory inside .obsidian/plugins/mandarin-helper/data/.
  • ranking.json is a bundled plugin asset and should be shipped alongside main.js, manifest.json, and styles.css when publishing releases or installing manually.
  • The plugin is currently marked as mobile-compatible in manifest.json.

Third-party libraries

Mandarin Helper uses pinyin-pro for Hanzi-to-Pinyin conversion and related pinyin normalization. pinyin-pro is created by zh-lx and distributed under the MIT License.

See THIRD_PARTY_NOTICES.md for the full license notice included for this dependency.

License

0BSD

83%
HealthExcellent
ReviewCaution
About
Annotate Chinese text with pinyin above Hanzi in both reading and editing views and colorize characters and pinyin by tone. Look up words with a CEDICT‑compatible dictionary popup from the keyboard or sidebar, download local dictionaries, and copy Hanzi, pinyin, or translations with one click.
AnnotationLanguagesEditing
Details
Current version
1.0.0
Last updated
Last month
Created
Last month
Updates
1 release
Downloads
33
Compatible with
Obsidian 1.2.3+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
p-of-g-given-hp-of-g-given-h
github.com/p-of-g-given-h/
GitHubp-of-g-given-h
  1. Community
  2. Plugins
  3. Annotation
  4. Mandarin Helper

Related plugins

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

Easy Typing

Auto format when typing.

LanguageTool

Unofficial integration of the LanguageTool spell and grammar checker.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Outliner

Work with your lists like in Workflowy or Roam Research.

Various Complements

Complete words similar to auto-completion in an IDE.

Creases

Tools for effectively folding Markdown sections.

Image Converter

Convert, compress, resize, annotate, markup, draw, crop, rotate, flip, align, drag-resize, rename with variables, and batch process images: WEBP, JPG, PNG, HEIC, TIF

LanguageTool Integration

advanced spell/grammar checks with the help of language-tool.