.HGT

HGT File

SRTM Height Data File
Ask a question
QUICK ANSWER

An HGT file is a raw binary tile of terrain elevation from NASA's Shuttle Radar Topography Mission (SRTM). Each file covers a 1-degree-by-1-degree area of Earth and stores heights in meters as signed 16-bit integers. Open it with QGIS (free) or Global Mapper; convert to GeoTIFF with the GDAL command gdal_translate.

Developer: NASA / NGA (National Geospatial-Intelligence Agency) Category: GIS Files Open standard MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .GPX · .GML · .KML · .SHP

On this page

19k+ extensions indexed
Last reviewed Aug 22, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the HGT file format?

An .hgt file stores a single tile of SRTM (Shuttle Radar Topography Mission) elevation data in a raw binary format. SRTM data was collected in February 2000 during Space Shuttle Endeavour mission STS-99, when NASA and the National Geospatial-Intelligence Agency (NGA) mapped Earth's surface between 60°N and 56°S using interferometric synthetic aperture radar.

The file has no header, no magic bytes, and no embedded metadata. It is a flat, row-major array of signed 16-bit big-endian integers, each representing terrain elevation in meters relative to the WGS84 geoid. Rows scan west-to-east and north-to-south. Void cells (areas with no valid measurement) are encoded as -32768.

Each .hgt file covers exactly one 1°×1° geographic tile. The filename encodes the SW corner: N48E016.hgt covers 48°-49°N, 16°-17°E. Two resolutions exist: SRTM3 (3-arc-second, ~90 m spacing, 1201×1201 grid, ~2.8 MB per tile) and SRTM1 (1-arc-second, ~30 m spacing, 3601×3601 grid, ~25 MB). SRTM Version 3.0 (SRTM Plus, 2015) extended global 1-arc-second coverage and filled many previously void areas.

GDAL opens .hgt files natively and recognizes the naming convention automatically. A typical workflow mosaics multiple tiles and exports to GeoTIFF for analysis in QGIS, ArcGIS, or Global Mapper. Improved successors include NASADEM (2020) and Copernicus DEM (2022).

Security & safety

RISK: LOW

Raw binary numeric data with no executable content. Zero security risk from the file itself. Data is freely provided by a US government agency (USGS/NASA).

Format details

in a nutshell
FULL NAMESRTM Height Data Fileaka SRTM HGT file, Shuttle Radar Topography Mission elevation file
DEVELOPERNASA / NGA (National Geospatial-Intelligence Agency)since 2003 (SRTM data publicly released by USGS/NASA)
CATEGORYGIS Files
MIME TYPEapplication/octet-stream
TYPERaw binary raster of signed 16-bit elevation samples (big-endian)
STANDARDOpen · royalty-free
This extension is also used by…
  • Garmin HGT/TYP Terrain Data - Some Garmin GPS map products use .hgt sidecar files for terrain shading - different structure than SRTM.

Programs that open HGT files

Windows5 apps
Global Mapper Paid File > Open Data Files, select the .hgt - renders elevation as a colored DEM or hillshade.
VTBuilder Open-source Terrain toolkit; imports HGT for terrain-mesh generation.
SRTM Void Killer Free Specialized tool for filling void cells (-32768) in HGT files using interpolation.
QGIS Open-source Drag the .hgt file onto the map canvas; QGIS reads SRTM HGT via GDAL natively.
ArcGIS Desktop / ArcGIS Pro Paid Add the .hgt as a raster layer; ArcGIS reads SRTM HGT via its GDAL-based raster engine.
macOS1 app
QGIS Open-source Same cross-platform workflow - GDAL reads HGT natively.
Linux3 apps
Terrain Viewer Free 3D terrain visualization from SRTM HGT files.
GDAL (gdal_translate / gdalinfo) Open-source gdalinfo N48E016.hgt inspects metadata; gdal_translate converts to GeoTIFF.
QGIS Open-source Same as Windows - drag HGT to canvas or open via Layer menu.

Technical details

deep spec
EncodingRaw binary - flat array of signed 16-bit integers, no header
Byte orderBig-endian (network byte order)
Sample typeSigned 16-bit integer; value represents elevation in meters (WGS84 geoid)
Grid scan orderRow-major; west-to-east columns, north-to-south rows
Void value-32768 (no valid measurement for that grid post)
SRTM3 grid size1201×1201 posts per 1°×1° tile (~2.8 MB per file)
SRTM1 grid size3601×3601 posts per 1°×1° tile (~25 MB per file)
Tile coverageOne 1°×1° geographic tile per file
Filename conventionSW corner encoded: N48E016.hgt covers 48-49°N, 16-17°E
Tile edge overlapAdjacent tiles share one row/column of boundary posts
Spatial resolutionSRTM3 ~90 m; SRTM1 ~30 m (at equator)
MIME typeapplication/octet-stream
Released2003 (SRTM data publicly released by USGS/NASA)
Latest versionSRTM Version 3.0 (SRTM Plus, 2015) - voids filled
Open standardYes · royalty-free
Specificationwww2.jpl.nasa.gov

HGT conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with HGT files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about HGT files.

Frequently asked questions

What is an HGT file?
A raw binary tile of elevation data from NASA's Shuttle Radar Topography Mission (SRTM). Each file covers a 1°×1° area and stores terrain height in meters as 16-bit integers.
How do I open an HGT file?
Use QGIS (free, cross-platform) or Global Mapper; or convert to GeoTIFF with the command-line tool gdal_translate. ArcGIS also reads HGT natively.
What does the HGT filename mean?
The name encodes the tile's south-west corner: N48E016.hgt = the tile covering 48-49° North latitude, 16-17° East longitude.
What does the value -32768 mean in an HGT file?
It marks a void - a cell where radar data was missing or unreliable (water bodies, steep terrain). Use SRTM Void Killer or GDAL fill to interpolate replacement values.
How do I convert HGT to GeoTIFF?
Run: gdal_translate -of GTiff input.hgt output.tif - or use QGIS 'Raster > Convert > Translate'. GeoTIFF keeps the georeferencing.
What is the difference between SRTM1 and SRTM3 HGT files?
SRTM3 is 3-arc-second resolution (~90 m), 1201×1201 grid, ~2.8 MB per tile. SRTM1 is 1-arc-second (~30 m), 3601×3601, ~25 MB - finer detail for the same area.

References

1USGS SRTM - data access and documentationwww.usgs.gov
2GDAL SRTMHGT driver documentationgdal.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.NOMEDIAAndroid No-Media Marker File
8.RPMSGRestricted Permission Message
9.MDMarkdown Document
10.TMPTemporary File

Related extensions

.GPXGPS Exchange Format
.GMLGeography Markup Language
.KMLKeyhole Markup Language
.SHPEsri Shapefile (geospatial vector data)
.RTMAPCompeGPS / TwoNav Tiled Raster Map
.KMZKeyhole Markup Language Zipped (Google Earth)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z