Compress Image
Compress image files with a quality slider and see the saving right away. Free, and nothing is uploaded.
Drag images here or choose files
Your image is processed in your browser and is not uploaded.
How to compress an image
- Choose an image or drag it into the box.
- Move the quality slider and pick JPG or WebP for the best savings.
- Compare the file sizes and download the compressed image.
How to reduce image file size without losing visible quality
Work in three steps. First, resize the image if it is larger than it needs to be, because fewer pixels mean a smaller file. Second, set the quality around 70 to 80 percent and lower it only until you notice a difference. Third, compare formats: for photos, WebP or JPG is usually much smaller than PNG at the same visible quality.
The result is shown next to the original size, so you can see the saving before you download. Everything happens in your browser, and the file stays on your device.
What is image compression?
Image compression is the process of reducing an image file's size in bytes, usually by storing it with less detail than the original. This tool uses lossy compression for JPG and WebP: lowering the quality slider discards fine detail that is hard to see and shrinks the file, while the width and height in pixels stay the same. PNG is lossless, so the slider has no effect on it. To save space on a PNG photo, convert it to JPG or WebP. A quality of 70 to 80 percent is a common starting point for photos. After each change the tool shows the original size, the new size and the percentage saved, so you can lower the quality until you notice a difference and then step back up. Because everything happens in your browser, the image is never uploaded to a server and nothing is kept once you close the page.
How image compression works
JPG and WebP use lossy compression: lowering the quality removes detail the eye barely notices and shrinks the file. A setting around 70 to 80 percent is often a good balance.
PNG is lossless, so the quality slider does not apply to it. To shrink a PNG photo, convert it to JPG or WebP.
Worked example: from 2.4 MB to 600 KB
The numbers below are an illustration of the arithmetic, not a measurement of a real file. Results depend on the image, so always check the sizes the tool shows you. Imagine a photo that is 2.4 MB (2,400 KB). You lower the quality slider and the tool reports a new size of 600 KB. The saving is 2,400 minus 600, which is 1,800 KB. Divided by the original 2,400 KB, that is 0.75, so the file is 75 percent smaller, or one quarter of its original size.
Now imagine the same photo is 4000 by 3000 pixels, which is 12,000,000 pixels. If you first reduce it to 2000 by 1500 pixels, you keep only 3,000,000 pixels, exactly a quarter, before any quality change is applied. Fewer pixels means less data to store, which is why changing the dimensions often saves more than the quality slider alone.
To follow this workflow, first set the dimensions with the resize image tool, then bring the result here and lower the quality until you just start to see a difference. Step back up one notch and download the file. Because the tool shows the original and new size after every change, you can see at once whether the extra step was worth it for your image.
JPG, PNG or WebP: which format to choose
JPG is the long-standing choice for photographs. It uses lossy compression, works in practically every browser, app and device, and does not support transparency. When you save as JPG, this tool fills transparent areas with white.
PNG is lossless and keeps every pixel exactly, with support for transparency. That makes it a good fit for screenshots, logos, icons and graphics with sharp edges and flat colors. For photographs, PNG files are usually much larger than JPG or WebP, and the quality slider is not available for PNG output.
WebP supports both lossy and lossless compression as well as transparency, and modern browsers can display it. For many images it produces smaller files than JPG at similar visual quality. If you load a PNG, this tool preselects WebP, because re-saving a PNG as PNG rarely makes it smaller and WebP keeps transparency.
Compression and resizing work best together. Compression lowers the number of bytes used per pixel, while resizing lowers the number of pixels. A photo from a modern phone is often far larger than a web page or an email ever displays, so reducing the dimensions first and compressing second usually gives the smallest file for a given level of visible quality.
Compress image to 100 KB, 50 KB or an email limit
Many upload forms and email services set a size limit, such as 100 KB for an ID photo or 25 MB for an email attachment. To compress an image to a target size, use the target file size mode and enter a value such as 100 KB, or lower the quality slider in steps and watch the size the tool shows. Photos usually shrink quickly between 90 and 70 percent quality and change little after that.
For 50 KB or 100 KB, reduce the dimensions first with resize image, then compress. A JPG that is 1,200 pixels wide at 70 percent quality can land well under 200 KB, and a 600 pixel wide one under 100 KB, although the result depends on the photo. If the tool cannot reach your target, it says so and shows the smallest result it can make.
Frequently asked questions
How do I reduce the size of an image without losing quality?
Keep the quality setting around 70 to 80 percent, choose WebP or JPG for photos and resize the image first if it is larger than you need. Lower the quality only until you notice a difference.
Is my image uploaded to a server?
No. Compression happens in your browser on your own device.
Which quality should I choose?
Start around 70 to 80 percent. Lower it until you notice a difference, then step back up.
Why did my file get bigger?
Re-encoding an already well-compressed image, or saving a JPG as PNG, can increase the size. Try a lower quality or WebP.
Does it keep the original size in pixels?
Yes. Compression keeps the dimensions. To change them, use the resize image tool.
Which format gives the smallest file?
For photos, WebP or JPG is usually much smaller than PNG. Try both at the same quality and compare the sizes the tool shows.
What happens to transparent areas?
PNG and WebP keep transparency. JPG does not support it, so transparent areas are filled with white.
Last updated: November 13, 2026
Maintained by the Tryutilo team. Calculations run in your browser, and nothing you enter is sent to a server.