# FITS — Flexible Image Transport System (FITS)

> FITS (Flexible Image Transport System (FITS)): Standard astronomy format for images and tables, also used for planetary rasters georeferenced with WCS keywords. Specs, software and free sample files; convert FITS to 50 formats online.

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



## What is a FITS file?

The Flexible Image Transport System (FITS) is the standard data format of the astronomy community. It was introduced in the early 1980s and is maintained under the authority of the International Astronomical Union FITS Working Group. In addition to astronomical images, spectra and tables, it is used in planetary science for mapped rasters of planets and moons, where World Coordinate System (WCS) keywords describe the georeferencing.

A FITS file consists of one or more Header/Data Units (HDUs). Each header is human-readable ASCII made of 80-character keyword records stored in 2880-byte blocks, beginning with the SIMPLE keyword in the primary HDU. Data units hold n-dimensional arrays or ASCII and binary tables. Pixel types include 8-bit unsigned integers, 16-, 32- and 64-bit signed integers, and 32- or 64-bit floating point. A tiled image compression convention supports Rice and gzip. The WCS model differs from typical GIS CRS definitions.

FITS files are exchanged mainly by astronomers, observatories, space agencies and planetary scientists, and sometimes reach GIS users as mapped planet or moon rasters. Check how many HDUs the file contains, since the image may not be in the primary HDU. Also check the BSCALE and BZERO keywords, and note that WCS keywords may not map cleanly to a GIS coordinate system.

### Technical details

| | |
|---|---|
| Full name | Flexible Image Transport System (FITS) |
| Data type | Raster · Scientific & multidimensional |
| File extension | .fits, .fts |
| Files | Single file |
| Media type | image/fits |
| Bands | 1–N bands (image HDUs). |
| Pixel types | 8/16/32-bit int, 32/64-bit float |
| Compression | None, Rice/gzip (tiled extensions) |
| Coordinate system | Any (georeferenced) |
| Converter support | Read & write |
| Typical software | SAOImage DS9, Astropy, GDAL/OGR, QGIS, ImageJ, IRAF |
| Specification | https://fits.gsfc.nasa.gov/fits_standard.html |

### Specifications & references

- https://fits.gsfc.nasa.gov/fits_standard.html
- https://gdal.org/en/stable/drivers/raster/fits.html

### Sample FITS files — free download

- [Elevation (Float32)](https://beta.mygeodata.cloud/static/landing/samples/v1/fits/st-helena-dem.fits) — 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. FITS format. (1.2 MB, EPSG:4326)

### Convert FITS to other formats

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

## Frequently asked questions

### Can I read a FITS header without special software?

Yes. The header is plain ASCII in 80-character records, so a text editor or a hex viewer will show keywords such as SIMPLE, NAXIS and BITPIX. The data after the header is binary and needs a FITS-aware reader.

### Why does my FITS file show no image or appear empty?

The primary HDU may hold no data, with the image stored in an extension HDU. This is common with compressed or multi-extension files. Open the file in a viewer that lists all HDUs and select the extension that holds the image.

### Why is the georeferencing of a FITS raster not recognized in GIS?

FITS describes position with World Coordinate System keywords, which differ from the CRS definitions typical in GIS. Planetary files may use a body-specific projection that a GIS does not know by default, so the CRS may need to be assigned manually after conversion.

### What is a FITS file?

The Flexible Image Transport System (FITS) is the standard data format of the astronomy community. It was introduced in the early 1980s and is maintained under the authority of the International Astronomical Union FITS Working Group. In addition to astronomical images, spectra and tables, it is used in planetary science for mapped rasters of planets and moons, where World Coordinate System (WCS) keywords describe the georeferencing.

A FITS file consists of one or more Header/Data Units (HDUs). Each header is human-readable ASCII made of 80-character keyword records stored in 2880-byte blocks, beginning with the SIMPLE keyword in the primary HDU. Data units hold n-dimensional arrays or ASCII and binary tables. Pixel types include 8-bit unsigned integers, 16-, 32- and 64-bit signed integers, and 32- or 64-bit floating point. A tiled image compression convention supports Rice and gzip. The WCS model differs from typical GIS CRS definitions.

### How do I open a FITS file?

FITS files can be opened in SAOImage DS9, Astropy, GDAL/OGR, QGIS and ImageJ. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert FITS to?

Popular conversions are HFA, JPG, TIF, BIL, DEM and GeoPDF raster. In total the Converter writes FITS data to 50 formats.

### How do I create a FITS file?

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

