MIME Types

application/zip

The MIME type for ZIP archive files used for compression and bundling.

What Is This?

The application/zip MIME type indicates that the content is a ZIP archive. ZIP is a widely used compression and archival format that bundles multiple files into a single compressed container. It supports lossless compression, encryption, and multi-volume archives.

Common Uses

1

Common Use

Software downloads and installers

2

Common Use

Bundling multiple files for download

3

Common Use

Source code distribution

4

Common Use

Backup file archives

Examples

Server Configuration

Serve files with the application/zip MIME type:

# Nginx
location ~ \.zip$ {
  add_header Content-Type "application/zip";
}

# Apache
AddType application/zip .zip
HTML Usage

Use this MIME type in HTML or HTTP:

Content-Type: application/zip

<!-- HTML reference -->
<link rel="preload" href="file.zip" as="fetch" crossorigin>

Related Entries

More from this reference:

Frequently Asked Questions

Should I use application/zip or application/x-zip-compressed?

Use application/zip, which is the official registered MIME type. application/x-zip-compressed is an older, non-standard alias that some systems still use for backward compatibility.

Can I serve large ZIP files efficiently?

Yes. For large files, ensure your server supports range requests (Accept-Ranges header) for resumable downloads. Consider using Content-Encoding: gzip on top of ZIP is redundant and wastes CPU.