Some Bits: Nelson's log

4 posts about kiwix

Kiwix on Android (June 2026)

Kiwix is a fantastic offline Wikipedia reader. Last time I tried installing a new library it was a usability nightmare. It’s still not great but it’s better now.

  1. Pick a Kiwix variant to install. The Play Store version is mostly fine but you can also sideload an APK that has file path restrictions listed. (See step 4).
  2. Choose a Kiwix library. The library picker is very poorly designed but it does work. I picked “Wikipedia The Free encyclopedia” at 115GB (from Feb 2026). That’s all 7+M articles. That collection also comes in a 48GB version (no pictures) and a 12GB version (short summary text only).
    Consider if “Best of Wikipedia” (50,000 articles) or “Wikipedia’s 1m Top Articles” would do for you instead, they are significantly smaller.
  3. Download. For this giant file I’m using BitTorrent and enjoying a full gigabit download, mostly from one direct web peer.
  4. Transfer the .ZIM file to your phone. If you have the Play store version it’s restricted to a couple of directories, I’m using /Android/media/org.kiwix.kiwixmobile/. The APK sideload can read ZIM files anywhere you put them.

Their library picker doesn’t show you versions or dates. Consider looking at the direct download directory instead. The files named “maxi” include full text and pictures.

A note on Android file transfer

The MTP file transfer Android uses for USB is slow: limited to about 37 MiB/s for me, or about 30% of my Internet speed. The big ZIM will take an hour! MTP is also apparently kinda buggy with big files.

The copy alternative I’m using is USB debugging mode and adb push. An AI claimed it would be about 2-3x as fast as MTP but it’s not: it copied in 33 MB/s. Good news is it did successfully copy.

Another option is to use SolidExplorer or some other file explorer with a Wifi transfer utility. Not clear that’ll be faster than USB, WiFi speeds cap out at about 80MiB/s in practice in my experience.

You know, for what’s at its heart a Linux system, Android is not very good at working with big files. Not a big deal in general but it must be a real nuisance for anyone maintaining a video library.

Kiwix libraries for offline Wikipedia

It’s still hard to set up offline Wikipedia on Android with Kiwix. Fortunately the app is getting updates again after the year+ mess. The new app works well and you can download ZIM libraries in the app and they work fine. But getting the full 100GB Wikipedia is difficult to impossible from their downloader.

Here’s what I did to download the ZIM file to my PC, then copy it to the phone. These steps may require the phone be in developer mode; that’s safe in Android and is not the same as rooting the phone.

  1. Choose a ZIM file. I picked the 101.6GiB wikipedia_en_all_maxi_2023-11.zim
  2. Download the ZIM file on your PC.
    I used this torrent which came from their library. (Note browsing and linking this site is awkward). Another option is a direct HTTP download from their site.
  3. Launch the Play Store Kiwix app on your phone and use the app to download something small, like the top 100 articles. The goal here is just to get a storage folder created.
  4. Mount the phone via USB on your PC.
  5. On the PC, go to the directory
    Pixel 8\Internal shared storage\Android\data\org.kiwix.kiwixmobile\files\Kiwix
    You should see the small ZIM file that you installed in step 3 there.
  6. Copy the big ZIM file you downloaded into the directory
  7. Launch the Kiwix app and choose Library. You should see your new file.

Reddit is full of people saying they did this and it did not work. I’m not sure what’s going on. Maybe developer mode helps?

If the above steps don’t work, it’s recommended you uninstall the Google Play Store version of Kiwix and sideload a download from Kiwix itself. This has extra capabilities the Play Store won’t allow, including file access.

Another option is to install the Kiwix PWA, a fancy web page that works like an offline application. For some confusing reason PWAs on Android (which are not reviewed) can access your entire filesystem even if individual apps (which are reviews) can’t. That’s Google’s fault. Kiwix has been developing their PWA a lot recently. I haven’t really tried it.

The underlying problem here is Android keeps ratcheting up platform security and has slowly eroded the principle that apps can access files. I would hope nothing would stop this direct USB transfer but I don’t know anymore. I have other apps that can still access the filesystem, like SolidExplorer. Maybe Google gives them an exception that Kiwix can’t get?

Choosing a ZIM file

Kiwix has made it very hard to find the ZIM file for Wikipedia. The product usability is really bad.

It seems the ZIM libraries come in the following flavors:

  • Mini: summary sections only with pictures
  • Maxi: full articles with pictures
  • Nopic: full articles without pictures
  • ???: no videos (almost all of them seem to be this but there’s exceptions.)

If you search for “Wikipedia” in the mobile app, you get a bunch of special interest things like “Ray Charles Wikipedia”. If you weed through those you can finally find actual Wikipedia. But the labels are (currently) wrong. For instance the screenshot at right shows 4 different versions of the top 100 articles. But one is mislabelled: that 14.1MB one does not contain videos. I think it’s actually wikipedia_en_100_mini_2023-12.zim which is only the summary section of each article, but has pictures.

