Chinese immersion made easy

Mogao is a mobile-first EPUB reader and video player with instant dictionary lookups, vocabulary-aware highlighting, and Anki flashcard creation.

No account required.

Mogao reader showing Chinese text and a dictionary popup with pinyin, definitions, and an add-to-Anki button.

Dictionary and vocabulary
tools built into the reader

Tap Chinese text to inspect words and turn them into flashcards without leaving the current chapter.

Instant dictionary lookups

Tap a word to see its definitions, pinyin, and frequency information. Mogao can also generate dictionaries for rare or book-specific vocabulary.

Automatic i+1 sentence detection

Mogao compares the text with your known vocabulary, highlights i+1 sentences, and calculates vocabulary coverage for the current chapter.

Anki flashcard creation

Create Anki cards with one tap, using the selected word and its source sentence. Optional processing can add pinyin, translations, and audio.

Your library, on your server

Self-host Mogao on your own computer or server. Your books, vocabulary, flashcards, and reading progress stay under your control, with no account or subscription fee.

Mogao video player with interactive Chinese subtitles in a transcript beside the video.
Mogao’s video player with an interactive subtitle transcript.

Learn Chinese through video

Interactive subtitle lookups

Tap any word in the subtitles or transcript to see its definition, pinyin, and frequency information.

Subtitles or synchronized transcript

Follow subtitles below the video or switch to a scrollable transcript. Select a timestamp to jump directly to that line.

Media-rich Anki cards in one tap

Create a card from any subtitle word. Mogao captures the full subtitle line, matching audio clip, and a video screenshot.

Dictionaries tailored to each video

Mogao can generate a supplemental dictionary from the subtitles, covering names, rare terms, and vocabulary missing from the built-in dictionary.

How Mogao works

Mogao runs on your computer, server or even a Raspberry Pi and connects to Anki through AnkiConnect. You add your own EPUBs or videos and read or watch them in a browser. You can open Mogao on the computer where it runs or from another device - Mogao was made to work particularly well on mobile devices.

Tapping a word shows its definition and pinyin. Mogao includes a dictionary based on CC-CEDICT; you can use a compatible dictionary of your own if you want to. Optionally, Mogao can use an LLM to analyze the book or subtitles and add entries missing from the dictionary like proper nouns, slang or rare words.

When you create a card (it takes just one tap!), Mogao sends the word, definition, pinyin, and source sentence directly to Anki, then requests a sync. There is no manual export; your new cards are immediately available on all your devices where you use Anki. For a video card, it also attaches a screenshot and a clip of the original audio. If enabled, a local or online LLM can add a translation and pinyin for the sentence, and ElevenLabs can generate sentence audio.

Why I built Mogao

When I started learning Chinese, I was using a popular browser extension, Yomitan, to look up words and sentence mine while reading. It's a great tool, but I soon realized that I didn't enjoy reading on my PC, and the amount of time I spent doing it was very low. I also noticed that I had no issues mindlessly scrolling on my phone while lying in bed for hours. I realized I could solve both issues at the same time.

Unfortunately, Chrome on Android doesn't let users install extensions, so I decided to make my own app. I soon decided to make it a website running on a server to avoid potential issues with connecting Anki to it directly on the phone and to make it universally accessible across all of my devices.

Immediately after switching to using Mogao, the amount of Chinese I read increased dramatically. It took me 39 days to make as many flashcards as I did in the previous nine months. A month later, I started wishing I had a tool as nice for watching videos on my iPad, so I added this functionality to it, too.

Mogao started as a private project I made for myself. I used it every day for months, and I still do. Eventually, I decided to open-source it because I thought it might be useful to other people, too.

Where the name comes from

Mogao is named after the Mogao Caves (莫高窟). One interpretation of Mogao is “none higher,” or “peerless”: 莫 (mò) means “none,” and 高 (gāo) means “high.” I wanted to build the best tool for my own needs, so that meaning felt fitting. Coincidentally, “Mogao” starts with “mog,” which in English means “to look or perform far better than someone else.”

Demo and installation

What can I do in the demo?

Try reading, video playback and dictionary lookups. Uploads require the full app, and demo flashcards are not sent to Anki.

Does the demo save my data?

Your vocabulary choice, progress, and demo cards stay in this browser tab. Use Reset for a fresh start; starting a new demo from this page also clears the previous demo session.

How do I use my own books and videos?

Install Mogao on your own computer or server, then open it in your browser. The setup guide walks through Python, configuration, and optional integrations with Anki and AI services.

Read the setup guide →
Which Chinese characters are supported?

Currently, only Simplified Chinese characters are supported. Traditional Chinese character support will be added in the future.

Is Mogao free?

Yes. Mogao is open source under the MIT license. You can run it yourself. AI and audio integrations are optional and whether they cost anything depends on the provider you use. You can use local models or free APIs to keep the cost at zero. You can also disable these features. It's entirely up to you.

Does Anki need to be running?

Yes, if you want to create flashcards. If you disable Anki integration, you can still read, watch videos and look up words, but you won't be able to create cards.

Explore Mogao’s reading and video tools

Try the demo