# MBTiles (MVT) — MBTiles with Mapbox Vector Tiles

> MBTiles (MVT) (MBTiles with Mapbox Vector Tiles): MBTiles database whose tiles are Mapbox Vector Tiles: Protocol Buffers-encoded layers of points, lines and polygons. Specs, software and free sample files; convert MBTiles (MVT) to 39 formats online.

- Page: https://beta.mygeodata.cloud/formats/mbtiles-mvt



## What is a MBTiles (MVT) file?

This entry refers to MBTiles files whose tiles are encoded according to the Mapbox Vector Tile (MVT) specification, currently at version 2.1. Each tile_data blob in the SQLite tiles table is a Protocol Buffers message, usually gzip-compressed, that describes one tile of the Web Mercator grid at a given zoom level.

Inside a tile, data is organised into named layers. Each layer holds features with a point, linestring or polygon geometry type and a set of attributes stored in shared key and value tables. Geometry is encoded as integer drawing commands in a local tile coordinate space, commonly with an extent of 4096 units. This keeps tiles compact but quantises coordinates. Features crossing tile edges are clipped, often with a buffer, and are typically simplified per zoom level, so reassembling original geometries from tiles is lossy. MVT tilesets are produced by tools such as Tippecanoe and rendered by MapLibre, Mapbox GL and OpenLayers.

MBTiles with vector tiles is usually exchanged between people who publish web maps and the developers or GIS analysts who host or style them. The file is a SQLite database, so it moves as a single file, but its content is tiled and generalised for display. Check the zoom range, the layer names and the metadata table before use, and keep the source data for analysis.

### Technical details

| | |
|---|---|
| Full name | MBTiles with Mapbox Vector Tiles |
| Data type | Vector · Database & container |
| File extension | .mbtiles |
| Files | Single file |
| Media type | application/x-sqlite3 |
| Geometry types | Point, LineString, Polygon |
| Multiple layers | Yes |
| Mixed geometry in a layer | Yes |
| Attribute names | — |
| Coordinate system | Always Web Mercator tiling scheme (EPSG:3857) |
| Converter support | Read & write |
| Typical software | QGIS, GDAL/OGR, Tippecanoe, TileServer GL, MapTiler, Martin |
| Specification | https://github.com/mapbox/mbtiles-spec |

### Specifications & references

- https://github.com/mapbox/mbtiles-spec
- https://github.com/mapbox/vector-tile-spec
- https://gdal.org/en/stable/drivers/vector/mvt.html

### Sample MBTiles (MVT) files — free download

- [Basemap vector tiles (z10–14)](https://beta.mygeodata.cloud/static/landing/samples/v1/mbtiles_mvt/st-helena-basemap.mbtiles) — MBTiles database with Mapbox Vector Tiles, zoom 10–14 (7 layers). (476 kB, EPSG:3857)

### Convert MBTiles (MVT) to other formats

- [MBTiles (MVT) to CSV](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-csv)
- [MBTiles (MVT) to DXF](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-dxf)
- [MBTiles (MVT) to GeoJSON](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-geojson)
- [MBTiles (MVT) to GeoPDF](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-geopdf)
- [MBTiles (MVT) to GPKG](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-gpkg)
- [MBTiles (MVT) to GPX](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-gpx)
- [MBTiles (MVT) to KML](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-kml)
- [MBTiles (MVT) to KMZ](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-kmz)
- [MBTiles (MVT) to SHP](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-shp)
- [MBTiles (MVT) to TopoJSON](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-topojson)
- [MBTiles (MVT) to XLSX](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-xlsx)
- [MBTiles (MVT) to DGN](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-dgn)
- [MBTiles (MVT) to FGB](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-fgb)
- [MBTiles (MVT) to FileGDB](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-filegdb)
- [MBTiles (MVT) to GML](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-gml)
- [MBTiles (MVT) to MapInfo](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-mapinfo)
- [MBTiles (MVT) to MBTiles](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-mbtiles)
- [MBTiles (MVT) to MIF](https://beta.mygeodata.cloud/converter/mbtiles-mvt-to-mif)

## Frequently asked questions

### Why do features look simplified or cut at tile edges after converting MBTiles (MVT) to another format?

Tiles store geometry clipped to each tile, simplified for its zoom level and snapped to an integer grid. A converted feature can therefore be split across tiles or less detailed than the original. Converting from a single zoom level and merging features by attribute can reduce this, but exact original geometry cannot be restored.

### Can I look inside an MBTiles (MVT) file without GIS software?

Yes. The file is a SQLite database, so any SQLite browser can show the metadata and tiles tables. The tile_data blobs are Protocol Buffers, usually gzip-compressed, so they are not readable as plain text. A GIS or tile viewer is needed to see the actual layers.

### How does MBTiles (MVT) differ from an MBTiles file with raster tiles?

Both use the same SQLite container and tile grid. A raster MBTiles stores each tile as an image such as PNG or JPEG, while an MVT file stores vector features with attributes that a client can style and query. The metadata table's format value tells which type a file contains.

### What is a MBTiles (MVT) file?

This entry refers to MBTiles files whose tiles are encoded according to the Mapbox Vector Tile (MVT) specification, currently at version 2.1. Each tile_data blob in the SQLite tiles table is a Protocol Buffers message, usually gzip-compressed, that describes one tile of the Web Mercator grid at a given zoom level.

Inside a tile, data is organised into named layers. Each layer holds features with a point, linestring or polygon geometry type and a set of attributes stored in shared key and value tables. Geometry is encoded as integer drawing commands in a local tile coordinate space, commonly with an extent of 4096 units. This keeps tiles compact but quantises coordinates. Features crossing tile edges are clipped, often with a buffer, and are typically simplified per zoom level, so reassembling original geometries from tiles is lossy. MVT tilesets are produced by tools such as Tippecanoe and rendered by MapLibre, Mapbox GL and OpenLayers.

### How do I open a MBTiles (MVT) file?

MBTiles (MVT) files can be opened in QGIS, GDAL/OGR, Tippecanoe, TileServer GL and MapTiler. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert MBTiles (MVT) to?

Popular conversions are CSV, DXF, GeoJSON, GeoPDF, GPKG and GPX. In total the Converter writes MBTiles (MVT) data to 39 formats.

### How do I create a MBTiles (MVT) file?

Convert existing data to MBTiles (MVT) — for example from CSV, DWG, DXF, GeoJSON and GeoPDF. Upload the file, choose MBTiles (MVT) as output and download the result.

### Which coordinate system does MBTiles (MVT) use?

MBTiles (MVT) always uses Web Mercator tiling scheme (EPSG:3857).

