←
Files

File Type Detector

Loading the tool…

Ready when you are.Runs in this browser · nothing is uploaded

What kind of file is this, really?

  • Free
  • No sign-up
  • No upload
  • Batch
  • Works offline

Tool facts

Opens
Any file
Price
Free, no sign-up, no watermark
Are files uploaded?
No. Everything is processed in this browser, on your device.
Batch processing
Yes, several files at once
Offline use
Works without a connection once this page has loaded
Browser
A recent Chrome, Edge, Firefox or Safari, on computer or phone.

Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.

About File Type Detector

File Type Detector identifies a file from its content rather than its name. Most formats begin with a fixed byte sequence, a so-called magic number or file signature: PNG files start with 89 50 4E 47, PDFs with %PDF-, ZIP archives with PK. The tool reads the beginning of the file, matches it against signatures for more than 120 formats (images, documents, archives, audio, video, fonts, executables, databases and disk images) and tells you the real type, its MIME type and its usual extensions.

It then compares the result with the file's extension and warns you about mismatches, such as a photo saved as .png that is really a JPEG, a download without an extension, or a program disguised as a document. ZIP-based formats like DOCX, XLSX, PPTX, EPUB, JAR and APK are told apart by the files they contain, and old Office files by their internal streams. A highlighted hex dump shows the bytes the decision was based on. Only the first and last 64 KB are read, locally.

File Type Detector runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.

How to use File Type Detector

  1. Drop one or more files onto the page or click to choose them. You can also paste a file with Ctrl V.
  2. Read the detected type, MIME type and the usual extensions for that format.
  3. Check the extension verdict: a green ✓ means name and content agree, a red ⚠ means they don't.
  4. Open the hex dump to see the first bytes, with the matching signature highlighted.

Frequently asked questions

How does detection by magic bytes work?

Most binary formats start with a signature defined in their specification, for example FF D8 FF for JPEG or 50 4B 03 04 for ZIP. Some keep it at a fixed offset, such as ustar at byte 257 of a TAR archive or CD001 at byte 32769 of an ISO image. The tool checks these signatures from most to least specific and reports the first match.

Why is a text file shown as "Plain text"?

Text formats like CSV, Markdown, source code or logs have no signature, so they can only be recognised as valid UTF-8 or ASCII text. HTML, XML, SVG, JSON, PEM keys and a few others are recognised from their typical first characters.

Can this tell me if a file is safe?

No. It tells you what format a file is, which helps you spot a renamed executable or an unexpected archive, but it does not scan for viruses. Be careful with any file flagged as a program, especially if its name says otherwise.

Is my file uploaded?

No. Only the first and last 64 KB of each file are read by your browser, and nothing is sent anywhere. That's also why even very large files are identified instantly.

What should I do if the extension is wrong?

If the content is a common format, renaming the file to the suggested extension usually makes it open in the right program. For example a .png that is really a JPEG can simply be renamed to .jpg.

· Free · Runs in this browser · nothing is uploaded

Drop any file here
Drop it to see which tools can open it