BZIP2 Archive — bzip2-compressed file with high compression ratio.
Quick facts
What is .bz2
A .bz2 file is a BZIP2 Archive — bzip2-compressed file with high compression ratio.
In the mime-db registry it maps to application/x-bzip2, and it is marked as non-compressible. When serving .bz2 over HTTP, set the Content-Type header as shown in Developer info below.
Related entities: it maps to application/x-bzip2 — and is delivered over HTTP via the Content-Type header.
How to open .bz2 files
Developer info
When served over HTTP, responses should set the following header:
Content-Type: application/x-bzip2
Common software that reads/writes .bz2:
Relation chain
Related extensions
Related MIME types
Common uses
How to edit .bz2 files
How to create .bz2 files
Frequently asked questions
Common options include bzip2, 7-Zip. You can also open many of these files with built-in viewers or a browser.
Create a new file in any text editor or the app that owns the format and save it with the .bz2 extension.
application/x-bzip2 is the media type identifier used for .bz2 files during network transfer (for example in the HTTP Content-Type header).
Sources & standards
Updated 2026-08-18
Explore this reference