# SAGA — SAGA GIS Binary Grid

> SAGA (SAGA GIS Binary Grid): Native single-band raster grid format of SAGA GIS, consisting of a binary .sdat data file and a text .sgrd header. Specs, software and free sample files; convert SAGA to 50 formats online.

- Page: https://beta.mygeodata.cloud/formats/saga



## What is a SAGA file?

The SAGA Binary Grid is the native raster format of SAGA GIS (System for Automated Geoscientific Analyses), an open-source GIS originally developed at the University of Göttingen. It is widely used for terrain analysis, hydrological modelling and other grid-based geoprocessing, and is often encountered when SAGA algorithms are run from other desktop GIS environments.

Each grid consists of at least two files. The .sdat file contains the raw cell values without compression, while the .sgrd file is a plain-text header describing the grid geometry, cell size, data type, byte order, row order and the NoData value. An optional .prj file stores the coordinate reference system as WKT, and a .mgrd file may hold SAGA-specific metadata. The format stores a single band per grid and supports integer types from 8 to 32 bits as well as 32-bit and 64-bit floating-point values. Without the .prj sidecar, the grid carries no CRS information.

SAGA grids usually come from terrain, hydrology or soil analyses run in SAGA GIS or in QGIS through its SAGA tools. Because the data is split across several files, the .sdat file alone is not enough: keep the .sgrd header and the .prj beside it. Check the NoData value, byte order and row order, since a wrong interpretation shifts or flips the values.

### Technical details

| | |
|---|---|
| Full name | SAGA GIS Binary Grid |
| Data type | Raster · Elevation & grid |
| File extension | .sdat |
| Files | Several files: .sdat, .sgrd, .prj and .mgrd |
| Media type | — |
| Bands | Single-band grid. |
| Pixel types | 8/16/32-bit int, 32/64-bit float |
| Compression | None |
| Coordinate system | Any (georeferenced) |
| Converter support | Read & write |
| Typical software | SAGA GIS, QGIS, GDAL/OGR |
| Specification | https://saga-gis.sourceforge.io/ |

### Specifications & references

- https://saga-gis.sourceforge.io/
- https://gdal.org/en/stable/drivers/raster/sdat.html

### Sample SAGA files — free download

- [Elevation (Float32)](https://beta.mygeodata.cloud/static/landing/samples/v1/saga/st-helena-dem-saga.zip) — Copernicus DEM GLO-30 elevation model of Saint Helena (0–812 m), a surface model including trees and buildings; sea = 0 m. 631×505 px, 1 arc-second (≈30 m) grid, WGS 84. .sdat + .sgrd + .prj. (402.3 kB, EPSG:4326)

### Convert SAGA to other formats

- [SAGA to TIF](https://beta.mygeodata.cloud/converter/saga-to-tif)
- [SAGA to HFA](https://beta.mygeodata.cloud/converter/saga-to-hfa)
- [SAGA to JPG](https://beta.mygeodata.cloud/converter/saga-to-jpg)
- [SAGA to KMZ raster](https://beta.mygeodata.cloud/converter/saga-to-kmz-raster)
- [SAGA to JP2](https://beta.mygeodata.cloud/converter/saga-to-jp2)
- [SAGA to BIL](https://beta.mygeodata.cloud/converter/saga-to-bil)
- [SAGA to GRD](https://beta.mygeodata.cloud/converter/saga-to-grd)
- [SAGA to PNG](https://beta.mygeodata.cloud/converter/saga-to-png)
- [SAGA to GeoPDF raster](https://beta.mygeodata.cloud/converter/saga-to-geopdf-raster)
- [SAGA to DEM](https://beta.mygeodata.cloud/converter/saga-to-dem)
- [SAGA to MBTiles raster](https://beta.mygeodata.cloud/converter/saga-to-mbtiles-raster)
- [SAGA to XYZ](https://beta.mygeodata.cloud/converter/saga-to-xyz)
- [SAGA to WEBP](https://beta.mygeodata.cloud/converter/saga-to-webp)
- [SAGA to AAIGrid](https://beta.mygeodata.cloud/converter/saga-to-aaigrid)
- [SAGA to BMP](https://beta.mygeodata.cloud/converter/saga-to-bmp)
- [SAGA to ENVI](https://beta.mygeodata.cloud/converter/saga-to-envi)
- [SAGA to GIF](https://beta.mygeodata.cloud/converter/saga-to-gif)
- [SAGA to GPKG raster](https://beta.mygeodata.cloud/converter/saga-to-gpkg-raster)

## Frequently asked questions

### Why does my SAGA grid have no coordinate system after copying it?

The CRS is stored in the optional .prj sidecar, not in the .sdat file. If the .prj was not copied along with the .sdat and .sgrd, the grid has no CRS information and it must be assigned manually.

### Can a SAGA grid hold several bands?

No, each SAGA grid stores a single band. Multi-band imagery must be split into separate grids, one per band, and recombined later if needed.

### Is the data in an .sdat file compressed?

No, the .sdat file holds raw, uncompressed cell values. Its size therefore depends directly on the number of cells and the data type, so large float grids can take up a lot of disk space.

### What is a SAGA file?

The SAGA Binary Grid is the native raster format of SAGA GIS (System for Automated Geoscientific Analyses), an open-source GIS originally developed at the University of Göttingen. It is widely used for terrain analysis, hydrological modelling and other grid-based geoprocessing, and is often encountered when SAGA algorithms are run from other desktop GIS environments.

Each grid consists of at least two files. The .sdat file contains the raw cell values without compression, while the .sgrd file is a plain-text header describing the grid geometry, cell size, data type, byte order, row order and the NoData value. An optional .prj file stores the coordinate reference system as WKT, and a .mgrd file may hold SAGA-specific metadata. The format stores a single band per grid and supports integer types from 8 to 32 bits as well as 32-bit and 64-bit floating-point values. Without the .prj sidecar, the grid carries no CRS information.

### How do I open a SAGA file?

SAGA files can be opened in SAGA GIS, QGIS and GDAL/OGR. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert SAGA to?

Popular conversions are TIF, HFA, JPG, KMZ raster, JP2 and BIL. In total the Converter writes SAGA data to 50 formats.

### How do I create a SAGA file?

Convert existing data to SAGA — for example from HFA, JPG, TIF, BIL and DEM. Upload the file, choose SAGA as output and download the result.

### Which files belong to a SAGA dataset?

A SAGA dataset needs .sdat, .sgrd, .prj and .mgrd. .sdat raw values + .sgrd text header; .prj optional CRS, .mgrd SAGA metadata.

