Compress an image or video — target size for JPEG/WebP/AVIF
Dial in a size in MB for JPEG, WebP and AVIF, or shrink a video by quality — free, no account.
Drag & drop your files here
or click to browse (multi-file supported)
Supported: HEIC · HEIF · JPG · PNG · WebP · AVIF · BMP · TIFF · GIF · ICO
DOCX · PDF · TXT · MD · HTML · EML · XLSX · CSV · JSON
MP4 · MOV · AVI · MKV · WebM · FLV · WMV
MP3 · WAV · FLAC · OGG · M4A · AAC · WMA · OPUS
Supported: JPG · PNG · WebP · AVIF · TIFF
MP4 · MOV · AVI · MKV · WebM
GIF is for short clips: up to 30 seconds, at most 480 pixels wide or high, without sound.
Looking to split, extract pages from, insert pages into, or compress a PDF? Try the dedicated PDF tools: Split PDF, Extract PDF pages, Insert PDF pages, Compress PDF
Runs via our server — files are uploaded and deleted right after processing.
Honest limits
Target-size compression — pick a size in MB and the engine finds the best quality that stays at or under it — works for JPEG, WebP and AVIF images only. The size is a hard ceiling, so the result fits an upload limit of the same size. If even the lowest quality is too big, the image is scaled down to fewer pixels and the new pixel size is shown with the result; only an image that can't get that small even then stays above the target, and you're told so. The achieved size is shown next to the download. AVIF takes noticeably longer: its encoder is CPU-heavy and the search re-encodes several times, so a large photo can take a minute or more. Video doesn't take a target size: it compresses by quality instead, where a lower number gives a smaller but lower-fidelity file. PNG and TIFF are lossless: compressing repacks them as tightly as it can, with no quality setting — as WebP or JPG they usually get much smaller.
How it works
- Upload your image or video — Drop in a JPG, PNG, WebP, AVIF, TIFF or video file — Compress mode is already selected.
- Pick a size or a quality — For JPEG, WebP or AVIF, switch to “By target size” and enter a size in MB, or use the quality slider — lower is smaller. For a JPEG, Chromium-based browsers such as Chrome and Edge show the size it will have right under the slider. Video uses the slider; PNG and TIFF need no setting.
- Download the result — For a single file, the result shows how its size changed; in target-size mode, the achieved size also appears on the download button.
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 a target size?
Target-size compression currently works for JPEG, WebP and AVIF images — the engine searches for the best quality at which the output stays at or under your target, and scales the image down if even the lowest quality is too big (AVIF takes noticeably longer). Every video format uses quality-based compression instead: there's no byte-exact target, just a slider between smaller and higher-fidelity. PNG and TIFF are lossless and get repacked without a setting; as WebP or JPG they usually get much smaller.
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 →