Account

What new tool do you want?

Image Tools

FITS Viewer (Astronomy Images)

Open astronomy FITS images (.fits, .fit, .fts, .fits.gz) in your browser. Stretch them with zscale, percentiles, log, sqrt, asinh or histogram equalisation, read pixel values and RA/Dec under the cursor, browse every HDU and header card, and save the view as PNG.

How to use

  1. 1Drop a FITS file (gzip-compressed .fits.gz works too). The first image HDU opens with zscale limits.
  2. 2Change the limits, stretch and colour map; pick another HDU or cube plane; point at the image to read values and sky coordinates.
  3. 3Save the view as a PNG, or save the header as text.

Frequently asked questions

What is zscale?

The display range IRAF and SAOImage DS9 use by default. It fits a line to a sorted sample of pixel values, rejects outliers, and picks limits around the median from the slope, so faint sky detail shows without bright stars saturating everything. It's usually the best first look at a raw astronomical image.

Which FITS files can it open?

Images in the primary HDU or IMAGE extensions with 8, 16, 32 or 64-bit integer or 32/64-bit float data, including BZERO/BSCALE scaling (so unsigned 16-bit camera data reads correctly) and BLANK values. Cubes (3 or more axes) can be stepped through plane by plane. Tables are listed with their headers. Tile-compressed .fits.fz images need decompressing first.

Are the sky coordinates exact?

For headers with a TAN (gnomonic) or SIN projection described by CRPIX, CRVAL and a CD matrix (or CDELT with PC or CROTA2), the RA/Dec readout follows the FITS WCS standard and matches astropy. Distortion terms such as SIP or TPV, which wide-field and plate-solved images often carry, aren't applied, so the edges of a wide field can be off by a few arcseconds or more.

Why is the image upside down compared with my software?

FITS stores the first row at the bottom. This viewer shows row 1 at the bottom, the convention DS9 and most astronomy software use. Some photo editors that open FITS show it the other way up.

Is my file uploaded?

No. Everything is read and drawn in your browser.

Sources

Why raw astronomy images look black

A CCD frame often holds values from a few hundred counts of sky up to tens of thousands in the cores of bright stars. Mapping that full range linearly to 256 grey levels puts the sky and every faint object into the first few levels, so the image looks black with a few white dots. Display limits (zscale or a percentile) and a non-linear stretch (log, sqrt or asinh) are how astronomers make the faint parts visible without changing the data.

Example: checking a stacked image of a galaxy

Open the stacked FITS from your capture software. zscale shows the background and noise; switch to Asinh with 99.5% limits to see the galaxy's core and faint outer arms at once. Point at the background to check its level and at a star's core to see whether it's near the camera's saturation value (for a 16-bit camera, around 65,535). If the header has a plate solution, the readout gives the RA and Dec of whatever you point at.

HDUs, headers and cubes

A FITS file is a series of HDUs (header and data units). The header is a list of 80-character cards like EXPTIME = 300.0 or FILTER = 'Ha'. The filter box finds a keyword quickly, and Save writes the header as plain text. A data cube (for example a spectral cube or a set of frames) has a third axis; the plane slider steps through it.

Related tools

More: Image Tools