Compress an image to under 1MB
Upload limits are usually written in megabytes, so that is how this tool takes its instructions. Give it a ceiling and it finds the best quality that fits underneath.
Keeps the resolution and re-saves the image at quality 75 to make the file smaller.
Drag and drop your images
or click to choose · Ctrl+V to paste (up to 30, 50MB each)
Metadata such as the GPS location is removed from every JPEG, PNG and WebP you get back.(Images already under the target size are stripped too. GIF, AVIF and BMP are containers this tool cannot rewrite, so one handed back without re-compression keeps its metadata — the result row says so. HEIC and HEIF cannot be rewritten either: when the JPEG written from one comes back no smaller than it was, your own file is what you get, metadata and all.)
How to get under 1MB
Drop the photo in, switch the mode to "Target size", and type 1000 into the size box. The box counts a KB as 1024 bytes, so 1000 puts the ceiling at 1,024,000 bytes — type 976 instead if the form you are submitting to counts a megabyte as 1,000,000 bytes. The tool then runs a binary search over JPEG quality: it compresses, measures, and adjusts until it finds the highest quality setting whose output still fits under the ceiling you gave it. You are not guessing at a quality slider and exporting five times.
If the file is already under the target its pixels are handed back untouched rather than re-compressed, and the result row says so. Re-encoding a file that already fits would cost quality for nothing. The container is still rewritten to strip EXIF and GPS, so the byte count can move by a little even though the picture itself has not changed.
When 1MB is not actually the limit
Some forms are stricter than they look. If a submission is rejected after you hit 1MB, check whether the limit is on the file or on the dimensions — many government and university upload forms cap both. The tool can do both at once: turn on "Resize the image" and set a maximum width or longest side, then let the target size do the rest.
The opposite case is worth knowing too. A photo that is already small in bytes but enormous in pixels will often be rejected by a form that never mentions file size at all.
A limit written in KB or MB is about the file; one written in px is about the width and height, and compressing will not change those. DPI is a third "size": a print setting that does not change the pixel count. How the three relate, with the arithmetic worked through, is in the guide at /guides/image-size-vs-file-size.
What happens to your photo
Every image stays on your device. The compression runs in your browser through WebAssembly, so nothing is sent to a server, nothing is stored, and there is no queue to wait in. Closing the tab is all the cleanup there is.
Frequently asked questions
Is 1MB 1000KB or 1024KB?
Both definitions are in use, which is why upload forms disagree. The size box on this page works in the binary one: a KB is 1024 bytes, so typing 1000 sets the ceiling at 1,024,000 bytes. That is under 1MB for a form counting 1024KB, and just over it for a form counting 1,000,000 bytes. When you do not know which one you are facing, type 976: that comes to 999,424 bytes, which is under 1MB by either definition.
Will the photo look noticeably worse?
That depends entirely on where it started. A 6MB phone photo dropped to 1MB usually looks identical at normal viewing size, because most of what is discarded is detail the eye does not resolve. A screenshot full of text and flat colour is the hard case: JPEG smears the edges of the letters and is not the smallest choice either. On two text screenshots we measured at the default settings, WebP came out at 62% and 80% of the JPEG's size. PNG keeps every edge sharp but was the largest of the three, and the target size does not apply to it, so read the next answer before you pick it.
Does the target size work on a PNG?
No. PNG is lossless, so there is no quality for the search to lower and the target size is skipped for it — a PNG comes back at whatever size it comes to, and the 1000 you typed changes nothing. WebP does have a quality setting, so the ceiling still applies there. To bring a PNG down, turn on "Resize the image" and reduce the dimensions instead.
Are my images uploaded anywhere?
No. The compression happens inside your browser. There is no account, no server-side storage, and no per-image or per-day cap — the only practical limit is your device's memory, with a 50MB safety cap per file.
Which formats can I use?
JPEG, PNG, WebP, AVIF, GIF, BMP, HEIC and HEIF go in. JPEG, PNG and WebP come out. HEIC and HEIF are what iPhones shoot by default, and they are decoded in the browser too, so you do not need to convert them first.
Can I do several photos at once?
Yes — the result list holds up to 30 images at a time, and you can download them individually or all together as a ZIP.
Other things you can compress for
- Compress an image for Discord
- Compress photos so the email actually sends
- Compress an image for X (Twitter)
- Compress a photo for Instagram
- Compress iPhone photos
- Compress images without uploading them anywhere
- Compress images in bulk, with no daily limit
- Compress photos on an Android phone
- Compress images on a Mac
- Compress images for a website or blog
- A TinyPNG alternative with no monthly quota
- Remove EXIF data from an image
- Compress an image without a target size
More free tools, also in your browser
- Background removal — Cut the background out with AI into a transparent PNG; brush to fix.
- Resize — By long edge, width×height, percentage or social preset. Up to 30 at once.
- Format conversion — AVIF, HEIC, SVG and BMP into PNG / JPEG / WebP / ICO. Up to 30 at once.
- Crop — Drag to keep what you want, with 1:1 and 16:9 locks.
- Rotate & flip — Quarter turns, mirroring and straightening, with the margins trimmed.
- AI upscaling — Enlarge a small or soft image 2× or 4× without the jagged edges.
- GIF maker — Turn a video (MP4, MOV, WebM) into a GIF, or stills into a flipbook.
- Text on image — Vertical Japanese, outlines and typefaces; drag it where you want. Memes too.
- Watermark — Lay text or a logo over a picture — position, opacity, angle, or tiled.
- Mosaic & face blur — Cover faces, addresses and plates. The unmasked picture is never sent.
- Grayscale & sepia — Monochrome, negative, sepia and threshold, adjusted as you watch.
- QR code generator — Static QR codes for links, text and Wi-Fi that never expire. Save a PNG or an SVG.