Download HDF5®

HDF4, HDF5 1.8.21, and HDF 1.13.0 (experimental) may be obtained from the support portal site. New users of HDF5 should download the version of HDF5 found below.

Download the Latest Version of HDF5®

Applications that were created with earlier HDF5 releases may not compile with 1.12 by default.

The API Compatibility Macros in HDF5 allow users to work around this issue. Users can specify a compatibility macro mapping for the version of HDF5 that an application was built with. For example, a 1.10 application can be built with 1.12 using either an application or library mapping as follows:

  • To compile an application built with a version of HDF5 that includes deprecated symbols (the default), specify: -DH5_USE_110_API (autotools) or –DH5_USE_110_API:BOOL=ON (CMake)
  • To build an HDF5 library with the 1.10 APIs specify --with-default-api-version=v110 (Autotools) or -DDEFAULT_API_VERSION:STRING=v110 (CMake).

However, users will not be able to take advantage of some of the new features in 1.12 if using these compatibility mappings.

See the Migrating from HDF5 1.10 to HDF5 1.12 page for details on upgrading an application.

Source Code

Click here to obtain code for all platforms.

Pre-built Binary Distributions

The pre-built binary distributions in the table below contain the HDF5 libraries, include files, utilities, and release notes, and are built with the SZIP Encoder Enabled and ZLIB external libraries. For information on using SZIP, see the SZIP licensing information. Additional binaries can be found on our ftp site.

hdf5-1.12.1-Std-osx1013_64.tar.gz 31M


hdf5-1.12.1-Std-macos11_64-clang.tar.gz 33M

(sha256) 41M


hdf5-1.12.1-linux-centos7-x86_64-gcc485-shared.tar.gz 7.6M


hdf5-1.12.1-linux-centos7-x86_64-gcc485-static.tar.gz 30M


    Windows Note: The HDF Group uses an installer program to install the HDF5 libraries, header and support files on Windows. This installer is digitally signed by The HDF Group. Please be aware that the installer requires that the user have permission to install files on the target computer. Also note that the Windows binary distributions are built in Release mode with debugging symbols. Please avoid using spaces in directory path names as this can cause problems when building.

    To use the shared libraries on Windows with Visual Studio you must specify the H5_BUILT_AS_DYNAMIC_LIB compile definition.

    Static libraries begin with lib and shared libraries do not. For example, hdf5.lib is the shared library and libhdf5.lib is the static library.

    Filter Plugins (Encode and Decode)

    The HDF5 plugin software is provided for convenience and is composed of the following registered (compression) filters contributed by users: BZIP2, JPEG, LZF, BLOSC, MAFISC, LZ4, Bitshuffle, and ZFP

    The registered third-party filters extend HDF5 to support compression and other filters not included in the HDF5 library.  For additional details, please see HDF5 Plugins on the Support Portal.

    hdf5plugin-1.12.1-centos7_64.tar.gz 876K

    (sha256) 670K


      Looking for a specific release?

      Note: You must be logged in to download the binary versions.

      Please visit the Support Portal for additional prior releases.