No, you do not need an internet connection to compress or decompress files on Mac. The process is done locally on your system.