Publish and files

How to look up a file's MIME type

Look up the registered media type that matches the file format with PageUtil MIME Type Lookup, then verify the response’s Content-Type header. A filename extension is a clue to format; changing the header or extension does not convert the underlying file.

A MIME lookup is the usual type for an extension. Compare it with the live content-type header.
A MIME lookup is the usual type for an extension, and unknown means the table has no entry.

What to run

Open MIME Type Lookup. It stays in the browser.

How to read the result

The type is the usual mapping for that extension.

Unknown means the table has no entry, not that the file is safe.

.jpg and .jpeg should both map to image/jpeg.

What to open next

Open HTTP Headers on a URL that serves the file, and compare content-type to the lookup. The header check runs from Cloudflare.

References

Related tools

Frequently asked questions

What does an unknown MIME type mean?

Unknown means the table has no entry, not that the file is safe. A MIME lookup is the usual type for an extension.

Do jpg and jpeg share one MIME type?

.jpg and .jpeg should both map to image/jpeg. The type is the usual mapping for that extension.

Does MIME Type Lookup stay in the browser?

MIME Type Lookup stays in the browser. The header check runs from Cloudflare.

Need help with a tool or found a bug?

Report an issue directly to engineering. No accounts required — all client data remains private on your device.

Report an Issue →