Image Compressor
Shrink JPG, PNG and WebP files in your browser — nothing is uploaded.
What is an image compressor?
An image compressor reduces the file size of a photo or graphic while keeping it visually acceptable. This one handles JPG, PNG and WebP, lets you set a quality level with a slider, optionally caps the maximum width, and can convert the output to a different format. Drop in a batch of images and it shows the original and compressed size of each, so you can see exactly how many kilobytes you saved.
All processing happens in your browser. Your images are decoded, resized and re-encoded on your own device using the browser's canvas engine, and nothing is uploaded to a server. That makes it safe for client photography, unreleased product shots, screenshots with personal data and anything else you would rather not hand to a third party. It also means there is no upload wait, which matters when you are compressing 30 images for a single page.
For SEO, image weight is one of the most direct levers you have over page speed. Images are the largest element on most pages, and an oversized hero image is the single most common reason a page fails Google's Largest Contentful Paint threshold.
How to compress images online
- 1
Add your images
Drag and drop one or more JPG, PNG or WebP files onto the drop zone, or click to choose them. You can add a whole batch at once.
- 2
Set the quality
Move the quality slider. For photos, 70 to 80 percent is usually indistinguishable from the original at normal viewing size and cuts file size dramatically. Go lower for thumbnails, higher for portfolio work.
- 3
Set a maximum width
If your images are larger than they will ever be displayed, enter a max width. A blog content column is often 700 to 800 pixels wide, so 1600 pixels covers high-density screens with room to spare.
- 4
Choose the output format
Keep the original format or convert. WebP is the best general choice for the web; keep PNG for graphics that need transparency and sharp edges if WebP is not an option in your workflow.
- 5
Compare and download
Check the before and after sizes for each file, preview the result, then download the images individually or all together.
Why compress images: practical use cases
Passing Core Web Vitals
Google rates LCP as good at 2.5 seconds or less and poor above 4 seconds. When the LCP element is an image, trimming a 2 MB hero to 200 KB is often the difference between a red and a green score in PageSpeed Insights.
Faster WordPress and Shopify stores
Product galleries and blog posts uploaded straight from a camera or phone can be 3 to 8 MB per image. Compressing before upload keeps the media library lean and reduces reliance on optimization plugins.
Email attachments and newsletters
Many mail servers reject attachments over 20 to 25 MB, and heavy images in newsletters load slowly on mobile data. A batch compress keeps everything well under the limit.
Form and portal upload limits
Visa applications, job portals and marketplaces often cap uploads at 1 or 2 MB. Lower the quality or width until the file fits without retaking the photo.
Open Graph and social images
A 1200×630 social preview image does not need to be 1.5 MB. Compressing it helps platforms fetch and cache it reliably when your link is shared.
Choosing formats and quality: how image compression works
JPG uses lossy compression designed for photographs. It throws away detail the eye is least likely to notice, and the quality slider controls how aggressively. It has no transparency. PNG is lossless, perfect for logos, icons, screenshots and anything with flat color or text, but photos saved as PNG are often five to ten times larger than a good JPG. WebP supports both lossy and lossless modes plus transparency, and is typically 25 to 35 percent smaller than an equivalent JPG. Every current major browser supports it.
Resizing usually saves more than quality settings. A 4000-pixel-wide phone photo displayed at 800 pixels carries 25 times more pixels than needed. Set a sensible max width first, then fine-tune quality. For responsive sites, export two or three widths and serve them with srcset so phones do not download desktop images.
For your LCP image specifically, compress it, give it explicit width and height attributes to prevent layout shift, do not lazy-load it, and consider adding fetchpriority=high. Lazy-load images further down the page instead. These steps, combined with a lighter file, address both LCP and Cumulative Layout Shift.
One caution: re-compressing an already compressed JPG repeatedly degrades it each time. Always start from the highest-quality original you have.
Frequently asked questions
Is this image compressor free?
Yes, the image compressor is free with no sign-up, no watermark and no cap on the number of images. Because compression runs on your own device instead of on toolsbox servers, there is no per-file cost to limit. The practical limit is your device's memory, and a modern laptop or phone handles batches of dozens of large photos comfortably.
Are my images uploaded to a server?
No, your images never leave your device. The files are read, resized and re-encoded entirely inside your browser using built-in image APIs, and the compressed versions are created locally for download. Nothing is transmitted, logged or stored by toolsbox. You can even disconnect from the internet after the page loads and the tool will keep working.
What quality setting should I use?
For most web photos, a quality between 70 and 80 percent gives the best balance; the difference from the original is hard to spot, and file size often drops by 60 to 80 percent. Use 60 to 70 for thumbnails and background images, and 85 or higher for photography portfolios or images that will be zoomed. Always check the preview at actual display size.
Should I convert my images to WebP?
Yes, in most cases WebP is the better choice for the web. It produces files roughly 25 to 35 percent smaller than JPG at similar quality, supports transparency like PNG, and works in all current versions of Chrome, Safari, Firefox and Edge. Keep a JPG or PNG copy only if you need to send files to software or print workflows that do not accept WebP.
How much do compressed images help SEO?
Compressed images help SEO mainly through page speed and Core Web Vitals. Google uses page experience signals, including LCP, as part of ranking, and the largest element on most pages is an image. Lighter images also cut bounce rates on slow mobile connections. Compression will not rescue weak content, but it removes one of the most common technical drags on performance.
Why is my compressed PNG not much smaller?
PNG is a lossless format, so it cannot discard detail the way JPG or lossy WebP can. If your PNG is a photograph, converting it to WebP or JPG will shrink it far more. If it is a logo or screenshot that must stay sharp, try reducing its dimensions with the max width setting, or convert it to WebP, which keeps transparency at a smaller size.
Built and reviewed by Umer Anees, SEO consultant.
Related tools
More Image tools →AI Crawler Checker
See which AI bots — GPTBot, ClaudeBot, PerplexityBot and 19 more — can crawl your site.
AI Search
llms.txt Generator & Validator
Draft an llms.txt from your sitemap, then validate it against the spec.
AI Search
Word Counter
Count words, characters, sentences and reading time as you type.
Text
Case Converter
Switch text between UPPER, lower, Title, Sentence, camelCase and more.
Text