Quick answer: choose Shapefile when a legacy GIS or agency workflow requires maximum compatibility. Choose GeoPackage when you want one portable file, multiple layers, and fewer sidecar-file problems. If you need to switch formats now, use Shapefile to GeoPackage or GeoPackage to Shapefile.
Suppose you are sending a survey with sampling stations, stream lines and catchment polygons. In a GeoPackage those can be three named layers in one file. A Shapefile delivery needs three separately named file sets. Ask the recipient whether they need editable layers in a particular format or simply a map they can open.
Quick comparison
| Topic | Shapefile | GeoPackage (GPKG) |
|---|---|---|
| Files | Multiple sidecars (.shp/.dbf/.shx/…) | Single .gpkg file |
| Layer support | One layer per dataset | Multiple layers in one file |
| Attribute names | Classic DBF field names are limited to 10 characters | Longer, descriptive column names |
| CRS handling | .prj sidecar (recommended) | Stored inside the database |
When Shapefile is still useful
Use a Shapefile when:
- You need maximum compatibility with legacy workflows
- The data is simple and easy to package as a zip
- You are exchanging data with tools that still expect
.shp
When GeoPackage is a better choice
Use GeoPackage when:
- You want a single file you can share and archive
- You need multiple layers or related tables
- You prefer a modern, SQLite-based format for data management
What to check before handing off a Shapefile
Consider two columns named inspection_date and inspection_status. Both start with the same ten characters. A Shapefile exporter has to shorten or rename them; a colleague’s spreadsheet join may then fail even though the shapes look right.
- Give the delivery fields distinct short names, such as
insp_dateandinsp_stat. Keep the original GeoPackage as the master. - Zip the matching
.shp,.shxand.dbffor each layer together. Include its.prjfor the coordinate system and its.cpgif supplied for text encoding. - Reopen the ZIP in the recipient’s GIS. Check the feature count for each layer, a known location and one record with both inspection fields. Converting that ZIP back to GeoPackage later will not restore field names that were lost.
Open and convert online
- Open Shapefile online: /open-shapefile-online/
- Open GeoPackage online: /open-gpkg-online/
- Convert Shapefile to GeoPackage: /shapefile-to-gpkg/
- Convert GeoPackage to Shapefile: /gpkg-to-shapefile/
Related reading
- Tutorial: /blog/how-to-open-shapefile-online/