Compress Images to KB or MB
Compress JPG, PNG, WebP and AVIF images with a custom maximum file size in KB or MB. Adjust dimensions and preview the compressed image before downloading.
Your image stays on your device. Processing happens in your browser, with no image upload to our servers.
How to compress an image
Computer or wide screen: File type and Max file size are in the right-hand panel, below Crop preview. Preview output and Download are beneath those settings.
Mobile or narrow screen: File type, Max file size, Preview output and Download are below the image preview. You only need to open Crop image or Dimensions if you also want to change the crop or pixel dimensions.
- Choose the image you want to make smaller. If a drop area is shown on your computer, you can drag the image into it instead.
- Choose an output format. Max file size starts at 100KB; change the value or select MB if you need a different limit.
- Adjust the crop or dimensions if your destination also has shape or pixel-size requirements. If you opened the editing dialog, tap Done to return to the export settings.
- Select Preview output to inspect the compressed image, then download the result.
How to compress an image to 100KB or another size
For a 100KB upload limit, enter 100 in Max file size and choose KB. Use the same controls for 50KB, 200KB, 500KB or another target required by your website.
To compress a WebP image below 60KB, choose WebP as the output format, enter 60 and select KB. For a limit in megabytes, select MB instead.
What happens to image quality and dimensions?
A maximum file size is an upper limit, not an exact byte count. Tighter limits can require lower encoding quality or smaller dimensions, so review the result before using it.
Turn off Auto size, choose Exact size and enter the required width and height if the output dimensions must remain fixed. Some file-size and dimension combinations cannot be met together.
Automatic compression without a manual target
Clear Max file size to use an automatic target calculated from the uploaded file size and the selected crop area. This is an estimate, not a way to recover the original encoding quality.
Entering a target size overrides that estimate. JPG/JPEG, PNG, WebP and AVIF are supported, and the compression is processed in your browser.