UnHEIClocal image lab

File truth before conversion

Image format detector: what file type is this?

Identify an image by its bytes, not its filename. Choose a file and this page inspects a bounded header and trailer in your own browser, then reports the detected format, container and brand, magic bytes, safe dimensions, animation or multi-image evidence, and any MIME or extension mismatch. Ambiguous files stay unknown.

Binary inspection · no conversion

Drop a file or choose one locally

The inspector reads at most 64 KiB from the start and, for larger files, 8 KiB from the end. It never decodes pixels or uploads file bytes.

How the format detector works

  1. 1. Choose any local file. The file picker does not trust or restrict the extension.
  2. 2. Read a fixed byte budget. At most 64 KiB from the start and 8 KiB from the end are read. No pixel buffer is created.
  3. 3. Validate structure. Parsers bound chunk sizes, offsets, directory counts, dimensions, and loops before reading fields.
  4. 4. Compare claims with evidence. MIME and extension mismatches are warnings; they never override the signature.

Detected the format? Convert it

Every converter on this site checks the same signature before it decodes anything, so a renamed file is converted from what it really is.

Detector saysWhat it usually meansNext step
HEIC image containerAn iPhone or iPad photo, whatever its extension says.Convert HEIC to JPG
HEIF image containerA HEIF photo from an Android phone or a camera, often named .heif.Convert HEIF to JPG
AVIF imageAn AV1-coded image, usually saved from a website.Convert AVIF to JPG
WebP imageA web image; many older apps and web forms refuse it.Convert WebP to JPG
PNG imageLossless, often a screenshot; large for a photograph.Convert PNG to JPG
BMP imageAn uncompressed bitmap, usually far larger than it needs to be.Convert BMP to JPG
JPEG imageAlready the most widely accepted photo format.Compress it to a target size

Continue checking the file

Frequently asked questions

How do I check what format an image file really is?

Select the file here. The inspector reads a bounded range of the raw bytes and matches the signature, so the answer comes from the file contents rather than its name. A photo renamed to .jpg is still reported as the format its bytes describe.

Why does the detected format differ from the file extension?

An extension is only a claim that anyone can edit. Files are frequently renamed, saved by a tool that ignored the real encoding, or downloaded with a generic name. When the signature and the extension disagree, the signature wins and a mismatch warning is shown.

Can it tell HEIC, HEIF, and AVIF apart?

Yes. All three share the ISO BMFF container, so the container and the brand are reported as separate fields. That distinction matters because an AVIF item will not decode in a HEIC workflow even though the outer container looks similar.

What does an unknown result mean?

Unknown means the bounded evidence did not prove a supported format. The file may be truncated, an unsupported type, or structured so the identifying bytes fall outside the inspected ranges. The tool deliberately reports unknown instead of guessing from the extension.

Is the file uploaded to identify it?

No. At most 64 KiB from the start and 8 KiB from the end are read inside this browser tab, no pixels are decoded, and the site has no file-upload endpoint. Nothing about the file name or contents is sent anywhere.

My .jpg file turned out to be HEIC. What now?

That is common with photos sent from an iPhone or exported by some apps: the bytes are HEIC but the name ends in .jpg, so software that trusts the bytes refuses it. Renaming does not help. Open the HEIC to JPG converter, which reads the file by its signature too, and it produces a real JPEG.

Does this check whether a file is safe?

No. This is a format identifier, not a malware scanner or a full decoder-validation pass. It can reveal that a file is not what it claims to be, which is useful context, but a clean result is not a security guarantee.