[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"howto:br:windows:en":3},{"resolvedFromAlias":4,"canonicalExt":5,"ext":5,"name":6,"category":7,"categoryName":8,"updatedAt":9,"os":10,"osLabel":11,"quickSolution":12,"stepByStep":13,"recommendedSoftware":17,"alternativeMethods":18,"commonIssues":19,"securityNote":38,"extensionPath":39,"extensionLabel":40,"breadcrumbs":41,"metaDescription":51},false,"br","Brotli-compressed data","archives","Archives","2026-06-12T09:12:03.735Z","windows","Windows","To open .BR files on Windows, if the file is part of a website (e.g., \"app.js.br\"), rename/copy it only if needed and plan to decompress it (it is not meant to be opened directly).",[14,15,16],"If the file is part of a website (e.g., \"app.js.br\"), rename/copy it only if needed and plan to decompress it (it is not meant to be opened directly).","Install and use a Brotli-capable tool (for example, the Google Brotli command-line utilities from the brotli project) to decompress the .br into the original file.","Open the decompressed output (such as .js, .css, .html, or .wasm) with the appropriate editor or viewer.",[],[],[20,26,32],{"title":21,"description":22,"steps":23},"Decompression produces an unknown or extensionless file","A .br file is just compressed data; it may not include the original filename or extension, especially when it was created for web serving (e.g., \"main.js.br\" implies the output should be \"main.js\").",[24,25],"Look at the original context or name (e.g., \"style.css.br\" should decompress to \"style.css\").","After decompressing, add the correct extension based on what the file is (CSS/JS/HTML/WASM are common for web assets).",{"title":27,"description":28,"steps":29},"The file won’t open in a browser or editor","Trying to open the compressed .br directly will show garbled data because it must be decompressed first.",[30,31],"Decompress the .br with a Brotli-capable tool (such as the official brotli utilities).","Open the decompressed output with the appropriate program (text editor for source files, etc.).",{"title":33,"description":34,"steps":35},"Website serves a .br file as a download instead of loading normally","On the web, Brotli is meant to be delivered using HTTP content coding (Content-Encoding: br). If a server is misconfigured, it may serve the pre-compressed file as if it were the actual resource or omit the correct headers.",[36,37],"If you manage the site, ensure Brotli is delivered as HTTP content coding \"br\" (Content-Encoding: br) rather than exposing the .br file directly.","Verify the server sets appropriate headers and serves the original resource URL while using Brotli encoding for transport.",".br is compressed data; decompressing untrusted .br files can consume significant CPU/memory (a common risk with compressed inputs), so be cautious with very large or unexpected files.","/file-extension/br",".BR",[42,45,48],{"label":43,"to":44},"Home","/",{"label":46,"to":47},"How To","/file-extension",{"label":49,"to":50},"Open .BR on Windows","/how-to/open-br-on-windows","Learn how to open .BR files on Windows with step-by-step instructions, recommended software, and troubleshooting tips."]