Fake File Detector
Is that "invoice.pdf" really a PDF — or invoice.pdf.exe in disguise? Read the file's true type from its magic bytes.
100% private — only reads signature bytes, never runs the fileInspect a suspicious file
Drop a file to begin
Got an attachment named something like "invoice.pdf.exe"? Find out what it really is before you double-click it.
How it works
Drop the file
Add any file you're unsure about — an email attachment, a download, a USB stick file. Only its first 64 KB are read, in your browser; nothing is executed or uploaded.
Read its magic bytes
Every format has an invisible signature: JPEGs start with FF D8 FF, PDFs with %PDF, Windows programs with MZ. The file name can lie; these bytes can't.
Get the verdict
See the real type, the full extension chain (invoice → pdf → exe), and clear flags for double extensions and name-vs-content mismatches.
Why file names can't be trusted
The oldest trick in malware history is also the simplest: rename a program to look like a document. A file called invoice.pdf.exe is a Windows executable — but because Windows hides known extensions by default, many people see only "invoice.pdf" and double-click it expecting a PDF viewer. That one click runs a program instead, and this exact disguise has delivered malware through email attachments for decades.
The defense is to ignore the name and read the file's magic bytes — the signature stamped into the first bytes of every real format. A genuine PDF begins with the text %PDF; a genuine JPEG begins with the bytes FF D8 FF; a Windows program begins with the letters MZ. These signatures are what your operating system actually uses to decide how to handle a file, so comparing them against the claimed extension exposes the disguise instantly.
Keep the honest limit in mind: magic bytes reveal the type, not the intent. A real PDF can still carry a malicious payload, and this tool will happily call it a PDF. Use it to unmask disguises — then let your antivirus decide about malice.
Frequently asked questions
How can you tell what a file really is?
What is a double-extension attack?
Why is invoice.pdf.exe dangerous?
Does this tool scan for viruses or malware?
Is the file uploaded anywhere?
Related Tools
Stain Removal Guide
Free interactive stain removal guide: pick from 40 common stains and your fabric type for step-by-step removal…
WhatsApp Chat Analyzer — Free Chat Stats
Analyze any WhatsApp chat export (.txt) free: message stats, busiest hours, top words, emojis and per-person…
WhatsApp Wrapped — Year in Review
Your WhatsApp chats, Wrapped-style: story cards with awards for most messages, longest streak, night owl, emoji…
Time Zone Converter
Convert times between US time zones and the rest of the world.
Fire Escape Plan Maker
Draw your home's floor plan on a grid, mark two escape routes per room plus an outside meeting point, then print a…
PDF Bates Stamper
Stamp sequential Bates numbers on every page of a PDF in your browser. Custom prefix, start number and position — free…