Archives & files

What File Is This?

Drop any file, even one with no extension or the wrong one, and see what it really is. The type is read from the file's own signature bytes, not its name.

  • The file is inspected on your device. Nothing is uploaded.
Try:

How it works

1

Drop the file on the box above, choose it, or paste it. It can have any name, or none.

2

Read the result: the detected type, its MIME type, the usual extension and how confident the match is. If the name and the content disagree you get a plain warning such as "This .png is really a JPEG image".

3

Check the hex dump of the first 64 bytes. The bytes that matched the signature are highlighted, so you can see the evidence yourself.

4

Use the links under "What can I do with it?" to convert, open, compress or inspect the file. The file is handed to the tool inside your browser.

How it recognises a file

Most binary formats start with a fixed run of bytes called a signature or magic number: 89 50 4E 47 for PNG, 25 50 44 46 ("%PDF") for PDF, 50 4B 03 04 ("PK") for ZIP. The checker compares the start of the file, and a few places near the end of it, against a table of 381 formats. Where a signature is shared by a whole family it looks one level deeper:

  • ZIP files are opened to read their entry list, so a ZIP becomes a Word, Excel or PowerPoint file, an OpenDocument file, an EPUB, a JAR, an Android APK, an iOS IPA and so on.
  • Old Office files (DOC, XLS, PPT, MSG, MSI) share one container, so its directory is read to tell them apart. Password-protected Office files are spotted too.
  • MP4, MOV, HEIC and AVIF all use the same box structure; the brand code decides which one it is. Matroska and WebM are told apart by their DocType, and Ogg by its first codec.
  • TIFF-based camera RAW files (CR2, NEF, ARW, DNG and others) are told apart by their maker tag and format markers.
  • Windows executables, ELF and Mach-O programs, Java classes and WebAssembly modules are parsed far enough to report the architecture, and a DLL is told from an EXE.
  • Certificates and keys are recognised from PEM headers, and binary DER files by walking their ASN.1 structure.
  • Text has no signature, so it is analysed instead: byte order marks, UTF-8 or UTF-16, and then JSON, XML, HTML, CSV, Markdown, YAML, scripts with a shebang, email headers and more.

Why extensions lie

A file name is just a label. Photos from an iPhone are HEIC even when an app saves them as .jpg, a Word file renamed to .zip is still a Word file, a download with no extension is still a PDF, and malware is often an executable renamed to look like an invoice. The checker shows when the label and the content disagree, and it flags programs that wear a document or image extension.

Confidence

High means a long signature matched or a container was read and its structure confirmed. Medium means a short signature or a text heuristic matched. Low means a guess, for example source code recognised by its syntax, or nothing matched and the result is "unknown binary data" together with its entropy. The checker never claims more certainty than it has.

What it recognises

381 formats in 15 groups. Open a group to see the list.

Images (43)

PNG image · Animated PNG · JPEG image · GIF image · BMP bitmap · WebP image · TIFF image · BigTIFF image · Windows icon · Windows cursor · HEIC image · HEIF image · AVIF image · AVIF animated image · JPEG 2000 image · JPEG 2000 codestream · JPEG XL image · Photoshop document · Photoshop large document · GIMP image · DirectDraw surface texture · KTX texture · KTX2 texture · OpenEXR image · Radiance HDR image · PCX image · Targa (TGA) image · SVG vector image · Portable anymap image (PBM, PGM, PPM) · DPX image · macOS icon · Windows Metafile · Enhanced Metafile · Encapsulated PostScript · Sun raster image · XPM image · QOI image · Farbfeld image · BPG image · FLIF image · MNG animation · JNG image · Cineon image

Camera RAW (17)

Canon CR2 RAW photo · Canon CR3 RAW photo · Canon CRW RAW photo · Nikon NEF RAW photo · Sony ARW RAW photo · Adobe DNG RAW photo · Olympus ORF RAW photo · Panasonic RW2 RAW photo · Fujifilm RAF RAW photo · Pentax PEF RAW photo · Samsung SRW RAW photo · Sigma X3F RAW photo · Minolta MRW RAW photo · Hasselblad 3FR RAW photo · Phase One IIQ RAW photo · Epson ERF RAW photo · Kodak RAW photo

Video (23)

MP4 video · Apple M4V video · QuickTime movie · 3GP video · 3G2 video · Flash F4V video · Motion JPEG 2000 video · Matroska video · WebM video · AVI video · Flash video (FLV) · Windows Media video · ASF stream · MPEG program stream · MPEG video stream · MPEG transport stream · Blu-ray MPEG-TS · Ogg video · RealMedia · Flash (SWF) · MXF video · IVF video · YUV4MPEG2 video

