I want to learn how to highly compress a file. I have downloaded files whose compressed size was 4 GB, and after extracting they became 10 GB.

  • Which software do I need to use for such high compression?
  • Will I lose quality of the data by compression?
  • If you direct me to WinRAR or 7-Zip, please tell me how can I highly compress a file because I have tried compression with it, but the size was reduced just by only a few MBs.

I am compressing games like .exe files.

  • 1
    What operating system are you using? What type of file or files are you compressing. Will it be one file of one type or multiple files of the same type or mixed type? What programs have you tried so far and why did they not work for you? – Dave Aug 14 '12 at 8:57
  • Are you actually downloading 4gb of .exe though or installation files which results in an .exe? Because the installation is probably not just one compressed file but multiple compressed files, the installation process will un-compress as it installs. – Dave Aug 14 '12 at 10:48
  • First, you start with highly compressible data. – Fiasco Labs Nov 8 '13 at 3:39
  • Why the downvotes, though? Wanting to know how to highly compress a file seems like a valid question to me. Of course, the answer is trivial, but that doesn't make it any less of a good question. – Omega May 27 '15 at 19:08

Some basic background information on compression:

Truly random data is not losslessly compressible at all. This is something of a basic tenet of a field of study known as Information Theory (closely related to Computer Science). For a file to be losslessly compressible, its data must be repetitive or predictable.

One rule of thumb is that arbitrary computer files are typically around 50% compressible using a decent lossless algorithm. Text files are often dramatically compressible.

If you have pictures, audio, or video files, they may be able to be dramatically compressed while still remaining reasonable fidelity to the original if you can accept lossy compression. The lossy compression algorithms vary based on the medium (still photos, audio, video, etc.), and even by the sub-category; a photo from a camera might be best compressed with JPEG, whereas a computer graphic might be best compressed with a different codec. Music does best with codecs like MP3 or AAC at bitrates of 256kbps or higher, but voice recordings can be compressed to just 9.6kbps and still be perfectly intelligible.

The H.264 AVC codec can compress HD video by two or almost three orders of magnitude (that is, to less than 1% of its original size) while still retaining reasonable quality. Uncompressed full HD is 1920 pixels wide * 1080 pixels high * 24 bits/pixel * 30 frames per second = about 1.5 gigabits per second, but it's not uncommon to see H.264 AVC compressed HD at 15 megabits per second or less with reasonable image quality.

If you compress a file once (lossy or lossless), and then try to do a lossless compression of that, it tends to not be capable of much further compression. That's because any good compression algorithm should have gotten rid of all the wasted space (repetitive or unnecessary data), so there shouldn't be anything left to compress.

  • So can I compress computer games. If yes than by which percentage the size will reduce – Alfred James Aug 14 '12 at 8:52
  • 4
    @Alfred, again - if you have something in mind you need to update your question for it. People are taking time to help you and your question does not mention what type of file you are trying to compress. A game could be an MSI, an EXE (if for Windows at all?). As for what % it's not predicable - read Spiff's excellent answer again (+1). – Dave Aug 14 '12 at 8:56
  • 2
    The level of awesomeness in your answer is in such stark contrast with that in the question, I'm just speechless... – Mehrdad Aug 14 '12 at 9:36
  • h.264 can be watchable at 2Mbit/s for 1080p, if you give x264 enough CPU time, and your content is fairly compressible. – Peter Cordes Jan 15 '15 at 7:06

This is a very old topic, don't know if my input will be helpful at this point but I think he wants to repack an already installed game,

If that is the case then a combination of 7z, srep and precomp will be able to reduce a 2.2gb game to 680mb. See this tutorial on youtube.


You could try Winrar. There are many compression options. If this is not enough then try 7-ZIP


It depends on what type of files you are trying to compress. 7z's LZMA algorithm has a higher compression ratio than RAR, except for "multimedia" files like .wav and .bmp files, for which RAR uses specialized routines that outperform LZMA.

  • It can't higly compress a file – Alfred James Aug 14 '12 at 8:03
  • tried that too. – Alfred James Aug 14 '12 at 8:06
  • 3
    Since 7-ZIP is a valid answer, I think you need to update your question to list what you have tried please. – Dave Aug 14 '12 at 8:07
  • What type of files do you want to compress? The ones you downloaded - what compression scheme had been used? File extension? – DaveP Aug 14 '12 at 8:31
  • @AlfredJames saying that "Rar/7zip" can't "highly compress" is false. – Sathyajith Bhat Aug 14 '12 at 10:42

protected by Community Jul 29 '14 at 4:49

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.