Detect the true format of any image file
Drop an image file into the tool and it reads the binary header bytes to determine the actual format — regardless of the file extension. The report shows the MIME type, format name, bit depth, color space, dimensions, and whether the file is animated. Use it to verify files with missing or incorrect extensions.
Use this tool freeFeatures
Magic-byte detection
The tool reads the first bytes of the file to identify the format using known magic-byte signatures. This works even when the extension is wrong, missing, or deliberately changed.
Detailed file report
Get the format name, MIME type, bit depth, color space, pixel dimensions, file size, and whether the image contains animation or transparency.
Batch detection
Drop multiple files at once and get a summary table showing the detected format for each file. Quickly spot mislabeled files in a batch.
Wide format coverage
Recognizes JPEG, PNG, WebP, GIF, BMP, TIFF, SVG, ICO, AVIF, HEIC, and more. New formats are added as browser support expands.
How to use
Upload a file
Drag any image file into the tool. Files with missing or wrong extensions work perfectly.
View the report
The tool instantly displays the detected format, MIME type, dimensions, bit depth, and other properties.
Copy results
Click to copy the full report as text or download it as a JSON file for programmatic use.
Specifications
| Detection method | Magic-byte header analysis |
| Supported formats | JPEG, PNG, WebP, GIF, BMP, TIFF, SVG, ICO, AVIF, HEIC |
| Output | Format name, MIME, dimensions, bit depth |
| Batch support | Up to 100 files |
| Max file size | 100 MB |
| Processing | Client-side (no upload) |
Related Magic Eraser Tools
Common questions
Why would a file extension be wrong?
+
File extensions can be changed manually, lost during transfer, or set incorrectly by software. Some platforms strip or rename extensions on upload. The tool reads the actual binary data, so it always reports the true format regardless of what the extension says.
Can this tool detect RAW camera formats?
+
The tool focuses on web image formats. RAW files like CR2, NEF, and ARW may be partially detected by their TIFF-based headers, but the tool does not parse vendor-specific RAW metadata.
Does the tool modify my file?
+
No. The tool only reads the file to inspect its header bytes. It does not alter, re-encode, or save any data. The file remains exactly as it was.
Need to convert the detected format?
AI Enhance can convert and optimize images across formats while improving quality. Identify the format here, then convert it to exactly what you need.
Try it freeMore free tools
Explore our other limited free edits after sign-in photo and image tools.
Resize images to exact pixel dimensions for social media, web, and print. Sign-in required for free edits. Supports JPEG, PNG, and WebP up to 50 MB.
Compress JPEG, PNG, and WebP images by up to 80 % with minimal visible quality loss. Adjust the quality slider for full control. Sign-in required for free edits.
Convert PNG images to JPEG format instantly. Adjust output quality, pick a background color for transparent areas, and download — sign-in required.
Convert JPEG images to PNG format for lossless quality and transparency support. Ideal before background removal. Sign-in required; no install required.
Convert Apple HEIC and HEIF photos to universally compatible JPEG format. Works in the browser — no app install, sign-in required, no file uploads to a server.
Convert JPEG and PNG to WebP for faster page loads, or convert WebP back to JPEG/PNG for compatibility. Sign-in required, no install, runs in the browser.