Audio (34)

MP3 audio · MPEG Layer II audio · AAC audio (ADTS) · WAV audio · FLAC audio · Ogg Vorbis audio · Opus audio · Speex audio · Ogg FLAC audio · M4A audio · M4B audiobook · AIFF audio · Sun AU audio · MIDI music · AMR audio · AMR-WB audio · Monkey's Audio · WavPack audio · Musepack audio · DSD Stream File audio · DSDIFF audio · Core Audio Format · Windows Media audio · True Audio · TAK audio · ProTracker module · FastTracker module · ScreamTracker module · Impulse Tracker module · RealAudio · Dolby AC-3 audio · DTS audio · Matroska audio · Creative Voice audio

Documents (41)

PDF document · PostScript document · Rich Text Format document · Word 97-2003 document · Excel 97-2003 workbook · PowerPoint 97-2003 presentation · Visio drawing · Publisher document · Hangul Word Processor document · Password-protected Office document · OLE compound file · Word document (DOCX) · Word macro-enabled document · Word template · Word macro-enabled template · Excel workbook (XLSX) · Excel macro-enabled workbook · Excel binary workbook · Excel template · PowerPoint presentation (PPTX) · PowerPoint macro-enabled presentation · PowerPoint slide show · PowerPoint template · Visio drawing (VSDX) · OpenDocument text · OpenDocument spreadsheet · OpenDocument presentation · OpenDocument drawing · OpenDocument formula · OpenDocument database · OpenDocument text template · OpenDocument spreadsheet template · OpenDocument presentation template · XPS document · Apple Pages document · Apple Numbers spreadsheet · Apple Keynote presentation · OneNote notebook · DjVu document · Compiled HTML Help · WordPerfect document

Email (8)

Outlook message (MSG) · Email message (EML) · Apple Mail message (EMLX) · Mailbox (MBOX) · Outlook winmail.dat (TNEF) · Outlook data file (PST/OST) · vCard contact · iCalendar event

Executables (24)

Windows Installer package · Windows executable (EXE) · Windows DLL · Windows driver · .NET assembly · EFI application · 16-bit Windows executable · DOS executable · ELF executable · ELF shared library · ELF object file · ELF core dump · Mach-O executable · Mach-O dynamic library · Mach-O object file · Mach-O universal binary · WebAssembly module · Java class file · Android Dalvik executable · Android optimized DEX · Lua bytecode · Python bytecode · LLVM bitcode · Windows shortcut (LNK)

Databases (33)

Access database (MDB) · Access database (ACCDB) · SQLite database · SQLite write-ahead log · SQLite rollback journal · Apache Parquet file · Apache Avro file · Apache ORC file · Apache Arrow IPC file · Feather v1 file · HDF5 file · NetCDF file · Berkeley DB file · LMDB database · DuckDB database · Realm database · Python pickle · NumPy array · MATLAB MAT-file · R data file · dBase database (DBF) · SPSS data file · KeePass database · Packet capture (PCAP) · Packet capture (PCAPNG) · Git pack file · Git index · GGUF model · Safetensors model · TensorFlow Lite model · macOS .DS_Store · Binary property list · PostgreSQL dump

Ebooks (7)

EPUB ebook · Kindle MOBI ebook · Kindle AZW3 (KF8) ebook · PalmDOC ebook · FictionBook ebook · Microsoft Reader ebook · Comic book archive (CBZ)

Archives (30)

ZIP archive · ZIPX archive · RAR archive · RAR 5 archive · 7-Zip archive · Gzip file · Gzip-compressed tar archive · Bzip2 file · XZ file · Zstandard file · LZ4 file · Lzip file · LZMA file · Unix compress (.Z) file · LZH archive · TAR archive · CPIO archive · Unix ar archive · Debian package · RPM package · Microsoft Cabinet archive · ARJ archive · ACE archive · StuffIt archive · PAR2 recovery file · Snappy framed file · ZPAQ archive · Lrzip file · ALZip archive · XAR archive

Disk images (24)

