How to Unzip a Brotli .br File
Select Your Brotli File
Choose the Brotli file you want to unzip. Brotli is a compression format from Google, mostly used for web content:
Example: Compressed Brotli Input
This is a 112-byte Brotli file written as Base64, the same string the Sample button loads:
G5IAIKyKd0BVqJVHcyfeWhEv3Vzqa0VsgtE0xGpROPIEUehLEJGulAkiSgUWnXSBwdHJ8S1A/r6SgAJOQ888lNzGxnFqYY4n7Y/oC8Nc+nX2Dg8UOXOtWQNdwBwClCnh1uMhubJmm2Fcj8B6s9igNg==Unzipped, it gives back the 147-byte JSON file in Step 2.
Extract the File
There is no button to press: about half a second after the input changes, the page unpacks the Brotli data in your browser:
Example: Extracted Output
The Step 1 example unzips to this JSON file:
{ "application": "DataSync Enterprise", "version": "2.8.0", "modules": [ "API Gateway", "Data Pipeline", "Analytics Engine" ] }
Every character comes back exactly as it was compressed, spacing included.
Save Your Extracted File
Save or use your unzipped content:
Frequently Asked Questions
Is a .br file like a ZIP file?
Not quite. A ZIP is an archive: it can hold many files and folders, each with its own name. Brotli only compresses a single stream of bytes, so a .br file always unzips to exactly one file, and the name of that file is simply the .br name with the ending taken off (report.csv.br gives report.csv). If you upload a real .zip here, the page tells you it is a ZIP archive rather than Brotli.
I unzipped a .tar.br file and got a .tar. Where are my files?
They are inside that .tar. Tools that pack a whole folder with Brotli first bundle it into one tar file and then compress the tar, so unzipping only gets you back to the tar. Download it (it is saved as name.tar) and unpack it with tar -xf name.tar, or with any archive program that opens tar files.
I copied a response from my browser's developer tools. Do I need to unzip it?
No. The Network panel shows response bodies after the browser has already undone the Brotli compression, so what you copy there is the plain text. Brotli bytes only show up when you save a response without letting the client decode it, for example with curl -H "Accept-Encoding: br" -o body.br and no --compressed flag. That body.br file is what you upload here.
What does Download give me?
The unzipped bytes exactly as they came out of the Brotli stream, so images, fonts and other binary files arrive intact. After an upload the download is named after your file without .br; for pasted data it is unzipped.txt when the result is text and unzipped.bin when it isn't.
Why do I get "cut off", "extra bytes" or "not Brotli" errors?
The whole stream has to unpack before anything is shown, so you never get half a file. "Cut off" means the data ends early, usually an incomplete download. "Extra bytes" means something follows the end of the stream. If the bytes are another format, the error names it; GZIP data, for instance, belongs in GZIP Unzip.
Does my file leave my computer?
No. The unzipping runs in your browser with a WebAssembly build of the Brotli library, so the file is never sent anywhere, and nothing is kept: reloading the page starts you with an empty editor.
Related Tools
Brotli Compressor
Compress text or a file with Brotli in your browser and download the .br file
Brotli Decompressor
Open a .br file or Brotli Base64 in your browser and get the original bytes back
Brotli to Base64
Compress data with Brotli and encode to Base64 format
Base64 to Brotli
Decode Base64 and decompress the Brotli data inside it
GZIP Unzip
GZIP unzip tool - Unzip and extract .gz files online. Fast GZIP extractor and gunzip decompression
ZLIB Unzip
ZLIB unzip tool - Extract and unzip ZLIB compressed files online. Fast zlib decompression and extraction