File Type Detector

Click or drag and drop files here

Supports batch upload, automatically detects real file type (Magic Number)

About File Type Detector

Product Introduction

File Type Detector is a powerful pure frontend tool that accurately identifies the real file format by reading binary file header signatures (Magic Number). Unlike tools that rely only on file extensions or browser MIME types, our tool directly analyzes the binary content of files to ensure accurate identification results. All detection processes are completed in your browser without uploading any files to servers, fully protecting your privacy and data security.


Features

  • Accurate identification of 40+ file formats
  • Detection based on file header Magic Number signatures
  • Comparison between browser detection and signature detection
  • Displays hex signatures for advanced analysis
  • Checks if file extension matches actual type
  • Batch file detection support
  • Pure frontend processing, no files uploaded to server
  • Zero-latency detection with instant results
  • Supports images, audio, video, documents, archives, fonts, executables
  • Responsive design for desktop and mobile

How to Use

  1. 1Click the upload area to select files, or drag and drop files into the upload area
  2. 2The system automatically reads file header binary data and matches signatures
  3. 3Detection results are displayed instantly, including file type, MIME type, hex signature
  4. 4Compare browser detection type with signature detection type to identify mislabeled or spoofed files
  5. 5To detect other files, continue uploading or click clear button to reset results

Common File Magic Numbers

File TypeHex SignatureExtension
PDF25 50 44 46.pdf
PNG89 50 4E 47 0D 0A 1A 0A.png
GIF47 49 46 38 (GIF8).gif
JPEGFF D8 FF.jpg
WebP52 49 46 46 ... 57 45 42 50.webp
ZIP50 4B 03 04.zip
GZIP1F 8B.gz
7Z37 7A BC AF 27 1C.7z
RAR v552 61 72 21 1A 07 01 00.rar
MP349 44 33 (ID3) / FF FB.mp3
MP466 74 79 70 (ftyp).mp4
WebM/MKV1A 45 DF A3.webm
BMP42 4D (BM).bmp
TIFF (LE)49 49 2A 00.tiff
TIFF (BE)4D 4D 00 2A.tiff
OfficeD0 CF 11 E0 A1 B1 1A E1.doc/.xls/.ppt
EXE4D 5A (MZ).exe
ELF7F 45 4C 46.elf
JavaCA FE BA BE.class
TTF00 01 00 00.ttf
WOFF77 4F 46 46.woff
WOFF277 4F 46 32.woff2
PSD38 42 50 53 (8BPS).psd

FAQ

How many file types?
100+ types covering images, documents, archives, audio/video, executables, etc.
How accurate is detection?
Based on magic numbers (file header hex signatures), accuracy near 100%.
Can it detect renamed extensions?
Yes, based on actual content not extension, accurate even with renamed extensions.
Are files uploaded to server?
No, all detection local in browser, files never leave device.
What file size supported?
Only reads header key bytes, file size does not affect detection speed.

Related Tools

Online CalculatorCoin FlipDice RollerRock Paper ScissorsExcel to JSONAudio EditorPDF MergePDF CompressorPassword GeneratorWord CounterText CompareTimestamp ConverterFull Screen Text DisplayJSON to ExcelKeyCode FinderQR Code Generator & DecoderBarcode GeneratorReal Address GeneratorBMI CalculatorCountry CapitalsAge CalculatorSBTI Personality TestScreen TestCamera & Microphone TestRandom Name DrawCountdownStopwatchPomodoro TimerEmoji DictionaryWord Cloud Generator