← All text tools

File type checker

Find a file's real type from its first bytes, even when the extension is wrong.

  • Free
  • No sign-up
  • Works on any device

About File type checker

A file extension can be wrong or missing. This tool reads the first bytes, known as the magic number, and tells you the real format, for example PNG files start with 89 50 4E 47 and PDFs with %PDF. It is useful for spotting renamed files and unknown downloads.

How to use File type checker

  1. Add the file you want to inspect.
  2. Read the detected type based on its first bytes.
  3. Compare it with the extension to spot a mismatch.

Why use this tool?

Also known as

Frequently asked questions

Can a file have the wrong extension?

Yes. Renaming photo.png to photo.jpg does not change the contents. The signature in the first bytes shows the true type, which programs actually rely on.

What is a magic number?

It is a fixed sequence of bytes at the start of many file types that identifies the format. The tool reads these bytes instead of trusting the name.

What if the tool says unknown?

Some formats such as plain text have no signature, and rare ones may not be in the list. Try opening the file in a text editor to check.

Is File type checker free?

Yes. File type checker on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put File type checker on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools