PMTiles 🗺

PMTiles

Price before payment
.pmtiles · application/vnd.pmtiles

PMTiles är ett serverlöst arkiv för vektor-tiles för webbkartor. En enda fil innehåller alla tiles som är åtkomliga via HTTP-intervallförfrågningar. Idealiskt för hosting på S3, CloudFlare R2, GitHub Pages utan en tile-server.

OpenStreetMap data as of 5 October 2026 · 26 days ago

Exportera PMTiles nu ✨ Öppen beta — gratis, inga begränsningar

Viktiga funktioner

✓En fil — alla tiles
✓HTTP range-förfrågningar
✓Ingen server — endast statisk hosting
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Om formatet PMTiles

PMTiles is an archive format in which a whole set of tiles sits in one file with an internal index. The browser does not download it as a whole: it requests the pieces it needs with HTTP range requests, which any static hosting can serve — S3, Cloudflare R2, GitHub Pages, plain Nginx.

Hence the main benefit: the map works without a tile server. There is no service to set up, watch over and pay for — the file simply sits next to the site. For a prototype, an internal dashboard or a project that has to outlive the shutdown of a third-party map service, that makes life noticeably easier.

Inside the archive are MVT vector tiles, that is geometry with attributes, and the appearance is set by a style on the client side. The export builds the pyramid up to zoom 12: beyond that encoding the tiles becomes too expensive, and if you asked for more, we honestly report the limitation and suggest MBTiles. For the same reason the exporter rejects very dense areas straight away rather than after a long wait: a short, clear refusal is better than a stuck job.

Vilket program öppnar PMTiles-filer

Följande program och applikationer kan öppna, redigera och arbeta med PMTiles-filer (.pmtiles) som exporterats från OSM2CDR:

💻MapLibre GL JS 💻Leaflet 💻PMTiles Viewer 🌎QGIS 💻Felt

Format specifications

Vem använder PMTiles-kartor

🏗
Serverlösa webbkartor
A web map with no tile server: one file on hosting, no service to maintain.
💻
Statisk hosting av tiles
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
CDN-kartor
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Offline-webbkartor
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Prototypframtagning
A quick prototype: the map is up in minutes, with no infrastructure and no contracts with tile providers.

Så exporterar du PMTiles

1
Välj område
Rita en rektangel eller polygon på den interaktiva kartan på osm2cdr.ru
2
Välj PMTiles
Välj PMTiles från listan med 127 tillgängliga exportformat
3
Exportera
Klicka på Exportera och få din .pmtiles-fil på 1–5 minuter
4
Ladda ner
Ladda ner den färdiga PMTiles-filen och öppna den i MapLibre GL JS

Så öppnar du filen efter exporten

Populära kartor i PMTiles

Free

Hämta kartexporter i PMTiles

Ladda ner professionella PMTiles-kartor från OpenStreetMap. Direktgenerering, valfritt område.

Gratis / export
Exportera PMTiles nu →

Vanliga frågor

Behöver jag en tile-server för PMTiles? ▼
Vilka bibliotek stöder PMTiles? ▼
Up to which zoom is the pyramid built? ▼
Why was the export refused for a large dense area? ▼
Why is the map empty after I connect it? ▼

Jämför med andra format

PMTiles guides and tutorials

Relaterade format

Ofta exporterade tillsammans

Related Articles