mdx2apple

Complete entries. Native lookup.

Bring your MDict dictionaries into macOS Dictionary.app. Keep definitions, examples, pronunciation and illustrations.

Verified with OALD 10: 62,137 complete entries and 279,100 original lookup keys.

Features

Automated Pipeline

One command to convert, compile, and install. Handles the entire workflow from MDX to Dictionary.app.

Complete Entries

Preserve every definition, example, idiom and part of speech. Keep aliases and homographs searchable.

Readable in Dark Mode

Oxford entries use a tested dark palette for definitions, IPA, translations, links and reference boxes.

Sound and Illustrations

Bundle pronunciation and image files with --keep-resources. Use native audio controls and expandable illustrations.

Ready to convert?

macOS · Python 3.12+
git clone https://github.com/nxxxsooo/mdx2apple.git
cd mdx2apple
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt

# Install DDK once, if it is not already present:
git clone https://github.com/ikey4u/macddk.git \
  "$HOME/Library/Developer/Dictionary-Development-Kit"

python mdx2apple.py /path/to/dictionary.mdx \
  --output ./output/my-dictionary \
  --keep-resources --install

Requires macOS, Python 3.12+ and Dictionary Development Kit. Use your own MDX/MDD files and a fresh output directory.

After installation, enable the dictionary in Dictionary.app → Settings. Updates require pulling the source and reconverting your dictionary.

Update instructions · Validation and limits

Source scripts are not executed. Missing audio or supplemental articles cannot be reconstructed; pronunciation support depends on the source codec and native host.