You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Vector · Database & container

MBTiles (MVT) — MBTiles with Mapbox Vector Tiles

MBTiles database whose tiles are Mapbox Vector Tiles: Protocol Buffers-encoded layers of points, lines and polygons.

Type
Vector · Database & container
Extension
.mbtiles
Converter
Read & write
Coordinate system
Always Web Mercator tiling scheme (EPSG:3857)
Layers
Multiple

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.

Typical uses

  • Serving vector basemaps to MapLibre, Mapbox GL or OpenLayers web maps.
  • Delivering offline map data to mobile or desktop applications.
  • Passing a prepared tileset from a data producer to a tile server.
  • Inspecting the layers and attributes of a published tileset in a GIS.
Files: Explicitly MVT inside MBTiles; z/x/y rows with PBF payload.

Sample MBTiles (MVT) files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena basemap st-helena-basemap.mbtiles

Basemap vector tiles (z10–14)

MBTiles database with Mapbox Vector Tiles, zoom 10–14 (7 layers).

  • island · MultiPolygon · 37
  • landcover · MultiPolygon · 262
  • waterways · MultiLineString · 158
  • contours · MultiLineString · 177
  • EPSG:3857
  • 476 kB
Attributes (3)
nameStringarea_km2Realosm_idString
Saint Helena122.914868269

© OpenStreetMap contributors, ODbL 1.0 · Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Frequently asked questions

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.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.