Image Format Detector

Extensions lie: a .jpg that is really a PNG confuses editors and upload forms. This tool reads the file's magic bytes - its true signature - and compares them with the file name extension and the type your browser reports, flagging any mismatch.

Drop your image(s) here, or click to browse
You can also paste from the clipboard (Ctrl+V). Files never leave your device.
Drop any file. The first bytes are read locally and compared with its name and reported type.
Detection reads the first bytes of the file itself (its magic bytes), never the name. A renamed file cannot hide its true format here.

How to use

  1. Drop any image file above - a renamed one is the interesting case.
  2. Compare the detected format with the extension and browser type.
  3. If they disagree, convert the file to the format you actually need.

Frequently asked questions

What are magic bytes?

Most file formats begin with a fixed signature: JPEG starts FF D8 FF, PNG starts 89 50 4E 47, and so on. Software that reads the signature knows the real format no matter what the file is named.

A site rejected my 'JPG' - could this be why?

Very possibly. Strict upload forms check the real format, and a PNG renamed to .jpg fails. Detect the truth here, then convert it with the matching ImgBleu converter if needed.

Which formats can it detect?

JPEG, PNG, GIF, WebP, AVIF, HEIC/HEIF, BMP, ICO, TIFF and SVG (detected from its text markup). Anything else is reported honestly as unknown.

Related tools

EXIF ViewerRemove MetadataColor PickerImage Resolution CheckerColor Palette GeneratorImage Size Calculator