ZIM Reader
approvedby mrrepac
Read offline ZIM archives (Kiwix, Wikipedia) inside Obsidian: search by title and read articles with working links and images, straight from a local .zim file. - This plugin has not been manually reviewed by Obsidian staff.
ZIM Reader
Read offline ZIM archives — the format used by Kiwix for
offline Wikipedia and other wikis — directly inside Obsidian. Point the plugin at a
local .zim file, search by title, and read articles with working internal links and
images, without any external server or process.
Everything is read on demand straight from disk: only the file header, the search indexes, and one decompressed cluster at a time are ever touched, so a 38 GB Wikipedia archive opens instantly and uses almost no memory.
Usage
- Enable the plugin.
- In Settings → ZIM Reader, click Browse… and pick your
.zimfile. Add as many archives as you like — Wikipedia, Wiktionary, a medical reference… Get archives at https://library.kiwix.org. - Open the reader from the ribbon (the W icon) or the command Open ZIM Reader.
- Type a title, pick a result, and read. Internal links, images, the Random article button, and back/forward all work. With two or more archives a switcher appears in the toolbar.
- Use Add to notes to save the current article as a Markdown note (with its images) into your vault.
Notes
- Desktop only. ZIM archives are often tens of gigabytes and need random-access file reads, which the mobile app cannot provide.
- Filesystem access. The plugin reads your
.zimfile directly with Node'sfsmodule, because the archive lives outside the vault and is far too large for the vault API. It only reads the archive you point it at, and only writes when you use Add to notes. There is no network access. - Zstandard compression is supported (modern ZIM). Full-text (Xapian) search is not implemented yet — search is by article title.
- Articles are rendered in a clean, theme-aware reading layout rather than the original wiki skin.
Credits
Zstandard decompression by fzstd (MIT),
inlined into main.js (see fzstd-LICENSE). ZIM is an open format by the
openZIM project.
License
MIT
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.