English

View a MAT file online, free

Open and read .MAT files online. View source, logs and text with syntax highlighting, search and line numbers, free.

Drop your .MAT file here

Opens your .MAT file right here.

Choose file
Up to 50 MB · 160+ text and code extensions
Instant. Opens in seconds
No sign-up. Just open it
100% free. No limits on use

What you get for a .MAT file

We don't have a dedicated viewer for this format, so we identify and inspect it instead — honestly, only what can be read from the file.

01

Drop your .MAT file

Choose it or drag it in. It's read right here in your browser.

02

We identify it

We read the magic bytes to tell what the file really is, its MIME type, and whether the name matches the contents.

03

See the details

Any metadata we can extract (dimensions, EXIF/GPS, document author and dates), a hex view, plus readable text and strings found inside.

What is a .MAT file?

Plain text that programs, servers and people write every day.

A .MAT file is a Microsoft Access table shortcut used for data management. These files contain shortcuts to specific tables within a database, allowing for quick access to information. They are typically opened using Microsoft Access or the broader Microsoft Office suite.

Programs that open .MAT files

Windows
MATLAB, GNU Octave, HDFView (v7.3 only), Python (SciPy / h5py)
macOS
MATLAB, GNU Octave, Python (SciPy / h5py)
Linux
MATLAB, GNU Octave, Python (SciPy / h5py)
.MAT format details
Full nameMATLAB MAT-File (Data)
DeveloperMathWorks
First releasedMAT-file Level 5 format with MATLAB 5 (1996); v7.3 (HDF5-based) added in MATLAB 7.3 (2006)
CategoryText & Code
MIME typeapplication/x-matlab-data
Signature4D 41 54 4C 41 42 20 35 2E 30 20 4D 41 54 2D 66 69 6C 65 "MATLAB 5.0 MAT-file" (Level 5 text header)

Related viewers

Every viewer is free to use.

Frequently asked questions

Is my .MAT file uploaded anywhere?

No. The file is read and highlighted for you.

Why do some characters look wrong (é, ł)?

That usually means the file was saved in one encoding and opened in another. We detect UTF-8, UTF-16 and the Windows-1250/1252 code pages automatically and show which one was used.

Can it handle huge log files?

Yes, up to 50 MB. Only the lines on screen are drawn, so scrolling stays smooth. Syntax colours are switched off for files over 1.5 MB to keep things fast.

How do the log level filters work?

We find levels like ERROR, WARN, INFO and DEBUG on each line. Lines without a level, such as stack traces, stay with the entry above them, so filtering to errors keeps the full trace.

Can I edit the file?

This is a viewer. To change code, download it or copy it into your editor. Converting encodings and line endings is planned.

Was this tool helpful?

Your rating helps us decide which tools to improve next.

Be the first to rate this tool.
Found a problem?