File Extension Detector

Got a file with no extension, or one that won't open? Find its real extension and download it with the right name.

Drop the mystery file

files without an extension are welcome

● Your files are processed locally in your browser and are not uploaded to our servers.

How to find a file's extension

  1. Drop the mystery file — files without any extension are welcome.
  2. Read the current extension, the correct extension and the format detected from the file's content.
  3. Check the suggested new file name and click Download renamed file. The content is unchanged; only the name is fixed.

Why files lose their extension

How the detection works

The name of a file can be anything, but its first bytes usually reveal what it really is. A PDF starts with %PDF, a PNG with 89 50 4E 47, a ZIP with PK. The detector reads this signature on your device and suggests the matching extension. Office documents (DOCX, XLSX, PPTX), EPUB books and APK apps are ZIP files inside: they're told apart by what the archive contains.

Common results

Detected formatExtensionOpens with
PDF document.pdfAny browser, PDF reader
JPEG / PNG / WebP image.jpg / .png / .webpAny image viewer or browser
Word, Excel, PowerPoint.docx / .xlsx / .pptxOffice, Google Docs, LibreOffice
ZIP archive.zipWindows, macOS, or the ZIP Extractor
MP4 video / MP3 audio.mp4 / .mp3Any media player

How to rename a file yourself

Windows: in File Explorer, enable View → Show → File name extensions, then rename the file and add the extension. macOS: select the file, Get Info, and edit Name & Extension. Renaming only changes the label — it doesn't convert the format.

FAQ

Is a file safe once I know its type?

Not necessarily. Knowing the type tells you what a file is, not whether it's harmful. Never open an unexpected program (.exe) or a macro-enabled document.

Can I check several files at once?

Use the File Type Detector, which takes several files and flags mismatched extensions. To see the raw bytes, open the Binary File Viewer.

Are my files uploaded?

No. The file is read in your browser and never leaves your device.