Skip to content

Content Types

Allowed for upload (POST /files)

The following MIME types are accepted. Any other type returns 400 Content-Type not allowed.

Images

MIME type
image/jpeg
image/jpg
image/png
image/gif
image/webp
image/avif
image/bmp
image/tiff
image/x-icon

Documents

MIME type
application/pdf
application/msword
application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.ms-powerpoint
application/vnd.openxmlformats-officedocument.presentationml.presentation
text/plain
text/csv
application/rtf

Archives

MIME type
application/zip
application/x-zip-compressed
application/x-rar-compressed
application/vnd.rar
application/x-7z-compressed
application/gzip
application/x-gzip

Audio

MIME type
audio/mpeg
audio/mp3
audio/wav
audio/x-wav
audio/ogg
audio/webm
audio/aac
audio/x-aac
audio/flac

Video

MIME type
video/mp4
video/webm
video/ogg
video/quicktime
video/x-msvideo

Fonts

MIME type
font/woff
font/woff2
application/font-woff
application/font-woff2
application/x-font-ttf
font/ttf
application/vnd.ms-fontobject

Other

MIME type
application/octet-stream

Served on /m/ (view URL)

Only the types below are served on GET /m/:key. All others return 404.

Images (with optional resize and format)

MIME type
image/jpeg
image/jpg
image/png
image/gif
image/webp
image/avif
image/bmp
image/tiff

Supported query params: ?width=, ?height=, ?format= (webp, avif, png, jpeg)

Video (served as-is)

Any video/* type (e.g. video/mp4, video/webm, video/ogg)

Audio (served as-is)

Any audio/* type (e.g. audio/mpeg, audio/wav, audio/ogg, audio/flac)

PDF (served as-is)

MIME type
application/pdf

Fonts (served as-is)

MIME type
font/woff
font/woff2
application/font-woff
application/font-woff2
application/x-font-ttf
font/ttf
application/vnd.ms-fontobject

Summary

  • Upload: Accepts images, documents, archives, audio, video, fonts, and octet-stream
  • /m/ (view): Serves images (with optional processing), video, audio, PDF, and fonts
  • /d/ (download): All public files can be downloaded, regardless of type

Documents (Word, Excel, etc.) and archives (ZIP, RAR) are not served on /m/. Use /d/ to download them.