In theory you can use the Google Play store app to download the full 100GB Wikipedia all in your phone. Nice! Assuming you can make that download work reliably on a phone, that is. But in practice I literally can’t find that ZIM file in the downloader, it’s like it’s hidden. The closest I could find was the 56GB all nopic.

BTW these files are huge for a phone! If you want something smaller try wikipedia_en_top_maxi_2023-10.zim. That’s 50,000 articles at 6GB. I do think it’s worth getting the full maxi with pictures; very useful in offline situations.

Kiwix also has a new Library webapp which lets you view the ZIM files in your browser. It seems like a nice idea! But again, the usability is terrible. What’s the difference between these 4 libraries in the screenshot below? Other than the size.

I feel bad picking on an open source project like Kiwix. But the product has had these usability problems for years now. They get funding from Wikipedia, maybe it’s not enough.

Kiwix Android mess

Update: this is now resolved. As of December 2023 the Play Store has version 3.8.1. The F-Droid version is still ancient though. See these notes on why you might still want to sideload an APK if you want to easily download ZIM files to your phone.

I’m a big fan of Kiwix, the offline Wikipedia reader. It’s great having Wikipedia cached locally on your phone, particularly when travelling. However as near as I can tell there’s no easy way to get a recent version for Android. iOS is a little better. I may be confused but this is what I’ve found.

The Kiwix Android GitHub repo and Apple repo look official and included dated source releases but not binary builds. Android had a 3.7.0 source release in May 2023. iOS had a 3.1 source release at the same time, with a 3.2 just yesterday. Presumably these version numbers are not directly comparable.

The Kiwix Applications page has what I assume are links to official binary downloads.

For iOS, the Mac App Store link gets you version 3.1, from May 2023. 3.2 came out literally just yesterday so a little delay is understandable. That all looks fine.

For Android, the Google Play link gets you version 3.4.5. That’s from November 2021. It won’t install on Android 14 although I happen to have it installed and it still seems to work. The F-Droid link is just the APK for F-Droid itself. The version hosted at F-Droid seems to be 2.4, from 2018. There’s also a direct APK download link. That gets you 3.7.1, the latest Android release (from June 2023), but you have to sideload it manually and it won’t get autoupdates. Bottom line: install from Google Play if you can, or else sideload.

Why aren’t there more recent Android binaries? This Reddit comment has the story. Kiwix is not open source enough for F-Droid’s policies. And Kiwix did some file scanning which fell afoul of Google’s review process. It looks like that was supposed to be fixed with release 3.7 but somehow that still isn’t out. This issue suggests they’ve fixed the issue very recently? There’s also this issue which tracks Android 14 support.

Update: got a response on Mastodon from Kiwix saying “3.8 should be on the playstore anytime soon”.

(The underlying technical problem is Kiwix needs to access the ZIM library for Wikipedia, which can be 100 GB or more! Treating it as a special file makes sense. But Android has over time made it harder and harder to access the local filesystem and they seem to be running into restrictions when they try to make Google Play releases.)

While I’m complaining, Kiwix also has always had usability issues for figuring out which ZIM library for Wikipedia to install. Right now when you look for Wikipedia in their web library you get 66 results. Anywhere from a 878kB file for “Wikipedia articles about Ray Charles” to a 102GB file for “The free encyclopedia”. It’s really unclear which of all the options you want. The mobile download interface in 3.4.5 is a little better than the website and if you sort through the Simplified English version and the “top 100 articles” version you can eventually find 60GB and 100GB files for the whole Wikipedia (with and without images), also a 6GB download for the top 50,000 articles. The library you want is there, but it’s really hard to find it.

I always feel bad complaining about free open source software. I really appreciate the work these folks do. But Kiwix is important and it’s a shame it doesn’t have easily installed releases for the mobile OS with 70% market share.

Kiwix: Wikipedia offline

Just a shout-out to Kiwix, the software plus database for reading Wikipedia offline. It’s incredibly helpful to have on your cell phone when you’re traveling and don’t have a data plan. Also nice just to have lightning-fast browsing of Wikipedia. They now have clients for iOS, Android, Windows, MacOS, and Linux.

You have to download the data separately. Their ZIM format seems well thought out, compressed tight and general purpose enough you can get other document collections like Stack Overflow posts, TED talks, etc. English Wikipedia is an enormous 35Gb, 80Gb if you get images too. There are various Wikipedia subsets but no “top articles” opton I see. (Be careful not to download a Simple English version by accident.)

The most interesting thing to me is Kiwix is now partnered with Wikimedia Foundation. A nice cash infusion, but also gives Kiwix some legitimacy. I’m hoping that gives a second wind to the editorial project to produce a Wikipedia subset that’s smaller and well selected to be sufficient.

There are some other offline Wikipedia readers on the Apple app store. I used Wiki Offline for years but the company that produced that seems to have disappeared (again). There’s also Minipedia which does have a nice small subset you can download. I think all of these alternatives found it hard to produce regular updates with the most recent Wikipedia content. Kiwix seems to be doing quarterly releases.