The BetterZip Quick Look Generator extends OS X's Quick Look functionality to let you inspect the contents of compressed archives.
The currently supported archive formats are: ZIP, RAR, 7-Zip, TAR, GZip, BZip2, ARJ, LZH, ISO, CHM, CAB, CPIO, DEB, RPM, StuffIt's SIT, BinHex, and MacBinary.
First, download the latest version of the BetterZip Quick Look Generator. If you are stuck on an older version of Mac OS X than 10.9, please get the legacy version (1.2). Which ever version you choose, unpack and copy the BetterZipQL.qlgenerator bundle to your /Library/QuickLook folder (if you want to install it for all users on your Mac) or to the ~/Library/QuickLook folder, this is the Library/QuickLook folder inside your user folder. You may need to create the QuickLook folder inside ~/Library first.
The Quick Look framework will need a little time before it realizes that a new generator has been added. If you are impatient and not afraid of using the terminal, you can execute the following command to make the Quick Look framework reset immediately:
> qlmanage -r
or you could restart the Finder. Or logout and -in again. Or restart your Mac. Or take a nap. You choose.
You can set the various options directly in the Quick Look pop-up. Just click the Preferences button in the upper right area. Set your options and click the button again to hide it.