Image Compressor — Shrink to Any Target Size or Dimensions
Drop an image, see its current size and dimensions auto-detected, then set your targets and compress.
Drop an image and the tool auto-detects its width, height and file size. Edit the target width, height or file size to compress — the tool binary-searches for the best quality to hit your KB goal. Everything runs in your browser.
Runs in your browser- Auto-detect
- Fills width, height and file size from the image on drop
- Target size
- Auto-adjusts quality in up to 8 passes to hit your KB goal
- Batch
- Multiple images in one go
- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
How does it know what quality to use?
What quality setting should I use?
Why did my PNG get bigger?
Can I compress an image to exactly 100 KB?
How to use the image compressor
- 1Select your images — the file stays on your device and is never uploaded.
- 2Set the target width.
- 3Set the target height.
- 4Set the target file size.
- 5Set the quality.
- 6Choose the output format.
- 7Pick the background.
- 8Press Run, then download the result when it is ready.
Embed this tool
Put the working image compressor on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
SVG OptimizerStrip editor cruft and optimise path data to cut SVG file size, usually by half or more.HTML, CSS & JS MinifierStrip whitespace and comments to shrink HTML, CSS and JavaScript for production.AVIF ConverterConvert images to and from AVIF in your browser, with a real encoder check so you never get a PNG renamed to .avif.Compress PDFReduce PDF file size by re-rendering pages at a lower resolution and quality.Video CompressorShrink video file size with adjustable quality — locally, with no upload limit.Aspect Ratio CalculatorWork out the aspect ratio of any dimensions and scale them proportionally.
Last updated
More image tools