# Surfer ASCII — Golden Software ASCII Grid

> Surfer ASCII (Golden Software ASCII Grid): Plain-text grid format from Golden Software Surfer storing a single band of Z values on a regular rectangular lattice. Specs, software and free sample files; convert Surfer ASCII to 50 formats online.

- Page: https://beta.mygeodata.cloud/formats/grd-ascii



## What is a Surfer ASCII file?

Golden Software ASCII Grid is the human-readable grid format of Surfer, the contouring and surface-mapping software developed by Golden Software. It is used to exchange interpolated surfaces such as elevation models, geophysical grids, geochemical concentrations and other continuous fields, and it is often chosen for quality control because the values can be inspected in any text editor.

A file begins with the identifier DSAA, followed by header lines giving the number of columns and rows, the X and Y extents, and the minimum and maximum Z values. The grid values follow as whitespace-separated numbers, row by row, starting from the lowest Y row. Empty cells are marked with a special blanking value. The format holds only one band and contains no coordinate reference system information, so the projection must be documented separately. Because it is uncompressed text, files are considerably larger and slower to read than the binary Surfer grid variants.

Golden Software ASCII Grid files usually come from geologists, geophysicists and surveyors who interpolated point data in Surfer and share the result as plain text. Check that the column and row counts in the header match the number of values, and record the coordinate system separately because the file does not store it. Also note the blanking value used for empty cells and that rows start at the lowest Y.

### Technical details

| | |
|---|---|
| Full name | Golden Software ASCII Grid |
| Data type | Raster · Elevation & grid |
| File extension | .grd, .txt |
| Files | Single file |
| Media type | — |
| Bands | Single-band grid. |
| Pixel types | Float (text) |
| Compression | None |
| Coordinate system | Any (georeferenced) |
| Converter support | Read & write |
| Typical software | Golden Software Surfer, QGIS, GDAL/OGR, Global Mapper |
| Specification | https://surferhelp.goldensoftware.com/topics/ascii_grid_file_format.htm |

### Specifications & references

- https://surferhelp.goldensoftware.com/topics/ascii_grid_file_format.htm
- https://gdal.org/en/stable/drivers/raster/gsag.html

### Sample Surfer ASCII files — free download

- [Elevation (90 m, UTM)](https://beta.mygeodata.cloud/static/landing/samples/v1/surfer_ascii/st-helena-dem-90m.grd) — Copernicus DEM GLO-30 elevation model of Saint Helena (0–812 m), a surface model including trees and buildings; sea = 0 m. Averaged to 90 m in UTM zone 30S (201×169 px) to keep the text file small. Surfer ASCII grid. (280 kB, EPSG:32730)

### Convert Surfer ASCII to other formats

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

## Frequently asked questions

### Why do some cells show very large values after I open the grid?

These are most likely blanked cells. Surfer writes a special blanking value, commonly 1.70141E+38, for cells without data. Treat that value as NoData in your software, otherwise it will distort statistics and color scales.

### Why is there no projection when I load a Surfer ASCII grid?

The header only stores the number of columns and rows, the X and Y extents and the Z range. It has no coordinate reference system, so you must assign the correct one manually from the source documentation.

### How does the ASCII grid differ from the binary Surfer grid formats?

Both describe the same kind of single-band grid, but the ASCII version stores values as text starting with the DSAA identifier. It can be read in any text editor but is larger and slower to load than the binary variants.

### What is a Surfer ASCII file?

Golden Software ASCII Grid is the human-readable grid format of Surfer, the contouring and surface-mapping software developed by Golden Software. It is used to exchange interpolated surfaces such as elevation models, geophysical grids, geochemical concentrations and other continuous fields, and it is often chosen for quality control because the values can be inspected in any text editor.

A file begins with the identifier DSAA, followed by header lines giving the number of columns and rows, the X and Y extents, and the minimum and maximum Z values. The grid values follow as whitespace-separated numbers, row by row, starting from the lowest Y row. Empty cells are marked with a special blanking value. The format holds only one band and contains no coordinate reference system information, so the projection must be documented separately. Because it is uncompressed text, files are considerably larger and slower to read than the binary Surfer grid variants.

### How do I open a Surfer ASCII file?

Surfer ASCII files can be opened in Golden Software Surfer, QGIS, GDAL/OGR and Global Mapper. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert Surfer ASCII to?

Popular conversions are TIF, HFA, JPG, KMZ raster, GRD and MBTiles raster. In total the Converter writes Surfer ASCII data to 50 formats.

### How do I create a Surfer ASCII file?

Convert existing data to Surfer ASCII — for example from HFA, TIF, JPG, KMZ raster and BIL. Upload the file, choose Surfer ASCII as output and download the result.

