You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Raster · Elevation & grid

AAIGrid — Arc/Info ASCII Grid

Plain-text single-band raster grid with a short header, used by Esri software and commonly used to exchange elevation data.

Type
Raster · Elevation & grid
Extension
.asc, .txt
Converter
Read & write
Coordinate system
Any (georeferenced)
Bands
Single-band grid.

What is a AAIGrid file?

The Arc/Info ASCII Grid, also called the Esri ASCII raster format, is a plain-text format for single-band raster data that originated with Esri's Arc/Info software. A file, usually with the .asc extension, begins with a short header of keyword-value pairs. These are ncols, nrows, xllcorner or xllcenter, yllcorner or yllcenter, cellsize and an optional NODATA_value. The grid values follow row by row, starting from the top.

The format is frequently used to exchange digital elevation models and other continuous surfaces between GIS, modelling and scripting tools, because it can be read and written with very little code. The header defines a single cell size, so standard files describe square cells only, and rotation is not supported. The coordinate reference system is not stored in the file and is normally supplied by a .prj sidecar. Because values are written as text, files are large and slow to parse compared with binary formats.

Arc/Info ASCII Grid files are usually exchanged by agencies, surveyors and researchers who distribute elevation models, rainfall surfaces or other gridded data as simple text. Check that the .prj sidecar travels with the .asc file, because the coordinate system is not stored inside it. Also confirm the NODATA value and the corner-versus-center header keywords, since misreading them shifts the grid or distorts statistics.

Typical uses

  • Distributing digital elevation models as plain text.
  • Exchanging gridded model output between GIS and scripting tools.
  • Importing raster surfaces into hydrological or terrain analysis software.
  • Archiving small grids in a format readable by any text editor.
Files: Plain-text header (ncols, nrows, cellsize, etc.) followed by values; NoData defined in header.

Sample AAIGrid files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena elevation model st-helena-dem-asc.zip

Elevation (Int16, WGS 84)

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. Esri ASCII grid with .prj, whole metres.

  • 1 band · Int32
  • 631 × 505 px
  • 1 arc-second (~30 m)
  • EPSG:4326
  • 177.3 kB

Inside: README.txt, st-helena-dem.asc, st-helena-dem.prj

Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Preview of the sample data: Saint Helena elevation model st-helena-dem-utm-asc.zip

Elevation (30 m, UTM)

Copernicus DEM GLO-30 elevation model of Saint Helena (0–812 m), a surface model including trees and buildings; sea = 0 m. Resampled to 30 m in UTM zone 30S (604×508 px). Esri ASCII grid with .prj, 1 decimal.

  • 1 band · Float32
  • 631 × 505 px
  • 1 arc-second (~30 m)
  • EPSG:32730
  • 303.5 kB

Inside: README.txt, st-helena-dem-utm.asc, st-helena-dem-utm.prj

Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Frequently asked questions

The header holds only grid size, origin and cell size, not a coordinate reference system. The CRS is normally supplied in a separate .prj file, so keep it next to the .asc file or assign the CRS manually after loading.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.