Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A little python script to take an mbtiles file and split it apart into a folder hierarchy of individual image tile files.
Latest commit 49ed714 @pbarry Merge pull request #4 from cayetanobv/master
Fixed bug: handled no metadata format info MBTiles
Failed to load latest commit information.
README Update README notes Fixed bug: handled no metadata format info MBTiles


Step 1: Save into the same folder as your .mbtiles file
Step 2: Make sure python is installed
Step 3: In terminal, cd into that folder
Step 4: Run this:

python filename.mbtiles

That's it! It should generate a folder called filename filled with PNGs that contain the data in the mbtiles archive.

- The Y axis values are set from a top left origin, which is TMS standard. This is not the default on many other mapping applications, like the google maps API or Leaflet, which require an option to use "TMS" scheme instead of "XYZ".
Something went wrong with that request. Please try again.