Skip to content
Developer Runs offline

MIME Type Lookup

Find the MIME type for any file extension, or the reverse.

Input

0 chars

Output

0 chars
Ctrl

Questions

Why does the browser ignore my Content-Type?

Some browsers sniff content when the declared type looks wrong, which can turn an uploaded file into executable HTML. Send X-Content-Type-Options: nosniff to disable that, and always set a correct, explicit Content-Type.

Should text types include a charset?

Yes, always. text/html without a charset leaves the browser guessing, and a wrong guess produces mojibake or, historically, a UTF-7 based XSS vector. Send text/html; charset=utf-8 explicitly.

Open User Agent Parser

User Agent Parser

Break a User-Agent string into browser, engine, OS and device.

Developer