Paste your JavaScript or CSS below. The tool measures the raw size and the real gzip size (compressed in your browser), estimates brotli, and shows how long it takes to download on typical connections. Nothing is uploaded.
Paste some code to measure it.
How this is calculated
Raw size is the exact byte length of the text (UTF-8).
Gzip size is measured live in your browser with the CompressionStream API - it is a real number, not an estimate.
Brotli is estimated (about 15% smaller than gzip); your CDN's real brotli may differ.
Download times assume typical throughput (Slow 4G 1.6 Mbps, Fast 4G 9 Mbps, broadband 30 Mbps) and are estimates, not measurements of your users.