What's A Good Free Way To Compress Images For A Website?

Photos on my website are showing up slowly since I added a gallery of bowls from my pottery class. I’m working with 17 photos, and the originals are sitting in a folder on my laptop. What’s a good free way to compress images for a website without making the glaze details look blurry?

I tried saving smaller copies manually, but flipping back and forth to check each one is getting annoying. I’d rather process the folder together and keep the existing filenames so I don’t have to replace every image reference. I’m fine doing this before uploading; I just don’t want another account to manage.

When I need to prepare a photo for an upload form, the file-size restriction is what makes me look for an alternative to a full photo editor. I want a smaller copy that meets the requirements without losing the details someone needs to see.

Decide what the finished image needs to preserve

I would check the form’s requirements before changing anything. A limit on file size is not the same as a requirement for pixel dimensions, and satisfying one does not necessarily satisfy the other. That distinction matters if you are considering reducing the image’s width to save space.

The type of image matters, too. An ordinary photograph and a logo with a transparent background need different checks. PNG input can become JPEG output with this compressor, so I would not assume that transparency will survive. If the background needs to remain transparent, checking the downloaded format belongs on the list alongside checking its size.

I would also decide how the picture will actually be viewed. That gives me a more useful way to judge the result than simply looking at how much smaller the file became. Faces, fine edges, and small lettering are worth inspecting at the intended viewing size. A download that meets the upload limit but makes important text difficult to read is not the result I am after.

Before doing any of that, I would keep the original separate. The compressed version is the upload copy, not a replacement for the source image.

Use the size limit first, then adjust if needed

For the compression step, the CleverHumanizer tool accepts JPG, PNG, and WEBP files and lets you choose either a quality setting or a target file size. It is free, requires no signup, and adds no watermark. Processing happens in the browser rather than sending the photos to a server.

For a form capped at 200 KB, I would choose “Fit a size limit” and enter that allowance. That is more direct than repeatedly changing quality and checking the download. With a strict 1 MB allowance, I would aim a little below the boundary rather than try to land exactly on it.

If the result still needs to shrink, the maximum-width setting is worth checking before lowering quality further. Removing resolution you do not need can make more sense than applying increasingly harsh compression to a large picture. Any required dimensions still take priority.

Batch processing is available, but I would try a detailed image first and inspect the result before applying the same settings to the rest. That keeps the workflow simple without treating every picture as though it has the same needs.

Which tends to cause more trouble with your uploads: the size cap, required dimensions, or keeping details readable?

4 Likes

You will also want to make sure that you don’t have issues with your gallery being slow as it will need to download the large images. Whilst you might be reducing the size visually, the actual file size won’t change much. You will want to not focus on the upload limit but more how much is being loaded into your gallery.

For the compressing part you can do a batch job using the free option on CleverHumanizer. In your gallery however you can make two different sets of images. One for the thumbnails and one for the larger images that you will have people opening. The thumbnails can be low quality to help save on the file size. The larger image will have more detail to show the glaze and texture. If your website builder has an option to create smaller versions of the images then this might be something you want to look into with your gallery settings.

Check if there is a lazy load option. This will help speed up your page because it won’t load images further down the page. This will mean that the images which are visible on the page will load as normal. Whilst the compression will help, you will also want to avoid loading extra images unnecessarily.

Getting under an upload limit is different from making a gallery load quickly, so I wouldn’t use the form-limit approach as your target. The free batch option @static_gadget suggested sounds like a starting point, but check what happens after you upload the smaller copies: your gallery may still be pointing to the original files. Replace the images in the gallery itself rather than just adding compressed versions to your media library. Keep the old uploads until you’ve checked that nothing else on the site uses them.

Small thumbnails don’t need to be low quality. I’d push back on that suggestion from @static_gadget: reduce their pixel dimensions, but don’t automatically turn the compression way up. Those little previews are what people use to decide whether a bowl is worth opening.

Check your current photo apps on your laptop. If they include an export section which allows you to play with the sizing of images and the JPEG quality then you might not need to use another compressor. With just regular photos and no transparency, JPEG is a good choice. I would go for a medium high quality. There is no one size fits all when it comes to the slide so just use this as a guide.

Also make sure you crop any unnecessary areas of the background. If your bowl is only a small area of a large photo, reducing the size of the whole image will reduce the size of your bowl further. You will get a clearer image of the pottery by cropping it closer. However, leave some space so that you can see the shape and handles clearly. Just because your gallery uses square tiles, do not force everything into a square.

When amending your images to export, ensure they are amended from the original. This means if you change your mind you have less damage to your image.

First make sure that you’re not dealing with a few large images. Open up the folder on your laptop. Change the view to details/list and sort by file size. If there are many images with a similar file size then you will need to do more work than if only a couple of images are large.

I’d use @ultraarchitect163’s photo-app export approach if only a few files need attention. If nearly everything is large, batch compression becomes more appealing because you avoid repeating the export settings for each photo. That’s the comparison I’d make before picking a free tool: how much clicking does it save for this particular folder?

Look at the actual file size and not just the percentage you’ll save. If your image is very large it may reduce in size by a lot, however it could still be larger than the others. Whereas if the image is small, there is no point trying to apply an aggressive compression as it won’t save much. Focus on the files which will have the most impact.

If the glaze colors are a big part of showing off your bowls, I’d make color accuracy part of the compression check. A photo can still look crisp while no longer looking quite like the piece you made. The free export route @ultraarchitect163 suggested would be my starting point, but I wouldn’t approve the whole batch based only on smaller file sizes.

Choose a bowl with some colour variation and export a test image. Place next to your original image so you can see how it looks when uploaded. You may want to check that the glaze looks consistent and if the darker areas are visible. I wouldn’t zoom in too much. If the colours look quite different I would check the export settings and not reduce the quality any further. I would prefer to have a slightly larger image of my pottery to be honest rather than save some space but give a misleading image of the finish.

@static_gadget has it backwards on one point. Dropping the pixel dimensions is exactly what cuts file size the most, often more than quality compression does. A photo straight off a phone can be 4000 pixels wide, and nobody viewing a gallery of bowls needs more than maybe 1600 across for the big view. Resize first, compress second. That order matters.

With only 17 images here, half of this thread is just complicating things. There’s no need for a batch pipeline. It’s always worth checking what your site builder is doing, because many will do their own resizing and will output WebP automatically. This could mean your finely tuned JPEGs are getting processed again. If this is the case then your slow gallery is a loading or plugin issue. It won’t help to push more compression onto them.

If the builder isn’t doing that for you, then fine, shrink them yourself and serve WebP instead of JPEG where you can. Same visible quality, smaller files, and it handles the glaze detail @nanolynx5324 was worried about better than cranking JPEG quality down. Just load the page on your phone over mobile data afterward and see if it’s actually faster. That tells you more than staring at file sizes in a folder.