# PMTiles — Protomaps PMTiles (vector tiles)

> PMTiles (Protomaps PMTiles (vector tiles)): Single-file archive of map tiles from Protomaps, here holding Mapbox Vector Tiles for serverless delivery over HTTP range requests. Specs, software and free sample files; convert PMTiles to 39 formats online.

- Page: https://beta.mygeodata.cloud/formats/pmtiles



## What is a PMTiles file?

PMTiles is a single-file archive format for pyramids of map tiles, created and maintained by the Protomaps project as an open specification. It is designed for cloud and static hosting. A web client can fetch individual tiles from a file on object storage or a CDN through HTTP range requests, without a dedicated tile server. When used for vector data, the archive stores tiles encoded as Mapbox Vector Tiles (MVT), which are typically gzip-compressed.

The file begins with a fixed header, followed by a root directory, metadata, optional leaf directories and the tile data. Tiles are addressed by IDs derived from a Hilbert curve, which keeps directories compact and allows identical tiles to be deduplicated. Content follows the Web Mercator tiling scheme and inherits MVT properties: named layers, quantised tile coordinates and simple attribute types. Features are generalised per zoom level, so the archive is a display product rather than a lossless store of source geometries.

PMTiles files are usually produced by map developers and data teams who publish basemaps or thematic layers on static hosting, and received by web mappers or GIS users who want to inspect them. Because tiles are generalised and clipped per zoom level, the content is made for display. Check the zoom range, layer names and attribute set before converting, and keep the original source data.

### Technical details

| | |
|---|---|
| Full name | Protomaps PMTiles (vector tiles) |
| Data type | Vector · Web & JSON |
| File extension | .pmtiles |
| Files | Single file |
| Media type | application/octet-stream |
| Geometry types | Point, LineString, Polygon |
| Multiple layers | Yes |
| Mixed geometry in a layer | No |
| Attribute names | — |
| Coordinate system | Always Web Mercator (tile scheme) (EPSG:3857) |
| Converter support | Read & write |
| Typical software | GDAL/OGR, Tippecanoe, Planetiler, MapLibre GL JS, QGIS, PMTiles CLI |
| Specification | https://github.com/protomaps/PMTiles |

### Specifications & references

- https://github.com/protomaps/PMTiles
- https://gdal.org/en/stable/drivers/vector/pmtiles.html

### Sample PMTiles files — free download

- [Basemap vector tiles (z10–14)](https://beta.mygeodata.cloud/static/landing/samples/v1/pmtiles/st-helena-basemap.pmtiles) — PMTiles v3 archive with Mapbox Vector Tiles, zoom 10–14 (7 layers). (374.2 kB, EPSG:3857)

### Convert PMTiles to other formats

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

## Frequently asked questions

### How does PMTiles differ from MBTiles?

MBTiles is a SQLite database of tiles, so it normally needs a server or library to read it. PMTiles is a flat archive with a directory structure, so a client can fetch single tiles by HTTP range requests directly from static storage.

### Can I get my original geometries back from a PMTiles file?

Not exactly. Features are generalised per zoom level, coordinates are quantised to the tile grid, and some features or attributes may be dropped. Converting to another format gives you the tile content, not the lossless source data.

### Why does my PMTiles file show nothing on the map?

Common causes are viewing outside the zoom range stored in the archive, a server that does not support HTTP range requests, or a style that refers to the wrong layer names. Check the header and metadata for the zoom range and layer list.

### What is a PMTiles file?

PMTiles is a single-file archive format for pyramids of map tiles, created and maintained by the Protomaps project as an open specification. It is designed for cloud and static hosting. A web client can fetch individual tiles from a file on object storage or a CDN through HTTP range requests, without a dedicated tile server. When used for vector data, the archive stores tiles encoded as Mapbox Vector Tiles (MVT), which are typically gzip-compressed.

The file begins with a fixed header, followed by a root directory, metadata, optional leaf directories and the tile data. Tiles are addressed by IDs derived from a Hilbert curve, which keeps directories compact and allows identical tiles to be deduplicated. Content follows the Web Mercator tiling scheme and inherits MVT properties: named layers, quantised tile coordinates and simple attribute types. Features are generalised per zoom level, so the archive is a display product rather than a lossless store of source geometries.

### How do I open a PMTiles file?

PMTiles files can be opened in GDAL/OGR, Tippecanoe, Planetiler, MapLibre GL JS and QGIS. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert PMTiles to?

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

### How do I create a PMTiles file?

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

### Which coordinate system does PMTiles use?

PMTiles always uses Web Mercator (tile scheme) (EPSG:3857).

