Skip to content

PyGlossary

Converter for offline dictionary files between StarDict, Kobo, Mobi and other formats

Copyleft (OSI) · GPL-3.0
  • Linux

Listed by , founder & editor

70

Health

Active

Overview

Stars

2,717

Last commit

4 days ago

Nov 2026

Repository age

15 years

since Jan 2011

Latest version

5.5.0

Nov 2026

Contributors

–

2 active in 90 days

Releases

6

last 12 months

Language

Python

PyGlossary converts dictionary files, called glossaries, from one format to another. The goal is to let you use offline dictionaries in any open source dictionary app on any device. It reads and writes many formats, including StarDict, DICT.org dictd, Kobo, Mobipocket, QuickDic, Yomichan and Yomitan, and it reads AppleDict, ABBYY Lingvo DSL and EDICT2.

It is written in Python and needs Python 3.12 or higher. It runs on Linux, Windows, macOS, FreeBSD and other Unix systems. You can pick from several interfaces: Gtk3, Gtk4, Qt6, wxPython, Tkinter, a command line, an interactive command line and a web interface. A Flatpak package on Flathub and a Docker image are available.

The project began in 2011, is licensed GPL-3.0, and had six releases in the past year. It does not replace a specific commercial product. It fills the gap when a dictionary you own or download is in a format your reader or app cannot open.

Who it's for

E-reader owners who want custom dictionaries

It writes Kobo dictionary packages and Mobipocket files from other formats.

Skip if: Your device already accepts the dictionary file you have.

Language learners using Yomitan or StarDict apps

It converts between Yomichan or Yomitan packages, StarDict and other formats.

Skip if: You only need a ready-made dictionary and not conversion.

Linux users who script their workflow

The command-line interface and Docker image fit batch conversion.

Skip if: You want a hosted service with no local install.

The problem it solves

Offline dictionaries come in many formats, and the one you have often does not open in the app or device you use. PyGlossary converts between them so you can keep using your dictionary.

Strengths

  • Reads and writes many formats, including StarDict, dictd, Kobo and QuickDic
  • Eight interfaces from Gtk to a command line and a web interface
  • Runs on Linux, Windows, macOS and FreeBSD
  • Active since 2011 with six releases in the last year

Trade-offs

  • Some formats are read-only, and a few are marked as never to be supported
  • Needs Python 3.12 or higher
  • SQLite-based formats are not auto-detected, so you choose them yourself
  • GPL-3.0 license carries copyleft obligations if you redistribute changes

Frequently asked questions

Is PyGlossary free?

Yes. It is open source under GPL-3.0.

Which platforms does it run on?

Linux, Windows, macOS, FreeBSD and other Unix-like systems, with Python 3.12 or higher. A Flatpak is on Flathub and a Docker image exists.

Can it write Kobo dictionaries?

Yes. It can write Kobo E-Reader dictionary zip files and Kobo dictfiles.

Can I self-host it?

It is a desktop and command-line tool and is not built as a hosted service, though a web interface is included.

Similar tools in Translation tools

GoldenDict-ng

Translation tools

Desktop dictionary lookup program for readers who use many dictionary formats

3.2k 182 yesterday Active GPL-3.0-or-later

Linguist

Translation tools

Browser extension for private, offline page and text translation in Chrome and Firefox

1.1k 51 3 months ago Slowing BSD-3-Clause

Replaces Bing Translator

Translate You

Translation tools

Android translator app with 9 engines, image translation and offline-friendly self-hosted

1.6k 83 14 days ago Active GPL-3.0

Offline Translator

Translation tools

Android app that translates text, documents and images on-device with no internet

1.4k 65 26 days ago Thriving GPL-3.0

Lingarr

Translation tools

Self-hosted subtitle translator for media libraries, with many translation backends

913 79 3 days ago Thriving AGPL-3.0

Dialect

Translation tools

GNOME translation app that talks to Google, DeepL, LibreTranslate and other services

685 82 6 months ago Dormant GPL-3.0