Image Compressor for Websites
Drop in the photos you plan to put on your website. Choose how wide they need to be and they come back a fraction of the size. The work happens in your browser, so nothing is uploaded.
Free to use. No sign-up. Runs in your browser.
The compressor needs JavaScript, because the work is done by your browser and not by our server. The guide below lists the sizes and formats to ask for if you use another program.
Your photos
Compressed files
Nothing here yet. Add a photo and it will appear with its new size and a download button.
Compressing photos one page at a time? We can speed up the whole site.
Why photos are the first thing to fix on a slow site
A photo straight from a phone is around 4,000 pixels wide and three to eight megabytes. The widest it will ever be shown on a website is about 2,000 pixels, and most photos sit in a space a quarter of that. Upload the original and every visitor downloads all of it anyway, on whatever connection they happen to have.
Two changes take care of almost all of that weight, and this tool makes both at once.
1. Resize to the size it will be shown
Halving the width of an image cuts the file to roughly a quarter. Use the list in the tool as a guide: 1600 to 2000 pixels for a banner that spans the page, 1200 for a photo beside or between paragraphs, 800 or less for a team photo, a logo strip or a gallery thumbnail. The tool never enlarges a picture, so a photo that is already small is left at its size.
2. Save it in a format made for the web
WebP is the format to use for photographs today. It keeps the same visible quality as JPEG in a noticeably smaller file, and Chrome, Safari, Firefox and Edge have all displayed it for years. Choose JPEG if the picture is headed for an email newsletter or a program that has not caught up. Screenshots and logos with flat color are a different case: keep those as PNG or SVG.
What to do with the files
- Rename before you upload. "cedar-privacy-fence-hudson.webp" tells Google what the photo shows. "IMG_4471.webp" does not.
- Write the alt text. One plain sentence describing the picture, for screen readers and for search.
- Replace, do not add. Swap the heavy original out of your media library so it is not still being served somewhere.
Images are the most common cause of a slow page, though not the only one. Our guide to why a website is slow walks through the rest, the website grader will tell you how your pages score today, and keeping a site fast is part of what our hosting and maintenance plan is for. We work from Fishers, Indiana with clients across the country.
Frequently Asked Questions
Sizes, formats and what happens to your photos.
No. The resizing and compression run in your own browser. The files are never sent to us or to anyone else, which you can confirm by turning off your internet connection after the page loads: the tool still works.
For a full width banner, 1600 to 2000 pixels. For a photo inside a column of text, 800 to 1200. For a thumbnail or a team photo, 400 to 600. A phone photo is usually 4000 pixels wide, several times more than any of those need.
WebP, unless something you use cannot open it. It is typically a quarter to a third smaller than JPEG at the same quality and every current browser shows it. JPEG is the safe choice for email and for older software.
Start at 80. Most photos look identical to the original there. Drop to 70 for large background images, and go up to 90 only for images where fine detail is the point, such as product close-ups.
Oversized images are the most common reason a small business site loads slowly, and slow pages lose visitors and rank lower. We list the other causes in why is my website slow.
Site still slow?
Images are the usual cause, but not the only one. We find the rest and fix them.
Tell us about your website and we will take a look.