GDAL-CONVERT(1) GDAL GDAL-CONVERT(1)

gdal-convert - Convert a dataset

Added in version 3.11.

Acts as a shortcut for gdal raster convert or gdal vector convert depending on the nature of the specified dataset.

Usage: gdal convert [OPTIONS] <INPUT> <OUTPUT>
Convert a dataset (shortcut for 'gdal raster convert' or 'gdal vector convert').
Positional arguments:
  -i, --input <INPUT>                                  Input raster, vector or multidimensional raster dataset [required]
  -o, --output <OUTPUT>                                Output raster, vector or multidimensional raster dataset (created by algorithm) [required]
Common Options:
  -h, --help                                           Display help message and exit
  --json-usage                                         Display usage as JSON document and exit
  --config <KEY>=<VALUE>                               Configuration option [may be repeated]
  --progress                                           Display progress bar
Options:
  -f, --of, --format, --output-format <OUTPUT-FORMAT>  Output format
For all options, run 'gdal raster convert --help' or 'gdal vector convert --help'

$ gdal convert utm.tif utm.gpkg

Even Rouault <even.rouault@spatialys.com>

1998-2025

May 6, 2025