IT Market
Tools/Images/Check an Image File Type and MIME Online
READY > SYSTEM READY
FORMAT
DETECTOR

ЗАГРУЗИТЬ
ФАЙЛ

Ожидание файла...

Превью

Tool guide

Check an Image File Type and MIME Online

Sometimes you only need three facts about a picture: what its name ends in, which type the browser thinks it is, and exactly how many bytes it takes up. That comes up when an upload form rejects an "unsupported type", when a mailbox trims an attachment against a byte limit, or when you want to check the weight before sending it to a chat. The page reports those properties as soon as you pick a file, entirely inside your own tab. See also: save that PNG as a flat JPG, turn a detected HEIC file into JPG, bring the file down to a set KB size.

How to use it

  1. Click the UPLOAD FILE panel and pick a picture — the field takes image/*, so JPG, PNG, WebP, GIF and other types the system knows all work.
  2. A property card appears straight away: the extension from the file name, the MIME line, and the size in bytes.
  3. Compare the MIME value with the allowed list on whichever form refused your file; most of them expect image/jpeg or image/png.
  4. Divide the byte count by 1024 to get kilobytes — that is the unit government portals and forums usually state their upload limit in.
  5. To inspect another file, just choose it in the same field and the property card refreshes.

FAQ

Does it read the real file signature inside the image?

No, and we will not pretend otherwise. The extension shown comes from the file name, and the MIME type is reported by the operating system, which derives it from that same extension. Rename a .webp to .jpg and this page will say JPG. A genuine check means reading the first bytes and matching them against format signatures, which this tool does not do.

Can I convert the file to PNG or JPG right here?

No, there is no conversion on this page; it only reports the properties of the file you picked. Use one of the dedicated converters instead — WebP to PNG, HEIC to JPG, PNG to JPG and the others in the related tools block. They run locally too, but they actually redraw the image and hand you a new file.

Why does the MIME type show as UNKNOWN?

The browser returns an empty string when the system does not recognise the extension. That happens with files that have no extension at all, with newer formats such as AVIF or JXL on older Windows builds, and with downloads saved without a name. The picture itself may be perfectly fine — the type registry simply has no entry for it.

How do I turn the byte count into megabytes?

Divide by 1,048,576, that is by 1024 twice. For instance 3,145,728 B is exactly 3 MB. Be aware that Windows Explorer and various websites round differently, and some services count a megabyte as one million bytes, so the same file can read as 3.0 MB in one place and 3.1 MB in another.

Does it show the pixel width and height?

No, the card lists only name, type and size. The dimensions live inside the file itself and would require decoding the image to read. If width and height are what you need, open the file in the resize or crop tool — both print the source resolution before you do anything.

Is the file sent anywhere during the check?

No. The page touches only the properties of the File object the browser hands over after you choose it: name, type and length. The image content is never read, let alone transmitted, so you can safely inspect a document you would not want to upload anywhere.

Does it work on a smartphone?

Yes, the file field opens the gallery or the file manager. One caveat: an iPhone often hands apps a JPEG copy of a photo from the Photos library, so you will see image/jpeg where you expected HEIC. Pick the file through the Files app to inspect the real one.

Examples

A form refuses a screenshot
Before: screenshot.webp, the form says "JPG and PNG only"
After: MIME: image/webp — the file has to be re-saved as PNG or JPG first
An attachment limit given in kilobytes
Before: photo.jpg, the application form allows at most 300 KB
After: Size: 612,480 B, roughly 598 KB — the shot needs to be compressed by half