Lista de tipos MIME por extensão
Digite uma extensão (.pdf), um nome de arquivo (foto.jpg) ou um tipo (application/json) para achar o par correspondente. Os botões copiam o tipo ou o cabeçalho Content-Type pronto.
350 de 350 tipos
| Extensão | Tipo MIME | Descrição | Copiar |
|---|---|---|---|
| Web e texto | |||
| .html, .htm, .shtml | text/html | Página HTML | |
| .css | text/css | Folha de estilos CSS | |
| .js, .mjs | text/javascriptTambém: application/javascript, application/x-javascript, text/ecmascript | JavaScript (script e módulo)A RFC 9239 (2022) definiu text/javascript como o único tipo recomendado; application/javascript e os demais ficaram obsoletos. | |
| .cjs | application/node | Módulo CommonJS do Node.js | |
| .json | application/json | JSONJSON é sempre UTF-8 e o tipo não define o parâmetro charset (RFC 8259). | |
| .map | application/json | Source map de JavaScript ou CSSSource maps são arquivos JSON; não há tipo próprio registrado. | |
| .jsonld | application/ld+json | JSON-LD (dados estruturados) | |
| .webmanifest | application/manifest+json | Manifesto de aplicativo web (PWA) | |
| .xhtml, .xht | application/xhtml+xml | XHTML | |
| .xml, .xsd | application/xmlTambém: text/xml | XMLA RFC 7303 trata application/xml e text/xml como equivalentes; application/xml é o mais indicado. | |
| .xsl, .xslt | application/xslt+xml | Transformação XSLT | |
| .dtd | application/xml-dtd | Definição de tipo de documento XML (DTD) | |
| .rss | application/rss+xmlnão registrado | Feed RSSMuito usado, mas nunca foi registrado na IANA. | |
| .atom | application/atom+xml | Feed Atom | |
| .wasm | application/wasm | Módulo WebAssembly | |
| .txt, .text, .log, .conf, .ini | text/plain | Texto puro | |
| .md, .markdown | text/markdown | Markdown | |
| .rtf | application/rtfTambém: text/rtf | Rich Text Format (RTF) | |
| .vtt | text/vtt | Legendas WebVTT | |
| .srt | application/x-subripnão registrado | Legendas SubRip | |
| .ics, .ifb | text/calendar | Calendário iCalendar | |
| .vcf, .vcard | text/vcardTambém: text/x-vcard | Cartão de contato vCard | |
| .eml | message/rfc822 | Mensagem de e-mail | |
| .mbox | application/mbox | Caixa de e-mails mbox | |
| .mht, .mhtml | multipart/relatedTambém: message/rfc822 | Página web em arquivo único (MHTML) | |
| .appcache | text/cache-manifest | Manifesto do AppCacheO AppCache foi removido dos navegadores; hoje se usam service workers. | |
| .php | application/x-httpd-phpnão registrado | Script PHP | |
| .swf | application/x-shockwave-flashnão registradoTambém: application/vnd.adobe.flash.movie | Animação Adobe FlashO Flash Player foi descontinuado no fim de 2020. | |
| .xul | application/vnd.mozilla.xul+xml | Interface XUL (Mozilla) | |
| .mathml, .mml | application/mathml+xml | Fórmulas MathML | |
| .smil, .smi | application/smil+xml | Apresentação multimídia SMIL | |
| .wsdl | application/wsdl+xml | Descrição de serviço web (WSDL) | |
| .opml | text/x-opmlnão registrado | Lista de feeds OPML | |
| Dados e configuração | |||
| .csv | text/csv | Valores separados por vírgula (CSV) | |
| .tsv, .tab | text/tab-separated-values | Valores separados por tabulação (TSV) | |
| .yaml, .yml | application/yamlTambém: text/yaml, application/x-yaml, text/x-yaml | YAMLRegistrado pela RFC 9512 (2024); antes dela usavam-se as variantes com x-. | |
| .toml | application/toml | TOML | |
| .json5 | application/json5não registrado | JSON5 | |
| .ndjson, .jsonl | application/x-ndjsonnão registrado | JSON delimitado por linhas | |
| .geojson | application/geo+json | Dados geográficos GeoJSON | |
| .gpx | application/gpx+xmlnão registrado | Trilhas e rotas de GPS | |
| .kml | application/vnd.google-earth.kml+xml | Marcações do Google Earth (KML) | |
| .kmz | application/vnd.google-earth.kmz | KML compactado | |
| .sql | application/sql | Script SQL | |
| .sqlite, .sqlite3, .db | application/vnd.sqlite3Também: application/x-sqlite3 | Banco de dados SQLite | |
| .mdb | application/x-msaccessnão registrado | Banco de dados Microsoft Access | |
| .parquet | application/vnd.apache.parquet | Apache Parquet | |
| .msgpack | application/vnd.msgpack | MessagePack | |
| .cbor | application/cbor | CBOR | |
| .rdf | application/rdf+xml | RDF em XML | |
| .ttl | text/turtle | RDF em Turtle | |
| .n3 | text/n3 | RDF em Notation3 | |
| .nt | application/n-triples | RDF em N-Triples | |
| .nq | application/n-quads | RDF em N-Quads | |
| .rq, .sparql | application/sparql-query | Consulta SPARQL | |
| .srx | application/sparql-results+xml | Resultado de consulta SPARQL | |
| .xlf, .xliff | application/xliff+xml | Arquivo de tradução XLIFF | |
| .yang | application/yang | Modelo de dados YANG | |
| .ipynb | application/x-ipynb+jsonnão registrado | Notebook Jupyter | |
| .torrent | application/x-bittorrentnão registrado | Arquivo de torrent | |
| Imagens | |||
| .png | image/png | Imagem PNG | |
| .apng | image/apng | PNG animado | |
| .jpg, .jpeg, .jpe, .jfif | image/jpeg | Imagem JPEGimage/jpg não existe: o tipo correto é image/jpeg também para arquivos .jpg. | |
| .gif | image/gif | Imagem GIF | |
| .webp | image/webp | Imagem WebP | |
| .avif | image/avif | Imagem AVIF | |
| .svg, .svgz | image/svg+xml | Imagem vetorial SVGArquivos .svgz são SVG comprimido com gzip: envie também Content-Encoding: gzip. | |
| .ico | image/vnd.microsoft.iconTambém: image/x-icon | Ícone do Windows (favicon)image/vnd.microsoft.icon é o tipo registrado na IANA; image/x-icon é o não oficial que muitos servidores e exemplos ainda usam. Os navegadores aceitam os dois. | |
| .bmp, .dib | image/bmpTambém: image/x-ms-bmp | Bitmap do Windows | |
| .tif, .tiff | image/tiff | Imagem TIFF | |
| .heic | image/heic | Imagem HEIC (fotos do iPhone) | |
| .heif | image/heif | Imagem HEIF | |
| .jxl | image/jxl | Imagem JPEG XL | |
| .jp2, .jpg2 | image/jp2 | Imagem JPEG 2000 | |
| .jpx, .jpf | image/jpx | JPEG 2000 estendido (JPX) | |
| .jpm | image/jpm | JPEG 2000 composto (JPM) | |
| .jxr, .hdp | image/jxr | Imagem JPEG XR | |
| .wdp | image/vnd.ms-photonão registrado | Windows Media Photo / HD Photo | |
| .psd | image/vnd.adobe.photoshop | Documento do Adobe Photoshop | |
| .xcf | image/x-xcfnão registrado | Imagem do GIMP | |
| .dng | image/x-adobe-dngnão registrado | Negativo digital (RAW da Adobe) | |
| .cr2 | image/x-canon-cr2não registrado | Foto RAW da Canon | |
| .nef | image/x-nikon-nefnão registrado | Foto RAW da Nikon | |
| .arw | image/x-sony-arwnão registrado | Foto RAW da Sony | |
| .tga | image/x-tganão registrado | Imagem Targa | |
| .pcx | image/vnd.zbrush.pcxTambém: image/x-pcx | Imagem PCX | |
| .pbm | image/x-portable-bitmapnão registrado | Netpbm em preto e branco | |
| .pgm | image/x-portable-graymapnão registrado | Netpbm em tons de cinza | |
| .ppm | image/x-portable-pixmapnão registrado | Netpbm colorido | |
| .pnm | image/x-portable-anymapnão registrado | Netpbm (qualquer variante) | |
| .xbm | image/x-xbitmapnão registrado | Bitmap do X11 | |
| .xpm | image/x-xpixmapnão registrado | Pixmap do X11 | |
| .icns | image/x-icnsnão registrado | Ícone do macOS | |
| .dds | image/vnd.ms-ddsnão registrado | Textura DirectDraw Surface | |
| .ktx | image/ktx | Textura Khronos KTX | |
| .ktx2 | image/ktx2 | Textura Khronos KTX 2 | |
| .hdr | image/vnd.radiance | Imagem HDR Radiance | |
| .exr | image/x-exrnão registrado | Imagem OpenEXR | |
| .wbmp | image/vnd.wap.wbmp | Bitmap para WAP | |
| .djvu, .djv | image/vnd.djvu | Documento digitalizado DjVu | |
| .emf | image/emf | Metarquivo avançado do Windows | |
| .wmf | image/wmf | Metarquivo do Windows | |
| .cgm | image/cgm | Computer Graphics Metafile | |
| .fits | image/fits | Imagem astronômica FITS | |
| .dcm | application/dicom | Imagem médica DICOM | |
| .ai | application/postscript | Arte do Adobe IllustratorArquivos .ai atuais são baseados em PDF; servidores costumam enviá-los como application/postscript ou application/pdf. | |
| .eps, .ps | application/postscript | PostScript / PostScript encapsulado | |
| Áudio | |||
| .mp3, .mp2, .mpga | audio/mpegTambém: audio/mp3 | Áudio MP3audio/mp3 não é registrado; o correto é audio/mpeg. | |
| .m4a, .m4b | audio/mp4Também: audio/x-m4a | Áudio MP4 (AAC, ALAC) | |
| .aac, .adts | audio/aac | Áudio AAC | |
| .wav | audio/wavnão registradoTambém: audio/vnd.wave, audio/wave, audio/x-wav | Áudio WAVNenhum tipo de WAV consta no registro da IANA; audio/wav é o que navegadores e servidores usam. A RFC 2361 cita audio/vnd.wave. | |
| .ogg, .oga, .spx | audio/ogg | Áudio Ogg (Vorbis, Speex) | |
| .opus | audio/oggTambém: audio/opus | Áudio Opus em contêiner OggUse audio/ogg; codecs=opus para indicar o codec. | |
| .flac | audio/flacTambém: audio/x-flac | Áudio FLAC sem perdas | |
| .weba | audio/webmnão registrado | Áudio WebM | |
| .mid, .midi | audio/midinão registradoTambém: audio/x-midi | Sequência MIDI | |
| .aif, .aiff, .aifc | audio/aiffnão registradoTambém: audio/x-aiff | Áudio AIFF | |
| .wma | audio/x-ms-wmanão registrado | Windows Media Audio | |
| .ra, .ram | audio/x-pn-realaudionão registrado | RealAudio | |
| .amr | audio/amr | Áudio AMR (voz em celulares) | |
| .awb | audio/amr-wb | Áudio AMR de banda larga | |
| .ac3 | audio/ac3 | Áudio Dolby Digital (AC-3) | |
| .eac3 | audio/eac3 | Áudio Dolby Digital Plus | |
| .dts | audio/vnd.dts | Áudio DTS | |
| .mka | audio/matroskaTambém: audio/x-matroska | Áudio Matroska | |
| .au, .snd | audio/basic | Áudio básico (µ-law, 8 kHz) | |
| .caf | audio/x-cafnão registrado | Core Audio Format (Apple) | |
| .m3u | audio/x-mpegurlnão registrado | Lista de reprodução M3U | |
| .pls | audio/x-scplsnão registrado | Lista de reprodução PLS | |
| .xspf | application/xspf+xmlnão registrado | Lista de reprodução XSPF | |
| .cda | application/x-cdfnão registrado | Faixa de CD de áudio | |
| .ogx | application/ogg | Contêiner Ogg multiplexado | |
| Vídeo | |||
| .mp4, .m4v, .f4v | video/mp4Também: video/x-m4v | Vídeo MP4 | |
| .webm | video/webmnão registrado | Vídeo WebM | |
| .ogv | video/ogg | Vídeo Ogg (Theora) | |
| .mov, .qt | video/quicktime | Vídeo QuickTime | |
| .avi | video/x-msvideonão registradoTambém: video/vnd.avi, video/avi | Vídeo AVI | |
| .mkv | video/matroskaTambém: video/x-matroska | Vídeo Matroskavideo/matroska foi registrado pela RFC 9559 (2024); video/x-matroska ainda é o mais comum em servidores. | |
| .mk3d | video/matroska-3d | Vídeo Matroska estereoscópico (3D) | |
| .wmv | video/x-ms-wmvnão registrado | Windows Media Video | |
| .asf | video/x-ms-asfnão registrado | Advanced Systems Format | |
| .flv | video/x-flvnão registrado | Vídeo Flash | |
| .mpeg, .mpg, .mpe, .m2v | video/mpeg | Vídeo MPEG-1 / MPEG-2 | |
| .ts, .m2t, .m2ts, .mts | video/mp2t | Fluxo de transporte MPEG-2A extensão .ts também é usada por código TypeScript, que não tem tipo MIME registrado na IANA. | |
| .3gp | video/3gppTambém: audio/3gpp | Vídeo 3GPPUse audio/3gpp quando o arquivo só tiver áudio. | |
| .3g2 | video/3gpp2Também: audio/3gpp2 | Vídeo 3GPP2Use audio/3gpp2 quando o arquivo só tiver áudio. | |
| .m3u8 | application/vnd.apple.mpegurlTambém: application/x-mpegurl | Playlist HLS | |
| .mpd | application/dash+xml | Manifesto MPEG-DASH | |
| .m4s | video/iso.segment | Segmento de mídia ISO (DASH/HLS) | |
| .mxf | application/mxf | Material Exchange Format (broadcast) | |
| .rm | application/vnd.rn-realmedianão registrado | RealMedia | |
| .rmvb | application/vnd.rn-realmedia-vbrnão registrado | RealMedia de taxa variável | |
| .mj2, .mjp2 | video/mj2 | Motion JPEG 2000 | |
| .h264 | video/h264 | Fluxo de vídeo H.264 bruto | |
| .h265 | video/h265 | Fluxo de vídeo H.265 (HEVC) bruto | |
| .dv | video/dv | Vídeo digital DV | |
| .mng | video/x-mngnão registrado | Animação MNG | |
| Fontes | |||
| .woff2 | font/woff2 | Fonte web WOFF 2 | |
| .woff | font/woffTambém: application/font-woff | Fonte web WOFF | |
| .ttf | font/ttfTambém: application/x-font-ttf | Fonte TrueType | |
| .otf | font/otfTambém: application/x-font-opentype | Fonte OpenType | |
| .ttc, .otc | font/collection | Coleção de fontes TrueType/OpenType | |
| .sfnt | font/sfnt | Fonte SFNT genérica | |
| .eot | application/vnd.ms-fontobject | Fonte Embedded OpenType (IE antigo) | |
| .pfb, .pfa | application/x-font-type1não registrado | Fonte PostScript Type 1 | |
| .bdf | application/x-font-bdfnão registrado | Fonte bitmap BDF | |
| .pcf | application/x-font-pcfnão registrado | Fonte bitmap PCF | |
| Documentos e escritório | |||
application/pdf | Documento PDF | ||
| .doc, .dot | application/msword | Microsoft Word 97–2003 | |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Microsoft Word (OpenXML) | |
| .dotx | application/vnd.openxmlformats-officedocument.wordprocessingml.template | Modelo do Word | |
| .docm | application/vnd.ms-word.document.macroEnabled.12 | Word com macros | |
| .dotm | application/vnd.ms-word.template.macroEnabled.12 | Modelo do Word com macros | |
| .xls, .xlt, .xla | application/vnd.ms-excel | Microsoft Excel 97–2003 | |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Microsoft Excel (OpenXML) | |
| .xltx | application/vnd.openxmlformats-officedocument.spreadsheetml.template | Modelo do Excel | |
| .xlsm | application/vnd.ms-excel.sheet.macroEnabled.12 | Excel com macros | |
| .xlsb | application/vnd.ms-excel.sheet.binary.macroEnabled.12 | Excel binário | |
| .xltm | application/vnd.ms-excel.template.macroEnabled.12 | Modelo do Excel com macros | |
| .xlam | application/vnd.ms-excel.addin.macroEnabled.12 | Suplemento do Excel | |
| .ppt, .pps, .pot | application/vnd.ms-powerpoint | Microsoft PowerPoint 97–2003 | |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | Microsoft PowerPoint (OpenXML) | |
| .ppsx | application/vnd.openxmlformats-officedocument.presentationml.slideshow | Apresentação de slides do PowerPoint | |
| .potx | application/vnd.openxmlformats-officedocument.presentationml.template | Modelo do PowerPoint | |
| .pptm | application/vnd.ms-powerpoint.presentation.macroEnabled.12 | PowerPoint com macros | |
| .ppsm | application/vnd.ms-powerpoint.slideshow.macroEnabled.12 | Apresentação de slides com macros | |
| .potm | application/vnd.ms-powerpoint.template.macroEnabled.12 | Modelo do PowerPoint com macros | |
| .odt | application/vnd.oasis.opendocument.text | Texto OpenDocument (LibreOffice Writer) | |
| .ods | application/vnd.oasis.opendocument.spreadsheet | Planilha OpenDocument (LibreOffice Calc) | |
| .odp | application/vnd.oasis.opendocument.presentation | Apresentação OpenDocument (LibreOffice Impress) | |
| .odg | application/vnd.oasis.opendocument.graphics | Desenho OpenDocument (LibreOffice Draw) | |
| .odf | application/vnd.oasis.opendocument.formula | Fórmula OpenDocument | |
| .odc | application/vnd.oasis.opendocument.chart | Gráfico OpenDocument | |
| .odi | application/vnd.oasis.opendocument.image | Imagem OpenDocument | |
| .odm | application/vnd.oasis.opendocument.text-master | Documento mestre OpenDocument | |
| .ott | application/vnd.oasis.opendocument.text-template | Modelo de texto OpenDocument | |
| .ots | application/vnd.oasis.opendocument.spreadsheet-template | Modelo de planilha OpenDocument | |
| .otp | application/vnd.oasis.opendocument.presentation-template | Modelo de apresentação OpenDocument | |
| .otg | application/vnd.oasis.opendocument.graphics-template | Modelo de desenho OpenDocument | |
| .vsd, .vst, .vss | application/vnd.visio | Microsoft Visio | |
| .pub | application/x-mspublishernão registrado | Microsoft Publisher | |
| .one | application/onenotenão registrado | Microsoft OneNote | |
| .msg | application/vnd.ms-outlooknão registrado | Mensagem do Outlook | |
| .mpp, .mpt | application/vnd.ms-project | Microsoft Project | |
| .wps | application/vnd.ms-works | Microsoft Works | |
| .xps | application/vnd.ms-xpsdocument | Documento XPS | |
| .oxps | application/oxps | Documento OpenXPS | |
| .chm | application/vnd.ms-htmlhelp | Ajuda HTML compilada | |
| .wpd | application/vnd.wordperfect | Documento WordPerfect | |
| .abw | application/x-abiwordnão registrado | Documento AbiWord | |
| .pages | application/vnd.apple.pages | Documento do Apple Pages | |
| .numbers | application/vnd.apple.numbers | Planilha do Apple Numbers | |
| .key | application/vnd.apple.keynote | Apresentação do Apple Keynote | |
| .epub | application/epub+zip | Livro digital EPUB | |
| .mobi | application/x-mobipocket-ebooknão registrado | Livro digital Mobipocket | |
| .azw | application/vnd.amazon.ebooknão registrado | Livro digital do Kindle | |
| .fb2 | application/x-fictionbook+xmlnão registrado | Livro digital FictionBook | |
| .cbz | application/vnd.comicbook+zip | Quadrinhos em ZIP | |
| .cbr | application/vnd.comicbook-rar | Quadrinhos em RAR | |
| .tex | application/x-texnão registrado | Documento TeX | |
| .latex | application/x-latexnão registrado | Documento LaTeX | |
| .dvi | application/x-dvinão registrado | Saída DVI do TeX | |
| .bib | application/x-bibtexnão registrado | Referências BibTeX | |
| .ris | application/x-research-info-systemsnão registrado | Referências RIS | |
| Compactados e pacotes | |||
| .zip | application/zipTambém: application/x-zip-compressed | Arquivo ZIPO Windows envia uploads de .zip como application/x-zip-compressed: aceite os dois ao validar. | |
| .gz, .tgz | application/gzipTambém: application/x-gzip | Arquivo gzipUm .tar.gz ou .tgz também é application/gzip. | |
| .tar | application/x-tarnão registrado | Arquivo tar | |
| .bz | application/x-bzipnão registrado | Arquivo bzip | |
| .bz2 | application/x-bzip2não registrado | Arquivo bzip2 | |
| .xz | application/x-xznão registrado | Arquivo xz | |
| .lzma | application/x-lzmanão registrado | Arquivo LZMA | |
| .lz | application/lzipnão registradoTambém: application/x-lzip | Arquivo lzip | |
| .lz4 | application/x-lz4não registrado | Arquivo LZ4 | |
| .zst | application/zstd | Arquivo Zstandard | |
| .7z | application/x-7z-compressednão registrado | Arquivo 7-ZipO formato 7z não tem tipo registrado na IANA; application/x-7z-compressed é o usado na prática. | |
| .rar | application/vnd.rarTambém: application/x-rar-compressed | Arquivo RAR | |
| .z | application/x-compressnão registrado | Arquivo compress do Unix (.Z) | |
| .cab | application/vnd.ms-cab-compressed | Arquivo Cabinet da Microsoft | |
| .arj | application/x-arjnão registrado | Arquivo ARJ | |
| .lzh, .lha | application/x-lzh-compressednão registrado | Arquivo LZH | |
| .cpio | application/x-cpionão registrado | Arquivo cpio | |
| .shar | application/x-sharnão registrado | Arquivo shell (shar) | |
| .ace | application/x-ace-compressednão registrado | Arquivo ACE | |
| .arc | application/x-freearcnão registrado | Arquivo FreeArc | |
| .sit | application/x-stuffitnão registrado | Arquivo StuffIt | |
| .sitx | application/x-stuffitxnão registrado | Arquivo StuffIt X | |
| .iso | application/x-iso9660-imagenão registrado | Imagem de disco ISO | |
| .dmg | application/x-apple-diskimagenão registrado | Imagem de disco do macOS | |
| .jar, .war, .ear | application/java-archive | Pacote Java | |
| .pkpass | application/vnd.apple.pkpassnão registrado | Cartão do Apple Wallet | |
| .crx | application/x-chrome-extensionnão registrado | Extensão do Chrome | |
| .xpi | application/x-xpinstallnão registrado | Extensão do Firefox | |
| Programas e instaladores | |||
| .bin | application/octet-stream | Dados binários genéricosÉ o tipo padrão para conteúdo desconhecido; o navegador oferece o download em vez de exibir. | |
| .exe, .dll | application/vnd.microsoft.portable-executableTambém: application/x-msdownload, application/x-msdos-program | Executável ou biblioteca do Windows | |
| .msi | application/x-msinão registradoTambém: application/x-msdownload | Instalador do Windows | |
| .msix | application/msixnão registrado | Pacote MSIX do Windows | |
| .msixbundle | application/msixbundlenão registrado | Conjunto de pacotes MSIX | |
| .appx | application/appxnão registrado | Pacote APPX do Windows | |
| .appxbundle | application/appxbundlenão registrado | Conjunto de pacotes APPX | |
| .apk | application/vnd.android.package-archivenão registrado | Aplicativo Android | |
| .ipa | application/octet-stream | Aplicativo iOSO formato .ipa não tem tipo registrado; é servido como application/octet-stream. | |
| .deb | application/vnd.debian.binary-packageTambém: application/x-debian-package | Pacote Debian/Ubuntu | |
| .rpm | application/x-rpmnão registradoTambém: application/x-redhat-package-manager | Pacote RPM (Red Hat, Fedora) | |
| .appimage | application/vnd.appimagenão registrado | Aplicativo AppImage para Linux | |
| .flatpak | application/vnd.flatpaknão registrado | Pacote Flatpak | |
| .mpkg | application/vnd.apple.installer+xml | Instalador da Apple | |
| .class | application/java-vmnão registrado | Bytecode Java | |
| .jnlp | application/x-java-jnlp-filenão registrado | Java Web Start | |
| .sh | application/x-shnão registrado | Script de shell | |
| .csh | application/x-cshnão registrado | Script C shell | |
| .lnk | application/x-ms-shortcutnão registrado | Atalho do Windows | |
| Código-fonte | |||
| .py | text/x-pythonnão registrado | Código Python | |
| .java | text/x-java-sourcenão registrado | Código Java | |
| .c, .h, .cc, .cpp, .cxx, .hpp | text/x-cnão registrado | Código C / C++ | |
| .cs | text/x-csharpnão registrado | Código C# | |
| .go | text/x-gonão registrado | Código Go | |
| .rs | text/rustnão registrado | Código Rust | |
| .rb | application/x-rubynão registrado | Código Ruby | |
| .pl, .pm | application/x-perlnão registrado | Código Perl | |
| .lua | text/x-luanão registrado | Código Lua | |
| .swift | text/x-swiftnão registrado | Código Swift | |
| .kt | text/x-kotlinnão registrado | Código Kotlin | |
| .scala | text/x-scalanão registrado | Código Scala | |
| .tcl | application/x-tclnão registrado | Script Tcl | |
| .vbs | text/vbscriptnão registrado | Script VBScript | |
| .pas | text/x-pascalnão registrado | Código Pascal | |
| .f, .for, .f90 | text/x-fortrannão registrado | Código Fortran | |
| .asm, .s | text/x-asmnão registrado | Código Assembly | |
| .jsx | text/jsxnão registrado | JavaScript com JSX | |
| .coffee | text/coffeescriptnão registrado | CoffeeScript | |
| .scss | text/x-scssnão registrado | Folha de estilos SCSS | |
| .sass | text/x-sassnão registrado | Folha de estilos Sass | |
| .less | text/lessnão registrado | Folha de estilos Less | |
| .diff, .patch | text/x-diffnão registrado | Diferenças entre arquivos (patch) | |
| .xaml | application/xaml+xmlnão registrado | Interface XAML | |
| Certificados e chaves | |||
| .pem | application/x-pem-filenão registrado | Certificado ou chave em PEM | |
| .cer | application/pkix-cert | Certificado X.509 | |
| .crt, .der | application/x-x509-ca-cert | Certificado X.509 (AC) | |
| .crl | application/pkix-crl | Lista de certificados revogados | |
| .p12, .pfx | application/pkcs12Também: application/x-pkcs12 | Certificado com chave privada (PKCS #12) | |
| .p7b, .spc | application/x-pkcs7-certificatesnão registrado | Cadeia de certificados PKCS #7 | |
| .p7m, .p7c | application/pkcs7-mime | Mensagem cifrada ou assinada S/MIME | |
| .p7s | application/pkcs7-signature | Assinatura digital S/MIME | |
| .p10, .csr | application/pkcs10 | Pedido de certificado (CSR) | |
| .p8 | application/pkcs8 | Chave privada PKCS #8 | |
| .pgp, .gpg | application/pgp-encrypted | Conteúdo cifrado com OpenPGP | |
| .asc, .sig | application/pgp-signature | Assinatura OpenPGP | |
| .jwt | application/jwt | JSON Web Token | |
| .kdbx | application/x-keepass2não registrado | Cofre de senhas do KeePass | |
| 3D e CAD | |||
| .gltf | model/gltf+json | Modelo 3D glTF (JSON) | |
| .glb | model/gltf-binary | Modelo 3D glTF binário | |
| .obj | model/obj | Modelo 3D Wavefront OBJ | |
| .mtl | model/mtl | Materiais de modelo OBJ | |
| .stl | model/stlTambém: application/sla | Modelo para impressão 3D (STL) | |
| .3mf | model/3mf | Modelo para impressão 3D (3MF) | |
| .usdz | model/vnd.usdz+zip | Modelo USDZ (realidade aumentada) | |
| .usda | model/vnd.usda | Cena USD em texto | |
| .step, .stp | model/step | Modelo CAD STEP | |
| .iges, .igs | model/iges | Modelo CAD IGES | |
| .wrl, .vrml | model/vrml | Mundo virtual VRML | |
| .x3d | model/x3d+xml | Cena X3D | |
| .dae | model/vnd.collada+xml | Modelo COLLADA | |
| .u3d | model/u3d | Modelo Universal 3D | |
| .dwf | model/vnd.dwf | Desenho Autodesk DWF | |
| .dwg | image/vnd.dwg | Desenho do AutoCAD | |
| .dxf | image/vnd.dxf | Desenho DXF | |
| .skp | application/vnd.sketchup.skpnão registrado | Modelo do SketchUp | |
| .blend | application/x-blendernão registrado | Projeto do Blender | |
| HTTP e APIs (sem extensão) | |||
| — | application/x-www-form-urlencoded | Formulário HTML enviado por POST (padrão) | |
| — | multipart/form-data | Formulário com envio de arquivos | |
| — | multipart/byteranges | Resposta 206 com vários intervalos | |
| — | multipart/mixed | Mensagem com partes de tipos diferentes | |
| — | multipart/alternative | Mesmo conteúdo em formatos alternativos (e-mail) | |
| — | text/event-streamnão registrado | Server-Sent Events (EventSource) | |
| — | application/problem+json | Detalhes de erro de API (RFC 9457) | |
| — | application/problem+xml | Detalhes de erro de API em XML (RFC 9457) | |
| — | application/json-patch+json | JSON Patch (RFC 6902) | |
| — | application/merge-patch+json | JSON Merge Patch (RFC 7396) | |
| — | application/vnd.api+json | JSON:API | |
| — | application/hal+jsonnão registrado | Hypertext Application Language (HAL) | |
| — | application/schema+jsonnão registrado | JSON Schema | |
| — | application/json-seq | Sequência de textos JSON (RFC 7464) | |
| — | application/activity+json | ActivityStreams / ActivityPub | |
| — | application/soap+xml | Mensagem SOAP 1.2 | |
| — | application/grpcnão registrado | Chamada gRPC | |
| — | application/x-protobufnão registradoTambém: application/protobuf | Protocol Buffers | |
| — | application/dns-message | DNS sobre HTTPS (DoH) | |
| — | application/ocsp-request | Consulta OCSP de revogação de certificado | |
| — | application/ocsp-response | Resposta OCSP | |
| — | message/http | Mensagem HTTP encapsulada (resposta de TRACE) | |
O que é um tipo MIME
Tipo MIME (ou media type, o nome oficial hoje) é o rótulo que diz que formato um conteúdo tem, independentemente do nome do arquivo. Ele nasceu no e-mail — MIME significa Multipurpose Internet Mail Extensions, definido em 1996 nas RFCs 2045 e 2046 — e foi adotado pelo HTTP no cabeçalho Content-Type.
A forma é sempre tipo/subtipo, com parâmetros opcionais:
Content-Type: text/html; charset=utf-8O tipo de nível superior indica a família. Os que você vai encontrar no dia a dia são text, image, audio, video, font, application (dados binários ou estruturados), multipart (várias partes numa mensagem), message e model (3D). Sufixos como +json, +xml e +zip avisam que o formato é construído sobre outro: image/svg+xml é um XML, application/ld+json é um JSON.
Na web, quem manda é o Content-Type enviado pelo servidor, não a extensão. Um arquivo dados.txt servido como application/json é tratado como JSON; um script.js servido como text/plain não é executado.
Como usar a tabela
- Extensão → tipo: digite
.xlsx,xlsxou cole o nome/URL do arquivo. O resultado aparece em destaque com o cabeçalho pronto. - Tipo → extensões: digite
image/,font/woff2ou cole um cabeçalho inteiro (Content-Type: text/css; charset=utf-8). - Por assunto: palavras como
planilha,legendaoucertificadobuscam na descrição. - Filtro de categoria: restringe a imagens, áudio, vídeo, fontes, documentos, compactados etc.
- O selo não registrado marca tipos que não constam no registro da IANA (geralmente os que começam com
x-), mas que são os usados na prática.
A busca roda no seu navegador; nada do que você digita é enviado.
Os casos em que mais se erra
| Arquivo | Tipo correto | Erro comum |
|---|---|---|
.js, .mjs | text/javascript | application/javascript (obsoleto desde a RFC 9239, de 2022) |
.json | application/json | text/json; acrescentar charset (JSON é sempre UTF-8) |
.jpg | image/jpeg | image/jpg, que não existe |
.svg | image/svg+xml | image/svg ou text/xml — a imagem não aparece em <img> |
.csv | text/csv | application/vnd.ms-excel |
.mp3 | audio/mpeg | audio/mp3 |
.woff2 | font/woff2 | application/font-woff2 |
.ico | image/vnd.microsoft.icon | — (image/x-icon é a variante não oficial, também aceita) |
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | application/vnd.ms-excel, que é o do .xls antigo |
.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | application/msword, que é o do .doc |
.pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | application/vnd.ms-powerpoint |
Alguns formatos muito populares nunca foram registrados na IANA e seguem com nomes de fato: video/webm, audio/wav, application/x-7z-compressed, application/x-tar e application/vnd.android.package-archive (.apk). Outros ganharam registro recentemente: application/yaml (RFC 9512, 2024) e video/matroska para .mkv (RFC 9559, 2024).
Por que o tipo errado quebra o site
- Scripts e estilos bloqueados. Com o cabeçalho
X-Content-Type-Options: nosniff, o navegador recusa um<script>cujo tipo não seja de JavaScript e uma folha de estilos que não sejatext/css. Módulos (<script type="module">) exigem tipo de JavaScript sempre, com ou semnosniff. - Download em vez de exibição.
application/octet-streamsignifica “bytes quaisquer”: o navegador oferece para salvar. É o padrão certo para arquivo desconhecido, e o errado para um PDF que deveria abrir na aba. - Fontes, vídeos e WebAssembly.
WebAssembly.instantiateStreamingsó aceitaapplication/wasm; players de vídeo decidem o que tocar pelo tipo. - Uploads. O tipo que chega num formulário é informado pelo navegador com base na extensão — o Windows envia
.zipcomoapplication/x-zip-compressed, por exemplo. Aceite as variantes e nunca confie só nele para segurança: confira o conteúdo do arquivo no servidor.
Ferramentas relacionadas
- Códigos de status HTTP — o 415 (Unsupported Media Type) e o 406 nascem de tipos MIME.
- Base64 Encode / Decode — para montar URLs
data:image/png;base64,…. - Formatador de JSON e Conversor CSV ↔ JSON.
- Analisador de URL e Tabela ASCII.
Limitações
A lista reúne 350 tipos e mais de 400 extensões de uso comum, conferidos no registro da IANA e na documentação da MDN em outubro de 2026. O registro completo da IANA tem mais de 2 mil tipos, a maioria de uso muito específico, e é atualizado com frequência. Uma mesma extensão pode ter mais de um uso (.ts é vídeo MPEG e também TypeScript), então o contexto decide.
Perguntas frequentes
Qual é o tipo MIME de um PDF?
application/pdf. Para forçar o download em vez de abrir no navegador, mantenha o tipo e acrescente o cabeçalho Content-Disposition: attachment.
Devo usar text/javascript ou application/javascript?
text/javascript. A RFC 9239, de 2022, tornou-o o único tipo recomendado para JavaScript e declarou obsoletos application/javascript, application/x-javascript e text/ecmascript. Os navegadores ainda aceitam os antigos, mas não há motivo para usá-los em configuração nova.
O que é application/octet-stream?
É o tipo genérico para dados binários de formato desconhecido. O navegador não tenta interpretar: oferece o download. Use quando não houver tipo específico para o arquivo.
image/x-icon ou image/vnd.microsoft.icon?
O registrado na IANA é image/vnd.microsoft.icon. image/x-icon é a forma não oficial, mais antiga, que continua em muitos servidores e tutoriais. Os navegadores exibem o favicon com qualquer um dos dois.
Preciso colocar charset no Content-Type?
Em tipos de texto (text/html, text/css, text/csv, text/plain), sim: charset=utf-8 evita acentos trocados. Em application/json não — o JSON é UTF-8 por definição e o tipo não tem esse parâmetro. Em imagens, áudio, vídeo e outros binários o charset não faz sentido.
Tipos com “x-” são errados?
Não necessariamente. O prefixo x- indicava tipos experimentais, não registrados; a RFC 6648 (2012) desaconselhou criar novos nomes assim, mas vários antigos viraram padrão de fato e não têm substituto, como application/x-tar e application/x-www-form-urlencoded (este, registrado). Quando existe um tipo registrado equivalente, prefira-o.