Extension Validator
Check if a file's extension matches its actual content type. Detect suspicious double extensions.
Why validate extensions?
Filename extensions are easy to spoof — a malicious actor can label an executable as invoice.pdf to trick recipients. This tool reads the file's actual format from its magic bytes and flags any disagreement, plus suspicious double extensions like image.jpg.exe that may indicate a phishing or malware attempt.
Runs in your browser. The file is read locally and never uploaded.
or drag and drop
Frequently Asked Questions
What is a double extension and why is it suspicious?
A filename like "invoice.pdf.exe" has two extensions; on Windows, file managers may hide the final ".exe" so the file appears to be a PDF. Attackers use this to trick users into running executables. The tool flags any double extension so you can review it.
My extension was flagged as a mismatch — is the file dangerous?
Not necessarily. Some legitimate files use unusual extensions, and some formats share signatures (e.g., DOCX is technically a ZIP). A mismatch is a hint to investigate, not a verdict.
Does this tool fix the extension?
No — it only detects mismatches. To rename the extension, use the Extension Changer tool. To look inside the file safely without opening it, use Safe File Preview.