MBTiles 📦

MBTiles (SQLite Tiles)

Open Beta
.mbtiles · application/x-sqlite3

MBTiles is a format for storing map tiles in a single SQLite file. Compact, fast, and convenient for offline maps and mobile applications. Here I hand over rendered raster tiles: the map is already drawn in the chosen style and opens without a server. If you need to restyle it yourself, take MBTiles Vector — the same container with vector tiles.

Export MBTiles now ✨ Open Beta — free, no limits

Key Features

Single SQLite file
Fast tile access
256x256 raster PNG tiles
Metadata (zoom, bounds, attribution)
Example MBTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

About MBTiles Format

MBTiles is a Mapbox specification describing how to pack map tiles into a single SQLite file: a tiles table with zoom level, coordinates and the image, plus a metadata table with the name, bounds and zoom range. Instead of thousands of small files on disk you get one portable container understood by QGIS, TileServer GL, MapLibre and mobile apps.

The format is chosen when the map has to work without internet or be served from your own server: an offline layer in a mobile app, a backdrop on a field tablet, a local tile service for an internal portal. Copying and handing over one file is easier than a folder with tens of thousands of images.

The OSM2CDR export delivers raster MBTiles: the selected area is rendered on the server in your style and cut into 256x256 PNG tiles. By default zooms 10 through 16 are built, and the range is set at export time; rows are numbered in TMS order, as the specification requires, and the name, area bounds and zoom bounds are written into metadata. Inside are images, not vector tiles — the style is chosen at export and cannot be changed on the client.

What Program Opens MBTiles Files

The following programs and applications can open, edit, and work with MBTiles (SQLite Tiles) (.mbtiles) files exported from OSM2CDR:

🌎QGIS 🗺OsmAnd 💻Locus Map 💻TileServer-GL 💻GeoServer 💻MapLibre

Format specifications

Who Uses MBTiles Maps

🏗
Offline Maps
One file with the map of the area on the device — the map opens where there is no signal.
💻
Mobile Applications
A ready offline layer for an Android or iOS app: the container goes into the resources and is read locally.
📊
Tile Serving
A source for a local tile server (TileServer GL, GeoServer) on an internal network with no internet access.
🎨
Embedded Maps
A backdrop for an embedded map on a website or in a kiosk, when external tile providers are unavailable.
🗺
Presentations
Showing a map quickly at a talk or in the field: the file on a laptop opens in QGIS without internet.

How to Export MBTiles

1
Select area
Draw a rectangle or polygon on the interactive map at osm2cdr
2
Choose MBTiles
Select MBTiles (SQLite Tiles) from the list of 127 available export formats
3
Export
Click Export and receive your .mbtiles file in 1-5 minutes
4
Download
Download the ready MBTiles file and open it in QGIS

How to Open After Export

Popular maps in MBTiles

Free

Get MBTiles (SQLite Tiles) map exports

Download professional MBTiles maps from OpenStreetMap. Instant generation, any area.

Free / export
Export MBTiles now →

Frequently Asked Questions

Why MBTiles over individual tiles?
Are these raster or vector tiles?
Can I open in QGIS?
How is this different from PMTiles?
Which tiles are inside — raster or vector?
Which zoom levels go into the file?
How do I show such a map on a website?

Compare with Other Formats

Related Formats

Frequently Exported Together

Related Articles