SquashFS filesystem · CramFS filesystem · Windows Imaging (WIM) · Apple disk image (DMG) · ISO 9660 disc image · UDF disc image · VHD virtual disk · VHDX virtual disk · VMware disk (VMDK) · VirtualBox disk (VDI) · QEMU disk (QCOW) · Raw disk image with MBR · Raw disk image with GPT · FAT filesystem image · NTFS filesystem image · exFAT filesystem image · ext2/3/4 filesystem image · HFS+ filesystem image · APFS container image · UF2 firmware · Android boot image · U-Boot uImage · Device tree blob · Android sparse image

Packages (19)

Chrome extension (CRX) · Java archive (JAR) · Java web archive (WAR) · Java enterprise archive (EAR) · Android app (APK) · Android App Bundle (AAB) · iOS app (IPA) · Firefox add-on (XPI) · Visual Studio extension (VSIX) · NuGet package · Python wheel · MSIX / APPX package · Google Earth KMZ · 3MF 3D model · Krita document · OpenRaster image · Anki deck · NumPy archive · PyTorch model

Fonts (10)

TrueType font · OpenType font · TrueType collection · WOFF font · WOFF2 font · Embedded OpenType font · PostScript Type 1 font (PFB) · PostScript Type 1 font (PFA) · BDF bitmap font · PCF bitmap font

Keys & certificates (27)

PEM public key · PEM certificate · PEM private key · PEM certificate request (CSR) · PEM PKCS#7 bundle · PEM certificate revocation list · PEM DH parameters · PEM encoded data · DER certificate · DER public key · DER private key · DER certificate request (CSR) · DER PKCS#7 / CMS file · DER certificate revocation list · PKCS#12 bundle (PFX) · ASN.1 DER data · Java KeyStore (JKS) · Java KeyStore (JCEKS) · OpenSSH private key · SSH public key · PuTTY private key · PGP public key · PGP private key · PGP encrypted message · PGP signature · GnuPG keybox · age encrypted file

Text & code (41)

JSON data · JSON Lines data · XML document · HTML page · RSS or Atom feed · XML property list · KML geographic data · GPX track · CSV table · TSV table · Markdown text · YAML data · TOML config · INI config · Shell script · Python script · Node.js script · Perl script · Ruby script · PHP script · PowerShell script · Batch file · SQL script · Diff or patch · LaTeX document · BibTeX bibliography · SubRip subtitles · WebVTT subtitles · ASS/SSA subtitles · CSS stylesheet · JavaScript source · Source code · Dockerfile · Gettext translation · UUencoded file · Base64 text · Data URL · Plain text · Plain text (UTF-16) · Plain text (UTF-32) · Plain text (legacy 8-bit encoding)

Where does the file go?

Nowhere. The file is read by your browser: the first 256 KB, the last 64 KB, and for ZIP files the directory at the end. Small text files are read fully to validate JSON. Nothing is sent over the network, and when you click a tool the file is passed to it through your browser's local storage, which is cleared after a few minutes.

Questions

Frequently asked questions

Is my file uploaded?

No. The file is read in your browser and never sent to a server. Only the beginning and the end of the file are read, so even a multi-gigabyte file is checked in a moment.

How can a file have the wrong extension?

Extensions are just part of the name and can be changed freely. Apps rename files on export, people rename them by hand, downloads lose their extension, and attackers rename executables to look harmless. The content, especially the first bytes, is what tells the truth.

Why is my DOCX or XLSX called a ZIP, or the other way round?

DOCX, XLSX, PPTX, ODT, EPUB, JAR and APK files are all ZIP archives with a particular set of files inside. The checker opens the ZIP directory to tell them apart. If you see plain ZIP for a file named .docx, it is a ZIP archive that does not contain the Word parts, so it may be damaged or not a Word file.

Can it tell me if a file is a virus?

No. It only tells you what the file is. It does warn when an executable or script carries a document, image or media extension, which is a classic trick. To look for malware inside archives use the archive virus scanner.

What does "unknown binary data" mean?

No known signature matched and the bytes are not text. That is normal for raw data, encrypted files, headerless dumps or formats outside the table. The entropy figure helps: values near 8 mean random-looking, compressed or encrypted data.

Does it check text files and code?

Yes. It detects the encoding (UTF-8, UTF-16, UTF-32, legacy 8-bit text), line endings, and common kinds such as JSON, XML, HTML, CSV, Markdown, YAML, TOML, SQL, shell and Python scripts, subtitles and email. These are recognised by their content, so confidence is usually medium or low for code.

Why does it say HEIC for my .jpg photo?

iPhones save photos as HEIC by default. If the file was renamed or shared with the wrong extension it keeps the HEIC content. Open it with the HEIC converter to get a real JPG.

Related tools