Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have used mbutil on ubuntu. Its a very handy tools. I am curious that is there any way to use it on windows 64 bit machine. If there is a way please help me to do so.

Thanks in advance.

share|improve this question
up vote 3 down vote accepted

Per the answer by BradHards, yes it is a Python script so it will work in Windows. I was able to use it in Windows 7 after installing ActivePython.

(I first tried using IronPython but ran into problems with getting the required sqlite module to work)

  1. Install ActivePython or another python that has sqlite.
  2. Install mbutil (I just downloaded the zip archive and extracted to c:\)
  3. From command line, run " install" to install mbutils
  4. From command line, I copied mb-util > for convenience. So you can use "" instead of "python mb-util"
  5. Run " -h", you should see the help information and now be able to use mbutil!
share|improve this answer
In step 4, did you copy to the root python path? – Doruk Karınca Jul 10 '14 at 12:07

Its a python script, so it should run anywhere. If you don't have python for Windows, you may like to download and install ActiveState python.

Rather trying to use git on windows, the easiest way to get the python script is via a .zip download provided by github. The direct URL:

Unzip that, and you should be able to run it on a command line window.

share|improve this answer
I have installed the ActiveState python. I run the file of mbutil in Administrator:PyPM. Command line returns the following error. Usage: [........] error: no commands supplied – Devils Dream Feb 13 '13 at 7:53
If you really want to install it (and you don't have to - should work fine without installation), then you have to provide an command (like "install"). This is documented on the main page (, and also in in your checkout. – BradHards Feb 13 '13 at 10:30
Probably I will never do it. I tried all the way and hang with it for 3 days to extract tiles. git on windows worked fine but hanged machine after extracting 3 million tiles. I am working in a big project where 23 million of tiles. – Devils Dream Feb 13 '13 at 10:40
The stability of Windows and capabilities of mbtiles appears to be orthogonal to the original question about getting it running.... – BradHards Feb 14 '13 at 0:49

You can try cygwin software :

1.Copy the .mbtiles file to cygwin. Assuming that you installed "cygwin" at it's default directory the user home is mapped to c:\cygwin\home\

2.Run the following command: mb-util --scheme=osm Freguesias.mbtiles Freguesias

hope it will help you..

Nice explanation available on following Pedros'blog


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.