WebGroundwebground.app
Info & Gidsen · Webnaslag

MIME-Types & Bestandsextensies: Overzicht

Zoek het juiste MIME-type (mediatype) op voor gangbare bestandsextensies: afbeeldingen, audio, video, tekst, documenten, archieven en webfonts.

52 van 52 getoond
  • .jpg, .jpeg
    MIME-type
    image/jpeg
    Beschrijving
    JPEG-foto, compressie met verlies
  • .png
    MIME-type
    image/png
    Beschrijving
    PNG-afbeelding met verliesvrije compressie en transparantie
  • .gif
    MIME-type
    image/gif
    Beschrijving
    GIF-afbeelding, ondersteunt eenvoudige animatie
  • .webp
    MIME-type
    image/webp
    Beschrijving
    WebP-afbeelding, met of zonder verlies, kleiner dan JPEG
  • .avif
    MIME-type
    image/avif
    Beschrijving
    AVIF-afbeelding op basis van AV1, zeer efficiënte compressie
  • .svg
    MIME-type
    image/svg+xml
    Beschrijving
    SVG, schaalbare vectorafbeelding
  • .ico
    MIME-type
    image/vnd.microsoft.icon
    Beschrijving
    Pictogrambestand, vaak gebruikt voor favicons
  • .bmp
    MIME-type
    image/bmp
    Beschrijving
    Ongecomprimeerde bitmapafbeelding
  • .tif, .tiff
    MIME-type
    image/tiff
    Beschrijving
    TIFF-afbeelding voor drukwerk en scans
  • .heic
    MIME-type
    image/heic
    Beschrijving
    HEIC-foto, standaard op recente iPhones
  • .mp3
    MIME-type
    audio/mpeg
    Beschrijving
    MP3-audio
  • .wav
    MIME-type
    audio/wav
    Beschrijving
    Ongecomprimeerde WAV-audio
  • .oga, .ogg, .opus
    MIME-type
    audio/ogg
    Beschrijving
    Ogg-audio (Vorbis of Opus)
  • .aac
    MIME-type
    audio/aac
    Beschrijving
    AAC-audio
  • .flac
    MIME-type
    audio/flac
    Beschrijving
    Verliesvrije FLAC-audio
  • .m4a
    MIME-type
    audio/mp4
    Beschrijving
    MPEG-4-audio, meestal AAC
  • .weba
    MIME-type
    audio/webm
    Beschrijving
    WebM-audio
  • .mp4
    MIME-type
    video/mp4
    Beschrijving
    MPEG-4-video
  • .webm
    MIME-type
    video/webm
    Beschrijving
    WebM-video
  • .ogv
    MIME-type
    video/ogg
    Beschrijving
    Ogg-video
  • .mov
    MIME-type
    video/quicktime
    Beschrijving
    QuickTime-video
  • .avi
    MIME-type
    video/x-msvideo
    Beschrijving
    AVI-video
  • .mkv
    MIME-type
    video/x-matroska
    Beschrijving
    Matroska-video
  • .ts
    MIME-type
    video/mp2t
    Beschrijving
    MPEG-transportstream voor videostreaming
  • .html, .htm
    MIME-type
    text/html
    Beschrijving
    HTML-webpagina
  • .css
    MIME-type
    text/css
    Beschrijving
    CSS-stylesheet
  • .js, .mjs
    MIME-type
    text/javascript
    Beschrijving
    JavaScript-code
  • .csv
    MIME-type
    text/csv
    Beschrijving
    Tabel met kommagescheiden waarden
  • .txt
    MIME-type
    text/plain
    Beschrijving
    Platte tekst
  • .md
    MIME-type
    text/markdown
    Beschrijving
    Markdown-tekst
  • .ics
    MIME-type
    text/calendar
    Beschrijving
    iCalendar-afspraakbestand
  • .vtt
    MIME-type
    text/vtt
    Beschrijving
    WebVTT-ondertitels voor HTML-video
  • .json
    MIME-type
    application/json
    Beschrijving
    JSON-gegevens
  • .jsonld
    MIME-type
    application/ld+json
    Beschrijving
    JSON-LD, linked data en gestructureerde gegevens
  • .xml
    MIME-type
    application/xml
    Beschrijving
    XML-gegevens
  • .pdf
    MIME-type
    application/pdf
    Beschrijving
    PDF-document
  • .wasm
    MIME-type
    application/wasm
    Beschrijving
    WebAssembly-module
  • .bin
    MIME-type
    application/octet-stream
    Beschrijving
    Algemene binaire gegevens, start een download
  • .docx
    MIME-type
    application/vnd.openxmlformats-officedocument.wordprocessingml.document
    Beschrijving
    Microsoft Word-document
  • .xlsx
    MIME-type
    application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
    Beschrijving
    Microsoft Excel-werkblad
  • .pptx
    MIME-type
    application/vnd.openxmlformats-officedocument.presentationml.presentation
    Beschrijving
    Microsoft PowerPoint-presentatie
  • .webmanifest
    MIME-type
    application/manifest+json
    Beschrijving
    Web-app-manifest voor installeerbare sites
  • .epub
    MIME-type
    application/epub+zip
    Beschrijving
    EPUB-e-book
  • .zip
    MIME-type
    application/zip
    Beschrijving
    ZIP-archief
  • .gz
    MIME-type
    application/gzip
    Beschrijving
    Met Gzip gecomprimeerd bestand
  • .tar
    MIME-type
    application/x-tar
    Beschrijving
    Tar-archief
  • .7z
    MIME-type
    application/x-7z-compressed
    Beschrijving
    7-Zip-archief
  • .rar
    MIME-type
    application/vnd.rar
    Beschrijving
    RAR-archief
  • .woff
    MIME-type
    font/woff
    Beschrijving
    WOFF-webfont
  • .woff2
    MIME-type
    font/woff2
    Beschrijving
    WOFF2-webfont met betere compressie
  • .ttf
    MIME-type
    font/ttf
    Beschrijving
    TrueType-lettertype
  • .otf
    MIME-type
    font/otf
    Beschrijving
    OpenType-lettertype

