HeyDreaming

Free · target ≤ 1 MB in your browser · free account to download

Compress Image to 1 MB

Loading the tool…

Drop up to 20 JPG, PNG or WebP files and reduce each one to 1 MB (1,024 KB / 1,048,576 bytes) or less for upload portals, marketplaces and email. Everything runs on your device, so your images are not uploaded.

How do I compress an image to 1 MB or less?

Drop up to 20 JPG, PNG or WebP files into the box above and compression starts right away. Your browser tests encoding settings at the original resolution first—binary-searching quality between 30% and 95% for JPG and WebP, or trying 256, 128 and 64 palette colors for PNG. Only if a file still exceeds 1 MB (1,048,576 bytes) does the tool scale down width and height, for up to 4 rounds.

How it works

01

Add up to 20 files

Drag or choose JPG, PNG or WebP images up to 50 MB each. Any file already at or under 1 MB (1,024 KB) is kept untouched.

02

Let it fit the 1 MB cap

The files compress as soon as they are added, with the target set to ≤ 1 MB. The solver adjusts quality or palette colors at full resolution before considering any dimension change.

03

Review the before and after sizes

Each row shows the original size, the compressed size, the percentage saved, and the new pixel dimensions if scaling occurred.

04

Download one file or a ZIP

Sign in to a free HeyDreaming account to save (Google or email, no credit card). Download one compressed image with a -compressed suffix, or all finished files as one ZIP archive.

When a 1 MB image limit applies

Phone photos, camera exports and high-resolution PNG screenshots often weigh several megabytes. Some CMS media libraries, marketplaces, visa and insurance upload forms, and community forums reject any image over 1 MB (1,024 KB, or 1,048,576 bytes).

A 1 MB ceiling is generous enough that many JPG and WebP photos keep their full pixel width and height with a lower quality setting alone. Very detailed high-resolution photos, such as 24 MP camera shots, may still need dimension scaling to land below 1 MB.

How the browser fits files under 1 MB

Files that start at 1,048,576 bytes or less are returned untouched without re-encoding. For larger JPG and WebP files, the tool runs a binary search between 30% and 95% quality at the original resolution and picks the highest quality that fits under 1 MB. For PNG files, it tests indexed palettes of 256, 128 and 64 colors in order.

When full-resolution compression still leaves a file above 1 MB—most often with huge, uncropped PNG photos—the canvas is scaled down proportionally and the search repeats for up to 4 rounds. Re-encoded files use 8-bit sRGB and omit EXIF camera tags and color profiles.

Batch limits and browser support

You can process up to 20 JPG, PNG or WebP files at once, each up to 50 MB. If an unusually dense PNG remains over 1 MB after 4 scaling rounds, the tool outputs the smallest version reached (or keeps the original if smaller) and notes that on the result row.

Safari can decode WebP but cannot encode WebP from an HTML canvas, so in Safari any WebP input is saved as PNG when smaller or kept unchanged when PNG is larger. Your photos stay on your device; the page logs usage events in Google Analytics, never your images.

What this tool does not do

It does not crop images, convert between formats (apart from Safari's WebP-to-PNG fallback), copy EXIF or GPS metadata into re-encoded files, or inflate smaller files up to 1 MB.

See all free tools

Keep exploring

Related free tools

Questions

Compress Image to 1MB: FAQ

Are my high-resolution photos uploaded to a server?

No. Decoding, quality searching and any resizing happen inside your browser on your device. The page sends usage events to Google Analytics, such as file counts and target size, without uploading your photos.

Does 1 MB mean 1,000 KB or 1,024 KB here?

It means 1,024 KB (1,048,576 bytes, or 1 MiB). A form that counts 1 MB as 1,000,000 bytes is slightly stricter, so a result between 1,000,000 and 1,048,576 bytes can still be rejected there; check the size on the result row.

Will compressing to 1 MB shrink my image's pixel dimensions?

Often not for JPG or WebP, because 1 MB leaves room for many photos at a lower quality setting between 30% and 95%; very detailed high-resolution photos can still need it. Dimension scaling only happens if 30% quality (or 64 PNG colors) is still over 1,048,576 bytes.

What happens if a file is already under 1 MB?

Any file that starts at or below 1,048,576 bytes is kept untouched without re-encoding, so it loses no quality and never grows larger.

Why did my large PNG get resized to fit under 1 MB?

PNG is a lossless format even after quantizing to 64 colors, so a multi-megapixel photo saved as PNG can exceed 1 MB at full resolution. If you do not need transparency, convert the photo to JPG first; it usually needs much less scaling to fit under 1 MB.

Why did Safari save my WebP as PNG or leave it unchanged?

Safari cannot write WebP from a browser canvas. Open this page in Chrome, Edge or Firefox to compress WebP files to 1 MB.