← Back to Convert

Compress an image or video — exact target size for JPEG/WebP

Dial in an exact size in MB for JPEG and WebP, or shrink a video by quality — free, in your browser, no account.

Drag & drop your files here

or click to browse (multi-file supported)

Supported: HEIC · JPG · PNG · WebP · BMP · TIFF · GIF
DOCX · PDF · TXT · MD · XLSX · CSV · JSON
MP4 · MOV · AVI · MKV · WebM · MP3 · WAV · FLAC · OGG · M4A

Honest limits

Exact target-size compression — pick a size in MB and the engine binary-searches quality to land within ±3% of it — works for JPEG and WebP images only; the achieved size is then shown next to the download. PNG, TIFF and video don't take a target size: they compress by quality instead, where a lower number gives a smaller but lower-fidelity file.

How it works

  1. Upload your image or video — Drop in a JPG, PNG, WebP, TIFF or video file — Compress mode is already selected.
  2. Pick a size or a quality — For JPEG/WebP, switch to “By target size” and enter a size in MB. Everything else uses the quality slider instead — lower is smaller.
  3. Download the result — In target-size mode, the achieved size appears right on the download button; in quality mode, just download the compressed file.

When to use it

Use it before emailing a photo that's over your provider's attachment limit, when an upload portal caps file size, or before sending a video through a messaging app with its own size limit.

Frequently asked questions

Which files can I compress to an exact size?

Exact target-size compression currently works for JPEG and WebP images — the engine binary-searches quality until the output lands within about ±3% of your target. PNG and TIFF images, and every video format, use quality-based compression instead: there's no byte-exact target, just a slider between smaller and higher-fidelity.

I need to compress a PDF — is that here too?

No — PDF compression works differently (it recompresses the images embedded inside the document, not a whole-file re-encode), so it has its own dedicated tool. Use Compress a PDF instead.

Do I need an account?

No — anonymous use works for smaller files; a registered plan raises the size limits.

PDFs?

This tool compresses images and video. To shrink a PDF, use the dedicated PDF compressor instead — it recompresses the images embedded inside the document. Compress a PDF →

Related tools