Free Online FITS File Viewer

Open and inspect astronomy and scientific FITS (Flexible Image Transport System) files privately in your browser. View HDU headers, image data with stretch controls, histograms, binary tables, and WCS metadata without uploading the file.

No signup
Local processing
Files stay local
Astronomy FITS parsing built in

Drop your FITS file here

Choose a .fits, .fts, or astronomy .fit file to inspect HDU headers, images, tables, and WCS metadata locally in your browser.

See an example before choosing your own file.

.FITS.FTSAstronomyScientific

How to open a FITS File file online

No registration and no installation required. FileViewerHub processes supported FITS File files locally in your browser.

1

Drop your FITS file

Drag and drop a .fits, .fts, or .fit (astronomy) file into the upload area or choose one from your device.

2

Navigate HDUs and headers

Browse all Header Data Units (HDUs), inspect 80-character header cards, and view metadata like object name, telescope, instrument, and observation date.

3

View images and tables

Render image HDUs with linear, log, sqrt, or asinh stretch. Inspect binary tables, histograms, cube slices, and WCS metadata — all locally in your browser.

What is a FITS file?

FITS stands for Flexible Image Transport System. It is the standard data format used in astronomy and scientific imaging for storing image data, multi-dimensional arrays, binary tables, and structured metadata.

A FITS file is organized into Header Data Units (HDUs). Each HDU contains an 80-character card-based header followed by optional data. The primary HDU typically contains an image, while extension HDUs can contain additional images, binary tables (BINTABLE), or ASCII tables. Headers carry scientific metadata such as object name, telescope, instrument, observation date, exposure time, and World Coordinate System (WCS) information.

FITS supports multiple BITPIX values (8, 16, 32, 64, -32, -64) for different numeric precisions, BSCALE/BZERO for physical value scaling, and BLANK for missing data. Multi-dimensional data cubes (NAXIS > 2) are common in spectroscopy and radio astronomy.

A FITS file is not the same as a FIT file. FIT (Flexible and Interoperable Data Transfer) is a Garmin fitness activity format. Despite the similar names and the shared .fit extension, the two formats are completely unrelated. FileViewerHub automatically detects the difference and routes your file to the correct viewer.

Powerful client-side FITS inspection

FileViewerHub processes your FITS files inside your browser for private, instant inspection. No uploads, no servers, no telemetry of your scientific data.

Multi-HDU navigation with type, EXTNAME, and dimensions
Full header card viewer with keyword search and filtering
Image rendering with Linear, Log, Sqrt, and Asinh stretch
Percentile clipping (1%-99%, 0.5%-99.5%, 5%-95%)
Live histogram with 128 bins for intensity distribution
BSCALE/BZERO physical value scaling and BLANK handling
Binary table (BINTABLE) and ASCII table inspection
Data cube slicing for NAXIS > 2 multi-dimensional arrays
WCS metadata display (CTYPE, CRPIX, CRVAL, CDELT, CD/PC matrix)
Cursor pixel coordinate and value readout
Downsampled previews for large images (memory-safe)
All processing local — files never leave your browser

What you can inspect

Primary HDU header
Extension HDU headers
80-character header cards
SIMPLE, BITPIX, NAXIS values
BSCALE and BZERO scaling
BLANK pixel handling
Image dimensions (NAXIS1, NAXIS2)
Multi-dimensional cubes (NAXIS > 2)
Cube slice selection
Linear / Log / Sqrt / Asinh stretch
Percentile clipping (1%-99%)
Pixel value at cursor position
Image histogram (128 bins)
Binary table columns (BINTABLE)
ASCII table columns (TABLE)
Table row values (paginated)
TTYPEn, TFORMn, TUNITn metadata
EXTNAME and EXTVER
Object name and telescope
Instrument and observer
Observation date and exposure time
Filter information
WCS metadata (CTYPE, CRPIX, CRVAL)
CHECKSUM and DATASUM

