Skip to content
Private: files never leave your device

Image MIME Types List

A MIME type, also called a media type or content type, is the label a server, browser or upload form uses to say what kind of file it is handling. This list gives the MIME type and file endings for every image format you are likely to meet, taken from the official IANA registry and the MDN image format guide.

Image MIME types from the IANA registry and MDN: image/jpeg for JPG and JPEG, image/png for PNG, image/webp for WebP and image/svg+xml for SVG

The main image MIME types are image/jpeg for .jpg and .jpeg files, image/png for PNG, image/webp for WebP, image/avif for AVIF, image/gif for GIF, image/svg+xml for SVG and image/heic or image/heif for HEIC and HEIF photos. Every type in the table below was checked against the IANA media types registry and the MDN image format guide on 23 November 2026.

Common image MIME types

FormatMIME typeFile endings (MDN)Registered with IANAReference listed by IANA
JPEGimage/jpeg.jpg, .jpeg, .jfif, .pjpeg, .pjp (also .jpe, .jif)YesRFC 2045, RFC 2046
PNGimage/png.pngYesW3C PNG Working Group
APNG (animated PNG)image/apng.apng, .pngYesW3C PNG Working Group
WebPimage/webp.webpYesRFC 9649
AVIFimage/avif.avifYesAlliance for Open Media
GIFimage/gif.gifYesRFC 2045, RFC 2046
SVGimage/svg+xml.svgYesW3C
JPEG XLimage/jxl.jxlYesISO/IEC JTC 1/SC 29/WG 1
BMPimage/bmp.bmpYesRFC 7903
TIFFimage/tiff.tif, .tiffYesRFC 3302
ICO (icons)image/x-icon in MDN; image/vnd.microsoft.icon in IANA.ico, .curOnly as image/vnd.microsoft.iconIANA registration by Simon Butcher

MDN lists the JPEG endings in two places with slightly different sets, so both are shown above. The format and the MIME type are the same whichever ending a JPEG file uses; our guide to JPEG vs JPG explains why there are several.

Image types for photos from phones and specialist formats

FormatMIME typeNotes
HEIC (single image)image/heicRegistered by ISO/IEC JTC 1
HEIC sequenceimage/heic-sequenceImage sequences in HEIC
HEIF (single image)image/heifThe wider HEIF container that HEIC belongs to
HEIF sequenceimage/heif-sequenceImage sequences in the HEIF container
JPEG 2000image/jp2Registered with RFC 3745; not shown in MDN browser tables

None of the HEIC or HEIF types appear in the MDN browser support tables, so do not rely on them for images shown on a web page. Convert them first with HEIC to JPG or HEIC to WebP.

Which image types browsers show

MDN lists APNG, AVIF, GIF, JPEG, PNG, SVG and WebP as supported by Chrome, Edge, Firefox, Opera and Safari, and JPEG XL as supported by Chrome, Edge, Firefox and Safari. It advises giving AVIF and JPEG XL a fallback with the picture element. In the same guide, BMP and ICO show in all the major browsers, while TIFF is listed for Safari only.

Using image MIME types in an upload form

The HTML file input takes an accept attribute. MDN says it can contain file endings that start with a period, full MIME types, or the wildcard image/*, separated by commas. A form for profile photos might use:

<input type="file" accept="image/jpeg,image/png,image/webp,.jpg,.jpeg,.png,.webp">

Listing both the MIME type and the endings helps when a device reports a type the form does not expect. MDN also warns that accept is only a hint to the file picker and does not validate the files, so the server must still check every upload.

A file was rejected for its type? The MIME type comes from what is inside the file, not just its name. Renaming a WebP to .jpg does not make it image/jpeg; convert it with WebP to JPG or PNG to JPG instead.

Common mistakes

  • image/jpg is not a registered type. IANA lists only image/jpeg, so use that in code and server settings.
  • image/svg without +xml is not registered either; SVG is image/svg+xml.
  • image/x-icon vs image/vnd.microsoft.icon: MDN uses the first and IANA registers the second, so accept both when checking icon uploads.
  • image/heic for websites: registered, but not in the MDN browser tables, so serve JPG, WebP or AVIF to visitors.

Sources and dates

PageCheckedUsed for
IANA media types registry: image (CSV export)23 November 2026Which image types are registered and the reference for each
MDN: image file type and format guide23 November 2026File endings, browser support, image/x-icon
MDN: the accept attribute23 November 2026Accepted specifier forms and the warning about validation

Frequently asked questions

What is the MIME type for JPG?

image/jpeg. It covers both .jpg and .jpeg files. image/jpg is not registered with IANA, so avoid it in code and server settings.

What is the MIME type for PNG?

image/png. Animated PNG files have their own registered type, image/apng, although MDN notes they can also use the .png ending.

What is the MIME type for WebP?

image/webp, registered with IANA through RFC 9649. The file ending is .webp.

What is the MIME type for HEIC photos?

image/heic for a single image and image/heic-sequence for an image sequence, both registered by ISO/IEC JTC 1. The wider container uses image/heif.

What is the MIME type for an ICO favicon?

IANA registers image/vnd.microsoft.icon, while MDN lists image/x-icon. Accept both when checking icon uploads, because either label can be reported.