Reference
Find MIME content types by file extension.
Runs entirely in your browser
Nothing you paste is uploaded. Monaco and Prettier load on demand from this origin.
Search
| Extension | MIME type | Note |
|---|---|---|
| .json | application/json | JSON data. |
| .js | text/javascript | JavaScript. |
| .html | text/html | HTML document. |
| .css | text/css | Stylesheet. |
| application/pdf | PDF document. | |
| .png | image/png | PNG image. |
| .jpg | image/jpeg | JPEG image. |
| .webp | image/webp | WebP image. |
| .svg | image/svg+xml | SVG vector image. |
| .mp4 | video/mp4 | MP4 video. |
| .mp3 | audio/mpeg | MP3 audio. |
| .zip | application/zip | ZIP archive. |
| .csv | text/csv | Comma-separated values. |
| .xml | application/xml | XML data. |
| .wasm | application/wasm | WebAssembly module. |
| .woff2 | font/woff2 | Web font. |
There is no upload endpoint — your files are processed in this browser tab. Open your network tab and check. See how it stays private.
How to MIME types
- Search. Type an extension like .json or a MIME type.
- Read the match. See the corresponding MIME type or extensions.
- Use it. Set the right Content-Type in your responses.
The Content-Type header — a MIME type — tells clients how to interpret bytes, and getting it wrong causes files to download instead of display or scripts to be blocked. This reference maps extensions to types both ways.
Use it alongside the HTTP header and status references when building an API or configuring a server.
Frequently asked questions
What MIME type should I serve for JSON?
application/json. Serving the correct MIME type matters because browsers and clients decide how to handle a response based on it.
Why is my file downloading instead of displaying?
Often the wrong or missing Content-Type. Serving the correct MIME type usually fixes a file that downloads when it should render inline.
Is anything fetched?
No. The mapping is built in, so it works offline.