Is it safe to open FITS files here?

Security note

Supported files are processed locally in the browser, helping users inspect their files without uploading the contents to FileViewerHub servers. Your FITS image data, headers, coordinates, and table contents never leave your device.

View a sample FITS File file

sample-image.fits

Not sure what you'll see? Open our safe sample file as an example to preview how the viewer displays its contents.

Download sample

Frequently asked questions

What is a FITS file?

FITS stands for Flexible Image Transport System. It is the standard data format used in astronomy and scientific imaging for storing image data, multi-dimensional arrays, binary tables, and metadata headers. FITS files are produced by telescopes, observatories, space missions, and scientific instruments worldwide.

Is a FITS file the same as a FIT file?

No. FITS (Flexible Image Transport System) is an astronomy data format. FIT (Flexible and Interoperable Data Transfer) is a Garmin fitness activity format. They are completely unrelated despite the similar names. FileViewerHub automatically detects the difference when you upload a .fit file and routes it to the correct viewer.

How can I open a FITS file online?

Drop your .fits, .fts, or astronomy .fit file into the FileViewerHub upload area or click "Open FITS File". The viewer parses the file locally in your browser and displays HDU headers, image previews, histograms, tables, and WCS metadata. You can also try a sample FITS file without uploading anything.

Does FileViewerHub upload my FITS file?

No. All parsing happens locally inside your browser using a Web Worker. Your FITS file contents, image data, coordinates, metadata, and table values are never sent to a server, never stored in analytics, and are cleared from memory when you reset the viewer or leave the page.

What image stretch modes are supported?

The viewer supports Linear, Log, Square Root, and Asinh (inverse hyperbolic sine) stretch modes. You can also apply percentile clipping (Min-Max, 1%-99%, 0.5%-99.5%, 5%-95%) or set custom min/max values. Stretching affects only the display — the original scientific pixel values are never modified.

What BITPIX values are supported?

The viewer supports the common FITS BITPIX values: 8-bit (unsigned byte), 16-bit (signed integer), 32-bit (signed integer), 64-bit (signed integer), -32 (single-precision float), and -64 (double-precision float). BSCALE and BZERO physical value scaling is applied automatically.

Can I view multi-HDU FITS files?

Yes. The HDU navigator lists all Header Data Units in the file, showing the HDU number, type (Primary, Image, BinTable, AsciiTable), EXTNAME, and dimensions. Selecting an HDU updates the main viewer to show its header, image, or table data.

Does the viewer support FITS binary tables?

Yes. BINTABLE extensions are decoded with column names, types (TFORM), units (TUNIT), and row values. Tables are paginated to keep the viewer responsive with large datasets. Vector columns are displayed in a bounded format to avoid rendering enormous arrays.

Can I view FITS data cubes?

Yes. For FITS files with NAXIS greater than 2 (data cubes), the viewer provides a slice control to select a 2D plane along the additional axis. Only the selected plane is decoded and rendered, keeping memory usage bounded.

Does the viewer show WCS metadata?

Yes. When WCS (World Coordinate System) keywords are present (CTYPE, CRPIX, CRVAL, CDELT, CUNIT, CD matrix, PC matrix), the viewer displays them in a dedicated WCS tab. Full celestial coordinate transformation (pixel to RA/Dec) is not performed in this version.

Can I open large FITS files on mobile?

The viewer uses a Web Worker, downsampled previews, and lazy HDU decoding to handle large files, but browser memory limits apply on all devices. FITS images can expand into very large numeric arrays. The maximum file size is 100 MB, and very large images are downsampled for display.

Are compressed FITS files supported?

The viewer focuses on standard uncompressed FITS files. Tile-compressed FITS extensions and .fits.gz files may not be fully supported. If a compressed HDU is encountered, the viewer shows a clear message rather than crashing.

Ready to view your file?

Drop your .fits file above to inspect HDU headers, image data, histograms, and tables privately in your browser.