lookup> .bz2

.BZ2·File Extension

BZIP2 Archivebzip2-compressed file with high compression ratio.

Extension.bz2
File typeBZIP2 Archive
CategoryArchive
Charset
CompressibleNo
Format familybzip2

What is a .bz2 file?

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.

  • Use bzip2 or 7-Zip to open and edit .bz2 files.
  • Any text editor (Notepad, VS Code) can inspect the raw content as text.

When served over HTTP, responses should set the following header:

Content-Type: application/x-bzip2

Common software that reads/writes .bz2:

bzip27-Zip
.bz2extension of
format
bzip2served as
mime type
application/x-bzip2sent via header
http header
  • File distribution
  • Backup bundles
  • Software installation packages
  • Open the file with bzip2, make your changes and save.
  • Most editors preserve the original formatting and encoding — avoid changing the charset.
  • Create a new file and save it with the .bz2 extension, or export this format from bzip2.

What programs can open .bz2 files?

Common options include bzip2, 7-Zip. You can also open many of these files with built-in viewers or a browser.

How do I create a .bz2 file?

Create a new file in any text editor or the app that owns the format and save it with the .bz2 extension.

What is the relationship between .bz2 and the application/x-bzip2 MIME type?

application/x-bzip2 is the media type identifier used for .bz2 files during network transfer (for example in the HTTP Content-Type header).

Updated 2026-08-18

Related extensions

Related MIME types

Related headers

Related methods

Related status codes