{ "_comment" : "Array mapping file extensions to mimetypes (in alphabetical order)", "_comment2": "The first index in the mime type array is the assumed correct mimetype", "_comment3": "and the second (if present) is a secure alternative", "_comment4": "Any changes you make here will be overwritten on an update of Nextcloud", "_comment5": "Put any custom mappings in a new file mimetypemapping.json in the config/ folder of Nextcloud", "3gp": ["video/3gpp"], "7z": ["application/x-7z-compressed"], "aac": ["audio/aac"], "accdb": ["application/msaccess"], "adoc": ["text/asciidoc", "text/plain"], "ai": ["application/illustrator"], "apk": ["application/vnd.android.package-archive"], "arw": ["image/x-dcraw"], "asciidoc": ["text/asciidoc", "text/plain"], "avi": ["video/x-msvideo"], "bash": ["text/x-shellscript"], "bat": ["application/x-msdos-program"], "bin": ["application/x-bin"], "blend": ["application/x-blender"], "bmp": ["image/bmp"], "bpg": ["image/bpg"], "bz2": ["application/x-bzip2"], "c": ["text/x-c"], "c++": ["text/x-c++src"], "cb7": ["application/comicbook+7z"], "cba": ["application/comicbook+ace"], "cbr": ["application/comicbook+rar"], "cbt": ["application/comicbook+tar"], "cbtc": ["application/comicbook+truecrypt"], "cbz": ["application/comicbook+zip"], "cc": ["text/x-c"], "cdr": ["application/coreldraw"], "class": ["application/java"], "cmd": ["application/cmd"], "cnf": ["text/plain"], "conf": ["text/plain"], "cpp": ["text/x-c++src"], "cr2": ["image/x-dcraw"], "css": ["text/css"], "csv": ["text/csv"], "cvbdl": ["application/x-cbr"], "dcr": ["image/x-dcraw"], "deb": ["application/x-deb"], "dng": ["image/x-dcraw"], "doc": ["application/msword"], "docm": ["application/vnd.ms-word.document.macroEnabled.12"], "docx": ["application/vnd.openxmlformats-officedocument.wordprocessingml.document"], "docxf": ["application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf"], "dot": ["application/msword"], "dotx": ["application/vnd.openxmlformats-officedocument.wordprocessingml.template"], "dv": ["video/dv"], "emf": ["image/emf"], "eml": ["message/rfc822", "text/plain"], "eot": ["application/vnd.ms-fontobject"], "eps": ["application/postscript"], "epub": ["application/epub+zip"], "erf": ["image/x-dcraw"], "excalidraw": ["application/vnd.excalidraw+json"], "exe": ["application/x-ms-dos-executable"], "fb2": ["application/x-fictionbook+xml", "text/plain"], "flac": ["audio/flac"], "flv": ["video/x-flv"], "fodg": ["application/vnd.oasis.opendocument.graphics-flat-xml"], "fodp": ["application/vnd.oasis.opendocument.presentation-flat-xml"], "fods": ["application/vnd.oasis.opendocument.spreadsheet-flat-xml"], "fodt": ["application/vnd.oasis.opendocument.text-flat-xml"], "gif": ["image/gif"], "gpx": ["application/gpx+xml"], "gz": ["application/gzip"], "gzip": ["application/gzip"], "h": ["text/x-h"], "heic": ["image/heic"], "heif": ["image/heif"], "hh": ["text/x-h"], "hpp": ["text/x-h"], "htaccess": ["text/plain"], "htm": ["text/html", "text/plain"], "html": ["text/html", "text/plain"], "ical": ["text/calendar"], "ico": ["image/x-icon"], "ics": ["text/calendar"], "iiq": ["image/x-dcraw"], "impress": ["text/impress"], "java": ["text/x-java-source"], "jp2": ["image/jp2"], "jpeg": ["image/jpeg"], "jpg": ["image/jpeg"], "jps": ["image/jpeg"], "js": ["application/javascript", "text/plain"], "json": ["application/json", "text/plain"], "k25": ["image/x-dcraw"], "kdbx": ["application/x-kdbx"], "kdc": ["image/x-dcraw"], "key": ["application/x-iwork-keynote-sffkey"], "keynote": ["application/x-iwork-keynote-sffkey"], "km": ["application/km"], "kml": ["application/vnd.google-earth.kml+xml"], "kmz": ["application/vnd.google-earth.kmz"], "kra": ["application/x-krita"], "ldif": ["text/x-ldif"], "lwp": ["application/vnd.lotus-wordpro"], "m2t": ["video/mp2t"], "m3u": ["audio/mpegurl"], "m3u8": ["audio/mpegurl"], "m4a": ["audio/mp4"], "m4b": ["audio/m4b"], "m4v": ["video/mp4"], "markdown": ["text/markdown"], "md": ["text/markdown"], "mdb": ["application/msaccess"], "mdown": ["text/markdown"], "mdwn": ["text/markdown"], "mef": ["image/x-dcraw"], "mkd": ["text/markdown"], "mkv": ["video/x-matroska"], "mm": ["application/x-freemind"], "mobi": ["application/x-mobipocket-ebook"], "mov": ["video/quicktime"], "mp3": ["audio/mpeg"], "mp4": ["video/mp4"], "mpeg": ["video/mpeg"], "mpg": ["video/mpeg"], "mpo": ["image/jpeg"], "msg": ["application/vnd.ms-outlook"], "msi": ["application/x-msi"], "mt2s": ["video/MP2T"], "mts": ["video/MP2T"], "nef": ["image/x-dcraw"], "numbers": ["application/x-iwork-numbers-sffnumbers"], "odf": ["application/vnd.oasis.opendocument.formula"], "odg": ["application/vnd.oasis.opendocument.graphics"], "odp": ["application/vnd.oasis.opendocument.presentation"], "ods": ["application/vnd.oasis.opendocument.spreadsheet"], "odt": ["application/vnd.oasis.opendocument.text"], "oform": ["application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform"], "oga": ["audio/ogg"], "ogg": ["audio/ogg"], "ogv": ["video/ogg"], "one": ["application/msonenote"], "opus": ["audio/ogg"], "orf": ["image/x-dcraw"], "org": ["text/org", "text/plain"], "otf": ["application/font-sfnt"], "otg": ["application/vnd.oasis.opendocument.graphics-template"], "otp": ["application/vnd.oasis.opendocument.presentation-template"], "ots": ["application/vnd.oasis.opendocument.spreadsheet-template"], "ott": ["application/vnd.oasis.opendocument.text-template"], "pages": ["application/x-iwork-pages-sffpages"], "pdf": ["application/pdf"], "pef": ["image/x-dcraw"], "pfb": ["application/x-font"], "php": ["application/x-php", "text/x-php"], "pl": ["application/x-perl"], "pls": ["audio/x-scpls"], "png": ["image/png"], "pot": ["application/vnd.ms-powerpoint"], "potm": ["application/vnd.ms-powerpoint.template.macroEnabled.12"], "potx": ["application/vnd.openxmlformats-officedocument.presentationml.template"], "ppa": ["application/vnd.ms-powerpoint"], "ppam": ["application/vnd.ms-powerpoint.addin.macroEnabled.12"], "pps": ["application/vnd.ms-powerpoint"], "ppsm": ["application/vnd.ms-powerpoint.slideshow.macroEnabled.12"], "ppsx": ["application/vnd.openxmlformats-officedocument.presentationml.slideshow"], "ppt": ["application/vnd.ms-powerpoint"], "pptm": ["application/vnd.ms-powerpoint.presentation.macroEnabled.12"], "pptx": ["application/vnd.openxmlformats-officedocument.presentationml.presentation"], "ps": ["application/postscript"], "psd": ["application/x-photoshop"], "py": ["text/x-python"], "raf": ["image/x-dcraw"], "rar": ["application/x-rar-compressed"], "reveal": ["text/reveal"], "rss": ["application/rss+xml"], "rst": ["text/x-rst"], "rtf": ["text/rtf"], "rw2": ["image/x-dcraw"], "schema": ["text/plain"], "sgf": ["application/sgf"], "sgi": ["image/sgi"], "sh-lib": ["text/x-shellscript"], "sh": ["text/x-shellscript"], "sr2": ["image/x-dcraw"], "srf": ["image/x-dcraw"], "svg": ["image/svg+xml", "text/plain"], "swf": ["application/x-shockwave-flash", "application/octet-stream"], "tar.bz2": ["application/x-bzip2"], "tar.gz": ["application/x-compressed"], "tar": ["application/x-tar"], "tbz2": ["application/x-bzip2"], "tcx": ["application/vnd.garmin.tcx+xml"], "tex": ["application/x-tex"], "tga": ["image/tga"], "tgz": ["application/x-compressed"], "tif": ["image/tiff"], "tiff": ["image/tiff"], "ttf": ["application/font-sfnt"], "txt": ["text/plain"], "url": ["application/internet-shortcut"], "vcard": ["text/vcard"], "vcf": ["text/vcard"], "vob": ["video/dvd"], "vsd": ["application/vnd.visio"], "vsdm": ["application/vnd.ms-visio.drawing.macroEnabled.12"], "vsdx": ["application/vnd.ms-visio.drawing"], "vssm": ["application/vnd.ms-visio.stencil.macroEnabled.12"], "vssx": ["application/vnd.ms-visio.stencil"], "vstm": ["application/vnd.ms-visio.template.macroEnabled.12"], "vstx": ["application/vnd.ms-visio.template"], "wav": ["audio/wav"], "weba": ["audio/webm"], "webloc": ["application/internet-shortcut"], "webm": ["video/webm"], "webp": ["image/webp"], "whiteboard": ["application/vnd.excalidraw+json"], "wmv": ["video/x-ms-wmv"], "woff": ["application/font-woff"], "wpd": ["application/vnd.wordperfect"], "xcf": ["application/x-gimp"], "xla": ["application/vnd.ms-excel"], "xlam": ["application/vnd.ms-excel.addin.macroEnabled.12"], "xls": ["application/vnd.ms-excel"], "xlsb": ["application/vnd.ms-excel.sheet.binary.macroEnabled.12"], "xlsm": ["application/vnd.ms-excel.sheet.macroEnabled.12"], "xlsx": ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"], "xlt": ["application/vnd.ms-excel"], "xltm": ["application/vnd.ms-excel.template.macroEnabled.12"], "xltx": ["application/vnd.openxmlformats-officedocument.spreadsheetml.template"], "xmind": ["application/vnd.xmind.workbook"], "xml": ["application/xml", "text/plain"], "xrf": ["image/x-dcraw"], "yaml": ["application/yaml", "text/plain"], "yml": ["application/yaml", "text/plain"], "zip": ["application/zip"] }