GIS Plugins

Home › Database › PG2GPKG

PG2GPKG QGIS 4 compatibility

QGIS 4 ready Active

Listed for QGIS 4 by its author (declared max 4.99.0). GIS Plugins hasn't tested it.

Bidirectional bridge between PostgreSQL/PostGIS and GeoPackage: export databases to GPKG and import GPKG into PostGIS.

About

PG2GPKG moves data both ways between PostgreSQL/PostGIS and GeoPackage. EXPORT (PostgreSQL → GeoPackage): • One GeoPackage per schema • Everything in a single GeoPackage • One GeoPackage per table • Automatic QGIS project export with datasource path rewriting IMPORT (GeoPackage → PostgreSQL): • Multi-layer batch import with per-layer destination schema/table • Append, replace or create modes • Interactive field mapping (rename / exclude columns) • Optional reprojection to a target SRID • Fast COPY-based loading via GDAL (PG_USE_COPY) General: • Tree/table-based layer selection with geometry info • Handles fid type conflicts, compressed project formats, and SSL mode normalization • Filters system tables automatically • Full Italian and English interface

AuthorFederico Gianoli
Downloads1,929
On QGIS 3.44 LTRv2.0 (QGIS 3.20.0 to 4.99.0)
On QGIS 4v2.0 (QGIS 3.20.0 to 4.99.0)
Last updated2026-06-08 (174 days ago)
QGIS 4 readyYes
MaintenanceActive
CategoryDatabase
Tagsbackup, migration, export, postgresql, postgis, database, geopackage, import

Homepage · Repository · Issue tracker · Official page

QGIS plugin news, once a week

GIS Plugins Weekly: new plugins, useful updates and QGIS 4 readiness changes. Free, unsubscribe anytime. See a sample issue.

Alternatives in Database

Related plugins

Maintenance: Active = updated within 1 year, Quiet = 1–3 years, Likely abandoned = over 3 years.