Javascript – How to estimate the size of the gzipped script

gzipjavascriptminify

How can I estimate the size of my JavaScript file after it is gzipped? Are there online tools for this? Or is it similar to using winzip for example?

Best Answer

If you're on unix - gzip -c filename.min.js | wc -c will give you a byte count of the gzipped file