MIME Types Reference

application/octet-stream

The generic MIME type for arbitrary binary data, often used for unknown file types or forced downloads.

What Is This?

The application/octet-stream MIME type is the catch-all for arbitrary binary data. When a browser receives this content type, it typically triggers a download dialog rather than trying to display the content. It is used when the server does not know the specific file type or when you want to force a download regardless of the content.

Common Uses

1

Forcing file downloads regardless of content type

2

Serving files with unknown or uncommon extensions

3

Binary data streams in API responses

4

Executable files and installers

Examples

Browser Support

Supported by all browsers. Triggers download behavior universally.

File Extension

The * (binary) file extension maps to application/octet-stream as its MIME type.

Related Entries

More from this reference:

Frequently Asked Questions

Should I use application/octet-stream for all downloads?

No. Use the specific MIME type when possible (e.g., application/pdf, image/png) so browsers can handle the content appropriately. Use application/octet-stream only when the file type is unknown or when you explicitly want to force a download.

Does application/octet-stream affect security?

Yes. Some browsers and security scanners treat application/octet-stream downloads with extra caution because it indicates unknown content. Always serve known file types with their correct MIME types for better user experience.