Hoglet

File type checker

Drop any file to see what it really is

Its first bytes are read on this device and set against its name. Nothing is uploaded, opened or run.

Nothing checked yet

File Type Checker: What Is This File Really? Private

Tell what a file really is from its first bytes.

A file’s name can say anything; its first bytes usually can’t. Most formats begin with a fixed signature (a “magic number”): a PNG with ‰PNG, a PDF with %PDF, a ZIP with PK. Drop a file, or several, and each is told by its signature and set against the extension in its name: a photo saved as .jpg that is really a PNG, a download with no extension, an attachment whose name says invoice.pdf but is a program. Word, Excel, PowerPoint, OpenDocument and EPUB files are ZIP archives inside, and are told apart by the names of the files at their start. Text has no signature, so a file that reads as text is named by what it starts with (JSON, XML, HTML, SVG, a script). A file whose name is wrong can be saved, or sent to another tool, under the right one; a program never is, so it can’t be run by mistake. Only the first 256 KB of each file are read, on your device: nothing is uploaded, opened or run. A signature says what a file claims to be inside; it can’t say a file is safe, or undamaged.

How to use File type checker

  1. Drop a file, or several, or press Choose files.
  2. See what each file really is, told by its first bytes and set against its name.
  3. If the name is wrong, press Save as to save the file under the right extension.

File type checker: common questions

Is it safe to check a file type online?

The file type checker reads only the first 256 KB of each file, in your browser, on your device. Nothing is uploaded, opened or run.

How can I tell what a file really is?

Most formats begin with a fixed signature, a “magic number”: a PNG starts with ‰PNG, a PDF with %PDF, a ZIP with PK. The file type checker reads it and names the real type, even for a file with no extension.

Can the file type checker tell if a file is safe?

No. A signature says what a file claims to be inside; it can’t say a file is safe or undamaged. The checker does warn when a program hides behind another extension, and never saves a program under a new name.

Everything stays on your device. Nothing is uploaded. Works offline once your first visit has stored the app.