# ENVI — ENVI Raster (HDR labelled)

> ENVI (ENVI Raster (HDR labelled)): Raw binary raster paired with a plain-text .hdr header, widely used for multispectral and hyperspectral imagery. Specs, software and free sample files; convert ENVI to 50 formats online.

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



## What is a ENVI file?

The ENVI raster format is the native image format of the ENVI remote sensing software, now maintained by NV5 Geospatial and formerly developed by L3Harris and earlier owners. It is used for multispectral and hyperspectral imagery, classification results and other analysis products. Many scientific processing tools export to it because of its simplicity.

A dataset consists of a raw binary data file, often with an .img, .dat, .bsq, .bil or .bip extension or none at all. A companion plain-text .hdr file begins with the word "ENVI". The header lists keywords such as samples, lines, bands, data type, interleave (BSQ, BIL or BIP), byte order and header offset. It can also store band names, wavelengths and a map info block or coordinate system string for georeferencing. Supported pixel types include 8-, 16- and 32-bit integers, 32- and 64-bit floats and complex values. Data is normally uncompressed, so files can be large. If the .hdr file is missing, the binary data cannot be interpreted.

ENVI rasters are usually exchanged by remote sensing analysts, research groups and satellite data providers who need to pass multispectral or hyperspectral imagery between tools without compression or format overhead. The binary file and its .hdr header must stay together and keep matching names. Check the interleave, byte order and data type in the header, because a wrong value produces distorted or noisy images.

### Technical details

| | |
|---|---|
| Full name | ENVI Raster (HDR labelled) |
| Data type | Raster · Image & imagery |
| File extension | .img, .bsq, .bip, .bil |
| Files | Several files: .img and .hdr |
| Media type | — |
| Bands | 1–N (multiband / hyperspectral). |
| Pixel types | 8/16/32-bit integer, 32/64-bit float |
| Compression | None (raw) |
| Coordinate system | Any (georeferenced) |
| Converter support | Read & write |
| Typical software | ENVI, GDAL/OGR, QGIS, ArcGIS Pro, ERDAS IMAGINE, SNAP |
| Specification | https://www.nv5geospatialsoftware.com/docs/ENVIHeaderFiles.html |

### Specifications & references

- https://www.nv5geospatialsoftware.com/docs/ENVIHeaderFiles.html
- https://gdal.org/en/stable/drivers/raster/envi.html

### Sample ENVI files — free download

- [Sentinel-2 multispectral (BSQ)](https://beta.mygeodata.cloud/static/landing/samples/v1/envi/st-helena-sentinel2-bands-envi.zip) — 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. ENVI raw BSQ + .hdr with band names. (3.2 MB, EPSG:32730)
- [Elevation (Float32)](https://beta.mygeodata.cloud/static/landing/samples/v1/envi/st-helena-dem-envi.zip) — 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. ENVI raw + .hdr. (402.3 kB, EPSG:4326)

### Convert ENVI to other formats

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

## Frequently asked questions

### What do the BSQ, BIL and BIP options in the header mean?

They describe how pixel values are ordered in the binary file. BSQ stores one full band after another, BIL stores one row of each band in turn, and BIP stores all band values for each pixel together. The interleave keyword in the .hdr must match the actual data layout.

### Why does my ENVI image look striped, shifted or full of noise?

This usually means the header does not match the data. Common causes are a wrong byte order, data type, interleave, header offset or sample and line count. Compare these keywords with the values from the data provider and correct them in the .hdr file.

### Can I open the data file if the .hdr file is lost?

Not reliably. The data file is raw binary without dimensions or data type. If you know the samples, lines, bands, data type, interleave and byte order from the source, you can write a new .hdr file that begins with the word ENVI and lists them.

### What is a ENVI file?

The ENVI raster format is the native image format of the ENVI remote sensing software, now maintained by NV5 Geospatial and formerly developed by L3Harris and earlier owners. It is used for multispectral and hyperspectral imagery, classification results and other analysis products. Many scientific processing tools export to it because of its simplicity.

A dataset consists of a raw binary data file, often with an .img, .dat, .bsq, .bil or .bip extension or none at all. A companion plain-text .hdr file begins with the word "ENVI". The header lists keywords such as samples, lines, bands, data type, interleave (BSQ, BIL or BIP), byte order and header offset. It can also store band names, wavelengths and a map info block or coordinate system string for georeferencing. Supported pixel types include 8-, 16- and 32-bit integers, 32- and 64-bit floats and complex values. Data is normally uncompressed, so files can be large. If the .hdr file is missing, the binary data cannot be interpreted.

### How do I open a ENVI file?

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

### What can I convert ENVI to?

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

### How do I create a ENVI file?

Convert existing data to ENVI — for example from HFA, TIF, JPG, JP2 and BIL. Upload the file, choose ENVI as output and download the result.

### Which files belong to a ENVI dataset?

A ENVI dataset needs .img and .hdr. Binary data file (.img, .bsq, .bil or .bip) plus a text .hdr header with the same name that describes the layout and georeferencing; upload both together.

