# HDF5 — Hierarchical Data Format 5 (HDF5)

> HDF5 (Hierarchical Data Format 5 (HDF5)): Hierarchical scientific data container of groups and n-dimensional datasets, widely used for satellite products. Specs, software and free sample files; convert HDF5 to 51 formats online.

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



## What is a HDF5 file?

Hierarchical Data Format version 5 (HDF5) is a general-purpose file format and software library for large, complex scientific data, maintained by The HDF Group. It is widely used for satellite and climate products, including NASA's HDF-EOS5 products, and it serves as the storage layer of netCDF-4.

An HDF5 file is a single binary container organised like a file system. Groups hold datasets, which are typed n-dimensional arrays, and both groups and datasets can carry attributes as metadata. Datasets may be chunked and compressed with filters such as gzip (deflate) or szip, which allows efficient partial reads of very large arrays. GIS software typically exposes individual two-dimensional arrays as separate subdatasets. The format itself defines no coordinate reference system. Georeferencing depends on product-specific conventions, such as HDF-EOS structures or latitude/longitude arrays, and is often missing at file level.

HDF5 files usually come from satellite missions, climate and atmospheric models, or laboratory instruments, and are exchanged between research groups and data portals. A single file can hold many arrays, so check the subdataset list before converting. Georeferencing is not guaranteed and may sit in product-specific attributes or in separate latitude/longitude arrays, so verify the location of the output.

### Technical details

| | |
|---|---|
| Full name | Hierarchical Data Format 5 (HDF5) |
| Data type | Raster · Scientific & multidimensional |
| File extension | .h5, .hdf5, .he5 |
| Files | Single file |
| Media type | application/x-hdf5 |
| Bands | Per-subdataset (1–N arrays). |
| Pixel types | Any HDF5 numeric type |
| Compression | gzip/szip (chunked datasets) |
| Coordinate system | Any (georeferenced) |
| Converter support | Read only |
| Typical software | HDFView, Panoply, QGIS, GDAL/OGR, ArcGIS Pro, MATLAB |
| Specification | https://www.hdfgroup.org/solutions/hdf5/ |

### Specifications & references

- https://www.hdfgroup.org/solutions/hdf5/
- https://gdal.org/en/stable/drivers/raster/hdf5.html

### Sample HDF5 files — free download

- [Elevation (HDF5)](https://beta.mygeodata.cloud/static/landing/samples/v1/hdf5/st-helena-dem.h5) — 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. HDF5 file (written as CF netCDF-4/HDF5). (472.7 kB, EPSG:4326)

### Convert HDF5 to other formats

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

## Frequently asked questions

### Why does my HDF5 file open in GIS without a map location?

The HDF5 format itself defines no coordinate reference system. Location is stored by product-specific conventions, such as HDF-EOS structures or latitude/longitude arrays, and software may not recognise them. You may need to assign the CRS manually or use the product documentation.

### Why does a single HDF5 file show several layers or subdatasets?

An HDF5 file is a container of groups and datasets, each dataset being a typed n-dimensional array. GIS software lists the two-dimensional arrays as separate subdatasets, and you choose which one to open or convert.

### How is HDF5 related to netCDF?

NetCDF-4 uses HDF5 as its storage layer, so many netCDF-4 files are also valid HDF5 files. HDF5 is more general, while netCDF adds conventions for dimensions and variables that make georeferencing more predictable.

### What is a HDF5 file?

Hierarchical Data Format version 5 (HDF5) is a general-purpose file format and software library for large, complex scientific data, maintained by The HDF Group. It is widely used for satellite and climate products, including NASA's HDF-EOS5 products, and it serves as the storage layer of netCDF-4.

An HDF5 file is a single binary container organised like a file system. Groups hold datasets, which are typed n-dimensional arrays, and both groups and datasets can carry attributes as metadata. Datasets may be chunked and compressed with filters such as gzip (deflate) or szip, which allows efficient partial reads of very large arrays. GIS software typically exposes individual two-dimensional arrays as separate subdatasets. The format itself defines no coordinate reference system. Georeferencing depends on product-specific conventions, such as HDF-EOS structures or latitude/longitude arrays, and is often missing at file level.

### How do I open a HDF5 file?

HDF5 files can be opened in HDFView, Panoply, QGIS, GDAL/OGR and ArcGIS Pro. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert HDF5 to?

Popular conversions are TIF, HFA, JPG, JP2, GRD and XYZ. In total the Converter writes HDF5 data to 51 formats.

