You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Raster · Elevation & grid

BIL — ESRI .hdr Labelled (BIL/BSQ/BIP)

Raw binary raster described by an Esri-style .hdr text header, stored in band interleaved by line, band or pixel order.

Type
Raster · Elevation & grid
Extension
.bil, .bsq, .bip
Converter
Read & write
Coordinate system
Any (georeferenced)
Bands
1–N (multiband).

What is a BIL file?

The Esri .hdr labelled format stores raster data as raw, uncompressed binary values accompanied by a small text header file. The data file uses the extension .bil, .bsq or .bip, matching its band layout. BIL means band interleaved by line, BSQ means band sequential and BIP means band interleaved by pixel. The .hdr header describes the layout with keywords such as NROWS, NCOLS, NBANDS, NBITS, BYTEORDER, LAYOUT and PIXELTYPE. It also gives the map position through ULXMAP, ULYMAP, XDIM and YDIM.

The format has been used to distribute elevation and climate datasets, including several USGS elevation products, and is common in remote sensing. Additional sidecars may include a .prj file for the coordinate reference system, a .stx file with band statistics, a .clr colour map, or a .blw world file. Because the data is raw, files are easy to read programmatically but offer no compression. The header must be present for the data to be interpreted.

BIL, BSQ and BIP files are usually exchanged by agencies and researchers who publish elevation, climate or satellite rasters as raw binary grids. The data file is meaningless without its .hdr header, so keep both together, along with any .prj file. Check byte order, pixel type and band layout in the header, because a wrong value produces garbled or shifted pixel values.

Typical uses

  • Distributing digital elevation models and climate grids as raw binary rasters.
  • Exchanging multiband remote sensing imagery with ENVI, ERDAS IMAGINE or ArcGIS Pro.
  • Reading raster values directly in scripts and custom code without a decoding library.
  • Converting elevation grids to GeoTIFF or other formats for use in GIS projects.
Files: Binary data plus .hdr descriptor for layout, data type, dimensions; georeferencing via .hdr/.prj.

Sample BIL files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena elevation model st-helena-dem-bil.zip

Elevation (Int16 BIL)

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 BIL + .hdr + .prj, Int16.

  • 1 band · Int16
  • 631 × 505 px
  • 1 arc-second (~30 m)
  • EPSG:4326
  • 170.7 kB

Inside: README.txt, st-helena-dem.bil, st-helena-dem.hdr, st-helena-dem.prj

Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Preview of the sample data: Saint Helena Sentinel-2 multispectral bands st-helena-sentinel2-bands-bil.zip

Sentinel-2 multispectral (BIL)

Six Sentinel-2 L2A surface-reflectance bands of Saint Helena (B02 blue, B03 green, B04 red, B08 near infrared, B11 and B12 shortwave infrared) at 20 m, UInt16, reflectance = DN / 10000. ESRI BIL (band interleaved by line) + .hdr + .prj.

  • 6 bands · UInt16
  • 906 × 762 px
  • 20 m
  • EPSG:32730
  • 3.3 MB

Inside: README.txt, st-helena-sentinel2-bands.bil, st-helena-sentinel2-bands.hdr, st-helena-sentinel2-bands.prj

Contains modified Copernicus Sentinel data 2024

Frequently asked questions

All three store the same raw pixel values and differ only in how bands are ordered. BSQ stores one whole band after another, BIL stores one row of each band in turn, and BIP stores all band values for each pixel together. The LAYOUT keyword in the .hdr file tells software which one is used.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.