Skip to content
Images

Image compressor

Compress an image to a target size for the platform you are posting to.

Filled from the platform. You can change it. 1 KB is 1,000 bytes.

Compressed files appear here.

    Tray (0)Files stay in this browser

      Rules this tool uses

      Checked 2026-12-05 · how we check

      • YouTube: Thumbnail max file sizesources disagree50 MBsource
      • X: Photo max file size5 MBsource
      • Instagram: Max image file size (API publishing)8 MBsource

      How to use it

      1. Choose one or more images, or drop them on the box. JPG, PNG and WebP work.
      2. Pick the platform you are posting to, or type your own size. The target is in KB.
      3. Read the before and after sizes. Open Compare to slide between the original and the result.
      4. Download each file, or download them all as one ZIP.

      About this tool

      Most compressors give you one quality slider and no idea what size you will get. This one starts from the size you need. It tries the highest quality that fits under your target, and only if that is not enough does it shrink the picture too. The page shows the real size of the file it made.

      If your file is already under the target and you keep the same format, the original is handed back untouched. Nothing is re-saved, so there is no loss. Re-saving a picture removes its camera and location data; a file that needs no change keeps it, so use the metadata remover if you want that data gone.

      The platform sizes come from the platforms' own help pages. Instagram's 8 MB is the figure for uploads made through its API; its help pages give no number for the app. YouTube's sources disagree about the thumbnail limit, so that preset is marked, and you can change the number. A KB here is 1,000 bytes and a MB is 1,000,000 bytes, the stricter reading.

      Questions

      Why did my PNG get smaller in pixels?

      PNG keeps every pixel exactly and has no quality setting, so the only way to make it smaller is fewer pixels. Choose JPG or WebP to keep the size and lower the quality instead.

      What happens to transparent areas when I choose JPG?

      A JPG cannot be transparent, so those areas turn white. Keep PNG or choose WebP to keep the transparency.

      Are my pictures uploaded?

      No. Compressing happens in this tab, and the page makes no network request while it works.

      Arrow keys to move, Enter to open.

      Question 1

      Doodle follows a fixed set of questions. Nothing is sent anywhere.

      Not sure where to start?