Wat is een MIME-type?

Een MIME-type, ook wel mediatype genoemd, vertelt browsers en servers wat voor soort bestand ze verwerken. Het bestaat uit een type en een subtype, gescheiden door een schuine streep, zoals image/png of application/json.

Webservers sturen het mee in de Content-Type-header. Een verkeerde waarde kan ervoor zorgen dat scripts niet draaien, afbeeldingen als download worden aangeboden of lettertypen niet laden.

Tips voor het serveren van bestanden

De meeste servers en CDN's bepalen het type automatisch op basis van de bestandsextensie, maar voor eigen bestandstypen kan handmatige configuratie nodig zijn.

  • Voeg ; charset=utf-8 toe aan teksttypen zoals text/html en text/css.
  • Gebruik application/octet-stream om een download af te dwingen voor onbekende binaire gegevens.
  • Stuur X-Content-Type-Options: nosniff mee, zodat browsers het opgegeven type vertrouwen.

Veelgestelde vragen (FAQ)

Moet JavaScript text/javascript of application/javascript gebruiken?+

text/javascript is de huidige standaard (RFC 9239). Browsers accepteren nog steeds het oudere application/javascript.

Welk MIME-type moeten JSON-API's teruggeven?+

application/json. JSON dat tussen systemen wordt uitgewisseld, moet UTF-8 zijn, dus een charset-parameter is overbodig.

Waarom beginnen sommige types met x-?+

Het voorvoegsel x- markeert types die nooit officieel bij IANA zijn geregistreerd. Veel ervan worden nog steeds volop gebruikt, zoals application/x-tar.

Ontdek meer WebGround-tools

Alles bekijken