Live Online Convertergeopackage → csv

GeoPackage to CSV Converter

Writes every layer of a GeoPackage as CSV table with geometry columns.

Upload a .gpkg file. Every layer becomes a CSV with its attributes and geometry. Several layers give a ZIP with one CSV per layer.

Drag a file here to convert, or select file

Accepted: .gpkg · max. 50 MB

Direct upload to the GDAL worker (Fly.io, Frankfurt)Files are deleted after the conversion

What the converter does

  • Point layers get the columns X and Y (and Z if the points have heights) in front of the attributes; lines, polygons and mixed layers get a column WKT with the geometry as Well-Known Text.
  • CSV cannot store a coordinate system. The coordinates stay as they are and the report names their coordinate system (e.g. EPSG:4326 or EPSG:25832).
  • The WKT column is always called WKT (GDAL would otherwise use the GeoPackage column name geom).
  • Several layers give a ZIP with one CSV per layer; the QGIS style table layer_styles is skipped.
  • The report below the upload shows layers and features read and written, skipped layers with the reason, GDAL's warnings and the exact commands.

GDAL command the worker runs

sh — gdal
$ogr2ogr -f CSV layers/points.csv input.gpkg points -lco GEOMETRY=AS_XY

One command per layer; for lines, polygons and mixed layers -lco GEOMETRY=AS_WKT -lco GEOMETRY_NAME=WKT.

Tested with

Test fileResult
GeoPackage with 2 layers (4 points; 4 mixed geometries)ZIP with punkte.csv (X/Y) and gemischt.csv (column WKT); 8 of 8

Tested on 24 Sep 2026 with the worker code of this site and GDAL 3.10.3 (conda-forge build on Windows). The worker image runs the Debian build of the same GDAL version; the live worker was not part of these tests.

Limits

  • Upload limit: 50 MB per file.
  • CSV stores no coordinate system.
  • Each GDAL step may run for up to 240 seconds; a longer run is stopped with an error message.

Frequently Asked Questions

What happens to my file?

Your browser uploads it directly to the GDAL worker on Fly.io (region Frankfurt). The worker converts it in a temporary folder and deletes the folder after sending the result, or immediately if the conversion fails. Files are not stored permanently.

Related conversions