# AAIGrid — Arc/Info ASCII 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. Specs, software and free sample files; convert AAIGrid to 50 formats online.

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



## 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.

### Technical details

| | |
|---|---|
| Full name | Arc/Info ASCII Grid |
| Data type | Raster · Elevation & grid |
| File extension | .asc, .txt |
| Files | Single file |
| Media type | — |
| Bands | Single-band grid. |
| Pixel types | Integer, Float (text) |
| Compression | None (plain text) |
| Coordinate system | Any (georeferenced) |
| Converter support | Read & write |
| Typical software | QGIS, ArcGIS Pro, GDAL/OGR, SAGA GIS, GRASS GIS, Global Mapper |
| Specification | https://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/esri-ascii-raster-format.htm |

### Specifications & references

- https://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/esri-ascii-raster-format.htm
- https://gdal.org/en/stable/drivers/raster/aaigrid.html

### Sample AAIGrid files — free download

- [Elevation (Int16, WGS 84)](https://beta.mygeodata.cloud/static/landing/samples/v1/aaigrid/st-helena-dem-asc.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. Esri ASCII grid with .prj, whole metres. (177.3 kB, EPSG:4326)
- [Elevation (30 m, UTM)](https://beta.mygeodata.cloud/static/landing/samples/v1/aaigrid/st-helena-dem-utm-asc.zip) — 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. (303.5 kB, EPSG:32730)

### Convert AAIGrid to other formats

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

## Frequently asked questions

### Why does my AAIGrid file open without a coordinate system?

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.

### What is the difference between xllcorner and xllcenter?

xllcorner and yllcorner give the coordinates of the lower-left corner of the grid, while xllcenter and yllcenter give the center of the lower-left cell. Mixing them up offsets the grid by half a cell.

### Why is my AAIGrid file so large compared with a GeoTIFF?

Cell values are stored as uncompressed text, so each value takes several bytes and the file is parsed slowly. Converting to a binary raster format such as GeoTIFF usually reduces the file size considerably.

### 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.

### How do I open a AAIGrid file?

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

### What can I convert AAIGrid to?

Popular conversions are XYZ, TIF, JPG, HFA, PNG and GRD. In total the Converter writes AAIGrid data to 50 formats.

### How do I create a AAIGrid file?

Convert existing data to AAIGrid — for example from TIF, HFA, JPG, GeoPDF raster and XYZ. Upload the file, choose AAIGrid as output and download the result.

