PMTiles packs tiled map data into one file you can host on object storage and read via HTTP range requests, without a dedicated tile server.
Overview
PMTiles is an archive format that stores an entire pyramid of map tiles inside a single file. That file can sit on commodity static storage such as S3, so clients fetch only the byte ranges they need instead of relying on a custom tile backend.
The format is part of the broader Protomaps ecosystem for interactive web maps. Reference tooling includes a command-line binary to convert from MBTiles, upload archives to cloud buckets, and work with archives locally. Consumer libraries and examples target JavaScript with MapLibre GL JS or Leaflet, OpenLayers, Go, and Python scripts.
Documented deployment patterns emphasize serverless operation: the archive plus HTTP range requests replace always-on tile servers. Separate recipes cover AWS Lambda and Cloudflare Workers as optional serving layers. A published specification defines archive layout, with a stated current version in project documentation.
Compared with traditional tile servers, the model trades dynamic server logic for static hosting costs and simpler operations, while still supporting interactive pan and zoom when paired with a suitable map renderer.
Key features
- Single-file tile archive
- HTTP range request access
- MBTiles conversion CLI
- S3 and static hosting
- JavaScript MapLibre and Leaflet examples
- OpenLayers integration
- Go and Python libraries
- Public format specification
Use cases
- Serverless web map apps
- Low-maintenance tile hosting
- S3-backed basemaps
- Offline-friendly tile bundles
- Protomaps basemap delivery