Compress images to a target size

Set a size in KB and Myriadfile finds the highest quality that fits, shrinking dimensions only when it must. Works in batches, entirely on your device.

Runs on your device. Nothing is uploaded.
RunsIn your browser
UploadsNone
CollectionImage tools
Drop images to compressJPG, PNG, WebP, HEIC or AVIF. Batches welcome.or paste with Ctrl V / ⌘ V

Good to know
  • AVIF output appears only in browsers that can encode AVIF. WebP output is unavailable in a few older Safari versions.
  • Converted files contain no EXIF metadata, so location and camera details are removed. Rotation is applied to the pixels.
  • GIF input uses the first frame only. Multi-image HEIC files (bursts) use the first image.
  • Very large batches are converted one file at a time to keep memory use low.

How target-size compression works

Most compressors ask you to pick a quality number and hope the file ends up small enough. Myriadfile works the other way round: you give it the limit, and it runs a quick search over quality levels to find the highest one whose output is still under your limit. If even low quality is too big, it reduces the image dimensions step by step and searches again.

This matters for email attachments, chat apps, marketplace listings and forms that reject files over a fixed size. You get the best-looking image that is guaranteed to fit.

How to compress image

  1. Set the limit. Type the maximum size in KB. 200 KB is preset; use 100 KB for strict forms or 500 KB for listings.
  2. Choose the output format. JPG suits photos. WebP gives smaller files for websites. PNG only shrinks by reducing dimensions.
  3. Add images. Compression starts as soon as files are added.
  4. Review and download. Each file shows its final size, dimensions and a savings badge. Use the comparison to check quality.

Settings explained

Max size per image (KB)
The upper limit for each output file. Myriadfile counts 1 KB as 1,000 bytes here, so files also fit limits that use 1,024.
Quality
The highest quality the search may use. Lowering it gives smaller files even when the limit allows more.
Max width and height
Shrinks first, then compresses. Often the best way to keep quality high at small sizes.

Why quality is held above 40% where possible

Below about 40% quality, JPG artefacts become obvious. When the size limit would force quality that low, Myriadfile prefers to reduce the dimensions slightly instead, which usually looks better at the same file size.

Compressing for exam and job forms

Application portals often need a fixed pixel size and a KB range, sometimes with a minimum as well as a maximum. Use the exam form tools, which handle exact dimensions and minimum sizes.

Troubleshooting

“Could not reach the size limit”
The image is too detailed for the limit even at small dimensions, or you chose PNG. Switch to JPG or WebP, or allow a slightly larger limit.
The compressed image looks blurry
The limit is tight for that image. Set a max width that matches how it will be displayed; a smaller sharp image beats a large blurry one.

Frequently asked questions

What is the smallest size possible?

It depends on the image. Simple photos fit in 20–30 KB at small dimensions.

Does compression remove metadata?

Yes. Output images contain no EXIF data, which also saves a few KB.

Can I compress HEIC photos?

Yes. They are decoded and saved as JPG, WebP or PNG.

Are my images uploaded?

No. All compression happens in your browser.

Why do 1,000 and 1,024 bytes matter?

Some sites count a kilobyte as 1,000 bytes, others as 1,024. Aiming under the smaller number avoids a rejection either way.

Sources