Convert GeoPackage to GeoJSON Online — Free & Instant
GeoPackage files from QGIS or ArcGIS Pro need to be in GeoJSON format for web mapping, GitHub rendering, or use in JavaScript applications. Maparz converts the first vector layer in your GeoPackage to GeoJSON, preserving all geometry and attributes.
Converter
When to convert GeoPackage to GeoJSON
- Exporting QGIS project layers to GeoJSON for web publishing
- Converting GPKG datasets to GeoJSON for Leaflet or Mapbox use
- Sharing GeoPackage data with web developers who work with GeoJSON
How to convert GeoPackage to GeoJSON
- 1
Upload GPKG
Drop your .gpkg file on the upload zone.
- 2
Select GeoJSON
GeoJSON is pre-selected.
- 3
Download
The GeoJSON contains the first vector layer from your GeoPackage.
About GeoPackage format
GeoPackage (GPKG) is a modern, open standard format defined by the OGC that stores geospatial data in a single SQLite database file. It supports both vector and raster data, multiple layers per file, field name lengths up to 64 characters, and virtually any coordinate reference system. GeoPackage is endorsed by the OGC as the preferred replacement for Shapefile. It is supported by QGIS, ArcGIS Pro, GDAL, and PostGIS. Its SQLite base makes it portable and queryable without a server.
Strengths
- +Single file containing multiple layers
- +No field name length limit
- +Supports vector and raster in one file
- +SQLite-based — portable and queryable
About GeoJSON format
GeoJSON is an open standard geospatial data format based on JSON, defined in RFC 7946. It supports all geometry types (Point, LineString, Polygon, MultiPolygon, etc.) and arbitrary properties per feature. GeoJSON is the preferred format for web mapping because browsers can parse it natively and libraries like Leaflet, Mapbox GL, and D3 consume it directly. GitHub renders GeoJSON files on a map automatically. It uses WGS 84 (EPSG:4326) as its coordinate reference system.
Strengths
- +Native browser support (JSON)
- +Human-readable and editable
- +Single file — easy to share
- +First-class support in web mapping libraries
Frequently asked questions
What if my GeoPackage has multiple layers?
Maparz converts the first vector layer. To convert other layers, use ogr2ogr locally with the -sql or layer name option.
Is the geometry reprojected?
Yes. The output GeoJSON uses WGS 84 (EPSG:4326) as required by the GeoJSON specification.