[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"howto:br:linux: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":16,"alternativeMethods":17,"commonIssues":18,"securityNote":37,"extensionPath":38,"extensionLabel":39,"breadcrumbs":40,"metaDescription":50},false,"br","Brotli-compressed data","archives","Archives","2026-06-12T09:12:03.735Z","linux","Linux","To open .BR files on Linux, decompress the file using Brotli tooling (the reference brotli utilities are commonly used) to produce the original uncompressed file.",[14,15],"Decompress the file using Brotli tooling (the reference brotli utilities are commonly used) to produce the original uncompressed file.","Open the decompressed output using the appropriate program (e.g., a text editor for .js/.css/.html).",[],[],[19,25,31],{"title":20,"description":21,"steps":22},"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\").",[23,24],"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":26,"description":27,"steps":28},"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.",[29,30],"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":32,"description":33,"steps":34},"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.",[35,36],"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",[41,44,47],{"label":42,"to":43},"Home","/",{"label":45,"to":46},"How To","/file-extension",{"label":48,"to":49},"Open .BR on Linux","/how-to/open-br-on-linux","Learn how to open .BR files on Linux with step-by-step instructions, recommended software, and troubleshooting tips."]