What is image compressor and resizer?
Large images slow down websites and use up storage. Smaller files load faster, which helps both visitors and search rankings.
This tool resizes and re encodes the picture in your browser using a canvas, so it is private and works offline once the page has loaded.
How to use the image compressor and resizer
- Pick an image from your device.
- Set the maximum width, format and quality.
- Press Calculate, compare the sizes and download the result.
How the image compressor and resizer works
The picture is drawn onto a canvas at the new size and exported in the format you choose. JPEG and WebP use the quality setting. PNG is lossless and ignores it.
Worked example
Common uses of the image compressor and resizer
- Making photos small enough to email or upload to a form.
- Speeding up a website by shrinking hero images.
- Preparing product photos for an online shop.
- Saving phone storage.
- Creating thumbnails of a set size.
Tips and common mistakes
For photos use JPEG or WebP. For logos and screenshots with text, PNG or WebP lossless is better.
Do not enlarge small images. It only adds blur.
Background: what to know before you rely on it
Images often make up most of a page's weight, and Google's Core Web Vitals reward fast loading. Two things shrink a file: fewer pixels and stronger compression. Resizing to the largest size you actually show has the biggest effect, since a 4,000 pixel photo shown at 800 pixels wastes most of its data. JPEG and WebP are lossy and remove detail the eye hardly notices, usually at quality 70 to 85. PNG is lossless and suits logos and screenshots. Modern formats such as WebP and AVIF give smaller files at the same visual quality than JPEG. Keep your original, as repeated lossy saves reduce quality.
Private, free and fast
This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all image tools, or browse the full list of tools.
Frequently asked questions
Is my image uploaded?
No, it stays in your browser.
Which format is smallest?
WebP is usually the smallest at the same quality.
Does it remove metadata?
Yes. Re encoding drops EXIF data such as location.
What quality should I use?
70 to 85 is a good balance.
Related tools
Image Cropper
Choose an image, pick an aspect ratio, a zoom level and which part to keep, then download the cropped...
Image ToolsImage Format Converter
Choose an image and an output format, and download the converted file. The picture stays on your device...
Image ToolsJPG to PDF Converter
Choose an image and the tool creates a PDF whose page matches the picture. The file is built in your...
Image ToolsImage Watermark Adder
Choose an image and type your watermark text. Set the position, size, opacity and color, then download...
Image ToolsImage to Base64 Converter
Choose an image and get its Base64 data URL, plus ready to paste HTML and CSS snippets. The file never...
PDF and Media ToolsPDF Compressor
Choose a PDF and a quality level. The tool rebuilds each page as a compressed image and shows how much...
Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Keep your original image files.