본문 바로가기
프론트엔드/HTTP - 전

Common MIME types

by 5ub1n 2024. 6. 16.

일반적인 MIME 유형


이 항목에는 해당 문서 유형과 함께 가장 일반적인 MIME 유형이 공통 확장자순으로 나열되어 있다.

 

다음 두 가지 MIME 기본 유형은 중요하다.

  • text/plain은 텍스트 파일의 기본값이다.
    텍스트 파일은 사람이 읽을 수 있어야 하며 이진 데이터를 포함해서는 안된다.
  • 다른 모든 경우에는 application/octet-stream이 기본값이다.
    알 수 없는 파일 형식은 이 형식을 사용해야 한다.
    브라우저는 소프트웨어 취약점과 발생할 수 있는 위험한 행동으로부터 사용자를 보호하기 위해 이러한 파일을 조작할 때 특히 주의한다.

IANA는 MIME 미디어 유형의 공식 등록 기관이며 모든 공식 MIME 유형 목록을 유지 관리한다.
이 표에는 웹의 중요한 MIME 유형이 나열되어 있다.

확장자 Extension  문서 종류 Kind of document MIME 유형 MIME Type
.aac 고급 오디오 부호화 AAC audio audio/aac
.abw 애비워드 문서 AbiWord document application/x-abiword
.apng 애니메이션 PNG Animated Portable Network Graphics (APNG) image image/apng
.arc 보관 문서 (여러 파일 포함) Archive document (multiple files embedded) application/x-freearc
.avif AV1 이미지 파일 형식 AVIF image image/avif
.avi 오디오 비디오 인터리브 AVI : Audio Video Interleave video/x-msvideo
.azw 아마존 Kindle 전자책 형식 Amazon Kindle eBook format application/vnd.amazon.ebook
.bin 모든 종류의 이진 데이터 Any kind of binary data application/octet-stream
.bmp 비트맵 디지털 그림 Windows OS/2 Bitmap Graphics image/bmp
.bz 파일 압축 알고리즘 BZip archive application/x-bzip
.bz2 파일 압축 알고리즘 BZip2 archive application/x-bzip2
.cda CD 오디오 CD audio application/x-cdf
.csh C 쉘 스크립트 C-Shell script application/x-csh
.css 종속 스타일 시트 Cascading Style Sheets (CSS) text/css
.csv  쉼표로 구분한 텍스트 데이터 및 텍스트 파일 Comma-separated values (CSV) text/csv
.doc 워드 (오래된 형식)Microsoft Word application/msword
.docx 워드 (최신 XML 기반 형식) Microsoft Word (OpenXML) application/vnd.openxmlformats-officedocument.wordprocessingml.document
.eot 글꼴 MS Embedded OpenType fonts application/vnd.ms-fontobject
.epub 개방형 자유 전자서적 표준 Electronic publication (EPUB) application/epub+zip
.gz 파일 압축 GZip Compressed Archive application/gzip
.gif 그래픽 교환 형식 Graphics Interchange Format (GIF) image/gif
.htm, .html 하이퍼 텍스트 마크업 언어 HyperText Markup Language (HTML) text/html
.ico 아이콘 형식 Icon format image/vnd.microsoft.icon
.ics 일정 관리, 교환 iCalendar format text/calender
.jar Java Archive (JAR) application/java-archive
.jpeg, .jpg JPEG images image/jpeg
.js 자바스크립트 JavaScript text/javascript (Specifications : HTML and RFC 9239)
.json 자바스크립트 객체 표기법 형식 JSON format application/json
.jsonld JSON을 사용한 링크드 데이터 인코딩 방식 JSON-LD format application/ld+json
.mid, .midi 악기 디지털 인터페이스 Musical Instrument Digital Interface (MIDI) audio/midi, audio/x-midi
.mjs 자바스크립트 모듈 JavaScript module text/javascript
.mp3 오디오 코덱 MP3 audio audio/mpeg
.mp4 동영상 파일 형식 MP4 video video/mp4
.mpeg 비디오 코덱 MPEG Video video/mpeg
.mpkg 애플 설치 프로그램 패키치 Apple Installer Package application/vnd.apple.installer
.odp 프레젠테이션 문서 OpenDocument presentation document application/vnd.oasis.opendocument.presentation
.ods 스프레드시트 문서 OpenDocument spreadsheet document application/vnd.oasis.opendocument.
.odt 텍스트 (워드 프로세서) 문서 OpenDocument text document application/vnd.oasis.opendocument.text
.oga 오디오 Ogg audio audio/ogg
.ogv 비디오 Ogg video video/ogg
.ogx Ogg application/ogg
.opus 오디오 코덱 Opus audio in Ogg container audio/ogg
.otf 컴퓨터 글꼴 OpenType font font/otf
.png 비손실 그래픽 파일 Portable Network Graphics image/png
.pdf 휴대용 문서 형식 Adobe Portable Document Format (PDF) application/pdf
.php 동적 웹 페이지 Hypertext Preprocessor (Personal Home Page) application/x-httpd-php
,ppt 파워포인트Microsoft PowerPoint application/vnd.ms-powerpoint
.pptx 파워포인트 (XML 기반의 파일 형식) Microsoft PowerPoint (OpenXML) application/vnd.openxmlformats-officedocument.presentationml.presentation
.rar 무손실 압축 포맷 RAR archive application/vnd.rar
.rtf 문서 파일 형식 Rich Text Format (RTF) application/rtf
,sh unix 운영 체제 용 명령어 실행 셸 스크립트 Bourne shell script application/x-sh
.svg 벡터 그래픽 Scalable Vector Graphics (SVG) image/svg+xml
.tar 아카이브 파일 Tape Archive (TAR) application/x-tar
.tif, .tiff 이미지 파일 Tagged image File Format (TIFF) image/tiff
.ts 오디오, 비디오 전송 스트림 MPEG transport stream video/mp2t
.ttf 컴퓨터 글꼴 TrueType Font font/ttf
.txt 텍스트 Text, (generally ASCII or ISO 8859-n) text/plain
.vsd 순서도 작성 및 다이어그램 소프트웨어 Microsoft Visio application/vnd.visio
.wav 오디오 포맷 Waveform Audio Format audio/wav
.weba 웹 오디오 WEBM audio audio/webm
.webm 웹 비디오 WEBM video video/webm
.webp 웹 이미지 WEBP image iamge/webp
.woff 웹 폰트 파일 Web Open Font Format (WOFF) font/woff
.woff2 웹 폰트 파일Web Open Font Format (WOFF) font/woff2
.xhtml XML 마크업 언어XHTML application/xhtml+xml
.xls 엑셀 Microsoft Excel application/vnd.ms-excel
.xlsx 엑셀 (XML 기반의 파일 형식) Microsoft Excel (OpenXML) application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xml 다목적 마크업 언어 XML application/xml은 RFC 7303부터 권장되지만 text/xml은 여전히 가끔씩 사용된다.
내용이 해석되는 방식에 따라 .xml 확장자를 가진 파일에 특정 MIME 유형을 할당할 수 있다.
예를 들어 Atom 피드는 application/atom+xml이지만, application/xml은 유효한 기본값으로 사용된다.
.xul 사용자 인터페이스 마크업 언어 XUL application/vnd.mozilla.xul+xml
.zip 압축 파일 Zip archive application/zip이 표준이지만, Windows는 MIME 유형 application/x-zip-compressed를 사용하여 .zip을 업로드한다.
.3gp 3세대 이동통신기기용 비디오 컨테이너 포맷 3GPP audio/video container video/3gpp, 비디오가 포함되지 않은 경우엔 audio/3gpp
.3g2 3GPP2 audio/video container (거의 사용되지 않는다) video/3gpp2, 비디오가 포함되지 않은 경우엔 audio/video
.7z 압축 프로그램 7-zip archive application/x-7z-compressed

 


 

Common MIME types - HTTP | MDN

This topic lists the most common MIME types with corresponding document types, ordered by their common extensions.

developer.mozilla.org

 

'프론트엔드 > HTTP - 전' 카테고리의 다른 글

Evolution of HTTP  (0) 2024.07.15
Basics of HTTP  (0) 2024.07.15
Choosing Between www and non-www URLs  (0) 2024.06.23
Data URLs  (0) 2024.03.24
Identifying resources on the Web  (0) 2024.03.12