Skip to content
YardMaths Image

Make pictures lighter without uploading them

Pick a quality or a size limit like 100 KB, compare before and after, and download one file or a ZIP.

Drop pictures here

or drag them here, or paste with Ctrl+V. JPG, PNG, WEBP, GIF.

Privacy: your photos are opened and changed by your browser, on this device. They are never uploaded to YardMaths or anyone else, and they are gone when you close the tab.

How to compress an image

  1. Choose one or more pictures, drop them on the box, or paste a screenshot with Ctrl+V. Each row shows the real size in pixels and the file size.
  2. Pick the method. Choose the quality to set how much detail to give up, or choose Reach a file size and type the largest size you accept, such as 100 KB or 1 MB.
  3. Choose the format: same as the original, JPG or WEBP. To go further, pick a smaller picture size, which is often the biggest saving of all.
  4. Press Compress. The tool shows the size before and after, and for a single picture a handle to compare the two.
  5. Download the lighter picture, or one ZIP when you compressed several.

Why this tool runs in your browser

Compressing is the same job for a family photo as for a scan of an ID card or a contract, and those are the files people most need to make smaller for a form. Here the picture is opened and saved again by your own browser, so none of them goes through a stranger's server, a queue or a daily quota.

Because nothing travels, a batch of large photos is as quick as your computer is. There is no upload to wait for and no cap on how many files you shrink, and the size you ask for is checked on the real file before you download it.

What makes a picture file big

  • Pixels: a picture twice as wide and twice as tall holds four times as many pixels. Big photos from a phone are often much larger than any screen needs.
  • Quality: JPG and WEBP drop fine detail to save space, and the lower the quality, the lighter the file and the more visible the loss.
  • Format: JPG and WEBP suit photos. PNG keeps every pixel exactly and is best for logos, screenshots and text, but it is heavy for photos.
  • Extra data: a photo can carry a thumbnail, GPS and camera details. Saving the picture again drops them.

Quality or file size: which method?

MethodUse it whenWhat the tool does
Choose the qualityYou want the lightest file that still looks rightSaves each picture once at your quality
Reach a file sizeA form or an app refuses files above a limitTries qualities from high to low until the file fits, and can use fewer pixels if you allow it
Picture sizeThe photo is far bigger than you will ever display itShrinks the longest side before saving

Whatever you pick, the tool never saves a picture bigger than your original: when a new file would not be lighter, it keeps your original file as it is and says so. To change the exact dimensions instead, use Resize Image.

Limits to know before you start

  • JPG and WEBP are lossy: each new save gives up some detail. 80% is a good start for photos; look at the before and after before you send the file.
  • PNG stays PNG, which is lossless, so the quality setting does not apply and the saving is often small. Choose JPG or WEBP for a much lighter file; JPG has no transparency, so transparent parts take the background color you choose.
  • A target size is reached only if the picture can get that small. If it cannot at the quality and size settings you allow, the tool says so and shows the smallest it reached. In this tool 1 KB is 1,024 bytes.
  • A picture that is already as light as it gets is returned unchanged, with its camera information. Compressed pictures do not keep the camera information of the original (EXIF), such as the date and the location.
  • An animated GIF compressed to JPG, PNG or WEBP keeps only its first frame.
  • Very large pictures take a lot of memory: a phone can refuse a size that a computer handles. The tool checks before it starts and says so plainly.

Compress Image FAQ

How do I compress an image to under 100 KB?

Choose Reach a file size, type 100 and keep KB. Leave the box about fewer pixels ticked if the picture is big. The tool lowers the quality in steps until the file fits and, if needed, reduces the pixels. Check the result line to see the exact size it reached.

Does compressing an image reduce its quality?

For JPG and WEBP, yes: less detail is the price of a lighter file. At 80% most photos look the same on a screen. PNG compression is lossless but saves little. Use the before and after handle to judge the result before you download.

Why did my picture stay the same size or come back unchanged?

Because the new file would not have been lighter. The tool never makes a file bigger, so it keeps your original and tells you. Lower the quality, pick a smaller picture size or switch the format to WEBP or JPG to save more.

Is there a limit on how many pictures I can compress?

We set none: no daily quota and no cap on size. Your device has a limit, its memory, and the tool tells you before it starts if a picture is too big for it. Several pictures are packed in one ZIP.

What is the difference between compressing and resizing a picture?

Compressing keeps the same number of pixels and gives up detail to save space. Resizing changes the number of pixels. Doing both gives the lightest file; here you can choose a smaller picture size in the same step as the quality.

Last updated . Free to use, no sign-up.