Find the registered media type normally associated with a common filename extension.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
A curated extension table is filtered by IANA top-level type or a case-insensitive match against its extension, registered label, or description. The output supplies a base Content-Type value and does not inspect file bytes or add representation parameters.
image
Ext MIME Type Description ------------------------------------------------------------------------------------------ .png image/png PNG image .jpg image/jpeg JPEG image .gif image/gif GIF image .svg image/svg+xml SVG .webp image/webp WebP image .ico image/vnd.microsoft.icon Icon .avif image/avif AVIF image .bmp image/…
HTTP servers set Content-Type response headers, multipart email labels attachment bodies, and web-server extension maps select types for SVG, WebAssembly, fonts, and other static assets.