File type / application
.bz2
Application-owned data: this family spans documents, archives, structured payloads, and software-specific files.
Best for: Workflows that need a format-aware viewer, editor, or parser rather than a generic media player.
Type family
application
Subtype
x-bzip2
Default handling
Download
Handling verdict
Serve it as an attachment so the browser saves the bytes instead of trying to interpret them.
Use a format-aware application rather than a plain-text editor.
The format is normally compressed internally, so another compression pass rarely pays off.
Application formats vary widely. Verify the source and use a trusted, up-to-date viewer for unfamiliar files.
HTTP response headers
Content-Type: application/x-bzip2
Content-Disposition: attachment; filename="example.bz2"
X-Content-Type-Options: nosniffThe MIME type describes the payload, Content-Disposition controls whether the browser previews or saves it, and nosniff prevents the browser from silently substituting a guessed type.
HTML file input
accept=".bz2,.boz,application/x-bzip2"Use this value on <input type="file"> to steer the picker toward .bz2, its known aliases, and files reporting application/x-bzip2. It improves selection, but it is not validation—check the bytes again after upload.
Registry ledger
declared valuesMIME type
application/x-bzip2
Registry source
apache
Character set
Not declared
Compressible
No
Known aliases
.boz
Same MIME type
No sibling record
How to work with .bz2
operational notesOpen it with the format-aware tool first
Start with A format-aware viewer, The software that created it, Developer tooling. Use the declared MIME type and an explicit Content-Disposition instead of relying on the filename alone. If the file came from someone else, keep the original untouched and work on a copy so a failed conversion cannot destroy the only source.
Safety note
Application formats vary widely. Verify the source and use a trusted, up-to-date viewer for unfamiliar files.