Loading Brotli Unzip Tool...
Please wait a moment

How to Unzip a Brotli .br File

Step 1

Select Your Brotli File

Choose the Brotli file you want to unzip. Brotli is a compression format from Google, mostly used for web content:

•
Upload from computer: Click Upload and pick your .br file. It is read as raw bytes and shown as Base64 in the input box
•
Paste compressed data: If you have the Brotli bytes as Base64 text, paste it into the input box
•
Test with sample: Click Sample to load the Base64 shown below

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.

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:

•
One file out: A .br file holds a single compressed file, so that is what you get back. There are no folders or file lists inside
•
No server upload: The file is unzipped on your device and never sent anywhere
•
Text or binary: Readable text appears in the output panel; for images and other binary files you see the size and a Download button

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.

Step 3

Save Your Extracted File

Save or use your unzipped content:

•
Download file: Saves the unzipped bytes exactly, named after your upload without .br (data.json.br becomes data.json), or as unzipped.txt or unzipped.bin for pasted data
•
Copy text: Copies text output to your clipboard
•
Further processing: Tidy JSON with the JSON Formatter or view it as a table with JSON to Table

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.