How to Compress Images Online

Part 1 – Choose Your Image

You may want to compress your image to help you attach it to an email or upload. This guide will help you understand how to use this free image compressor. We’ll take you through how to choose your image, set your file size and download your compressed image. We’ve used a test image.

Screenshot: Guide to compress an image for free (JPG, PNG or WebP)

Click on the link above to open your image compressor.

Click ‘Choose files or drop them here’. You can upload images in JPG, PNG and WebP formats. We’ve uploaded a PNG image that is 1600 x 1000 pixels. Below we can see our image(s) in the list with a file size of 1.4MB.

Next we can choose our Target options. We have ‘Light – best quality’, ‘Balanced – recommended’, ‘Strong – smallest file’ and ‘Fit a size limit’. If you don’t have specific upload requirements then we would recommend starting with ‘Balanced’. If you have a maximum file size to upload then we would recommend using ‘Fit a size limit’.

We can also adjust our Max width (px). This will change the pixel size of your image. We would recommend leaving your original file so you can play around with the different options.

Screenshot: Chosen PNG and compressor settings

Before you choose your settings

Before you start to resize your image, think about what requirements you have for where you want to upload your image. You may have restrictions on the file size, file type and/or pixel size. You may find that even though your image is a small file size (in Kb) it isn’t accepted due to the wrong file type or not enough pixels. Firstly make a note of any requirements.

File size relates to how much storage your file takes up. Pixel size relates to the height and width of your image. In this walkthrough, our image is 1600 x 1000 pixels and has a file size of 1.4MB. Whilst these are related they are not the same. If you want to keep your image to a specific file size (e.g. 200 KB) then don’t add this to the Max width box. Instead, add this to the Limit (KB).

Try to choose an image that will give you a good idea of what your image will look like. If you have a photo, screenshot with very small text or simple graphic then this may not react the same way when being encoded as a JPEG. We’ve created this image specifically to be a graphic with text, shapes and a textured background. This isn’t a typical image you would get from taking a picture on your phone but will show you how to use the settings and download your image.

In our next post we’ll walk through how to compress your image to 200KB with a maximum width of 1200px.

Part 2: Reduce File Size to 200KB

Continuing from part 1 your file should already be open within your Image Compressor.

Click Target and select Fit a size limit. A new box will appear called Limit (KB). Enter 200 for this example. You will need to enter your required limit.

Enter the Max width (px) as 1200. This will reduce the size of your image. Our original image was 1600 x 1000 pixels. If you enter a larger figure than the width of your image it won’t reduce.

Screenshot: Fit a size limit of 200KB with Max width of 1200px.

Click Compress images. At the end you should have something similar to below. On the download row you can see the file name as tutorial-sample.jpg and the size as 1200×750 px. The page also says “Done — 1.4 MB → 190 KB (86% smaller).” This is what we had for our example but doesn’t guarantee all your images will reduce.

Screenshot: Final result with download row.

You can see the file type has changed from PNG to JPG. Whilst you can upload JPG, PNG and WebP files the output may not always be the same. The page says that the compressor will try to encode the image as JPEG. The output will be JPEG having been resized. This means there will be no transparency.

If you are not getting a small enough image reduce the Max width. If you are able to you could increase your limit. You may notice that your file is smaller because there are less pixels or there are more artefacts from the compression.

Choosing a realistic target

Within this example we were trying to get the file size down to 200KB. Our image ended up being 190KB. If your upload form requires your image to be a certain size smaller than this don’t assume that by using a stronger compression preset it will be small enough. You can reduce the pixels by reducing the pixel size but make sure you know what the minimum size should be.

When choosing your max width think about what you are uploading your image to. If you need your image to stay a large size so you can see the detail then setting it to a very small width may cause you to lose some detail. If your image is only going to be shown at a sensible size then keeping the original file large may cause it to be unnecessarily large. There is no one size that will work for all. We set our image to have a max width of 1200 pixels.

To get a good comparison between your original image and compressed image try changing one thing at a time. Try changing your target size but keeping the width the same or vice versa. This will help you to see what changes have been made to give you a smaller file.

Final Post: Download & Check File

Part 3: Download your compressed image

  1. Click on the line with the download arrow and your filename. In this case tutorial-sample.jpg.

Screenshot: Results have been selected for download.

  1. Locate your downloaded file. In this example we have successfully downloaded our image. We can see that our image has been compressed to 194588 bytes. However the original PNG was 1,424,174 bytes. It also shows that our image has been resized to 1200 x 750px. The original image was 1600 x 1000px. You will notice that the numbers have been rounded to make them easier to read. This is just for this example.

  2. Check that your image is the right size. If you are using your image somewhere with small text, fine lines and gradients, ensure your destination will accept JPEGs and that your file is within the size limit. Your compressed image should also be a separate file.

FAQs

Can I compress PNG/WebP files without changing the file type? It depends. The compressor will attempt to compress your file as a JPEG. If there is no compression and no resizing required, the original file will be used. If you require resizing then your file will be a JPEG. If you require transparency in your image then it is recommended to use the Image Resizer and set the output as PNG.

If your text is looking blurry you can try using the Light quality preset or increasing your maximum width. There is no universal setting that will ensure no loss.

Can I compress more than one image? Yes! You can select multiple images. Each image will show their own results. However we have only used one file in this walkthrough.

Final Checks Before Uploading

Don’t be confused by the filename. In this example we have converted our PNG into a JPEG so our saved file will be a JPEG. Ensure you know what file type you are saving as, how big it is and what dimensions. If your destination needs a PNG file then a small JPEG won’t work. Simply changing the file extension will not convert your image.

If you need your logo/Interface element to be transparent then ensure you have your original transparent file. JPEGs do not support transparency so ensure your workflow is set to output as PNG. Whilst the Image Resizer above will help you keep your file in the correct file type, it does not guarantee all your PNGs will be under a certain KB.

Once you have downloaded your image ensure you use it in your destination. Just because you received a successful compression message does not mean it will work on another site. Ensure you keep your original file until you have confirmed it works and is readable. If your destination is not accepting your image then compare the requirements and your downloaded file.

Summary

Choose your file, choose your destination and optional maximum width. Press compress images. Download and view your results. Try using your own image!