Compress an image

A phone photo is several megabytes and thousands of pixels wide. A feed shows it about 1080 wide. Make it the size it will actually be seen at.

Drop your image here, or click to choose
JPG, PNG, WebP or GIF · instant, and nothing is uploaded

Everything happens inside your browser, using your own computer’s memory. Your file is never uploaded, never stored, and nothing is sent to us — so there is no limit on how often you use this.

How image compression works

At a glance

Opens
JPG, PNG, WebP, GIF — any image your browser can show
Saves
JPG, WebP or PNG
Runs on
Your browser's own image decoder — no engine to download
Speed
Instant for a phone photo
Sizes
Longest side 2048, 1080 or 720 pixels, or the original
Never
Enlarged — images only ever get smaller

How it works

A phone photo is around 12 million pixels, and a feed shows it about 1080 pixels wide. Most of what makes the file big is detail no one will ever see at that size. Resizing does far more than any quality setting: halving the width quarters the pixels.

The photo is opened by your browser's own image decoder, redrawn at the size you choose with high-quality smoothing, and saved in the format you pick. Nothing is uploaded and no extra engine is downloaded, which is why it is instant.

Why resizing does more than qualityDrawn to scale: a 12 megapixel phone photo, 4032 by 3024 pixels, and the same photo at 1080 pixels on its long side, 1080 by 810 — fourteen times fewer pixels. That is the size a feed shows.Drawn to scale1080 × 8104032 × 302412.2 million → 0.87 million pixels14× fewer — and 1080 is what a feed shows.Halving the width alone quarters the pixels.
A 12-megapixel photo and the same photo at 1080 pixels, drawn to scale.

Step by step

  1. Drop the imageIt opens in this tab. Nothing uploads, and there is nothing to download first.
  2. Pick the formatJPG for photos, WebP for websites, PNG for logos and screenshots.
  3. Pick quality and sizeBalanced quality at 1080 pixels suits almost everything posted to a feed.
  4. Compress and downloadThe file name shows the new size. It stays in this browser until you press Delete.

Which setting for which job

If you are…Choose
A photo for Instagram, TikTok or a website galleryJPG · Balanced · 1080 px
Product photos for an online storeWebP · Balanced · 2048 px
A logo, a screenshot or anything with sharp textPNG · original size
An upload form with a small size limitJPG · Smallest · 1080 or 720 px
Keeping a transparent backgroundPNG or WebP — JPG cannot store transparency
PrintingDo not shrink — keep the original

Under the hood

The technical detail, for anyone who wants to know exactly what happens to their file. Each line first says it plainly.

The browser's own decoder

No engine to load.

The image is decoded by the browser (createImageBitmap), which already knows every format it can display, and redrawn on a canvas. That is why this tool is instant while the video tools need their engine first.

Longest-side scaling

Upright and sideways shrink alike.

The size you pick is applied to the longer edge, and the other edge follows, so proportions are kept exactly. An image already smaller than the target is left at its own size.

JPG and WebP quality

How much detail is traded for size.

Both are lossy: Smallest, Balanced and Best save at 60, 80 and 92% quality. At 80%, the difference from the original is very hard to see on a phone.

PNG

Lossless.

Every pixel kept exactly. Ideal for sharp edges and text; much larger than JPG for photographs.

Transparency

Why a JPG gets a white background.

JPG cannot store transparent areas. Without a background they would turn black, so the tool paints white behind the image first. WebP and PNG keep transparency as it is.

If something goes wrong

What you seeWhyWhat to do
“This browser cannot open iPhone HEIC photos”Most browsers cannot decode HEIC, the iPhone's photo format.On the iPhone, share the photo and save it as JPEG, or set Settings › Camera › Formats to “Most Compatible”.
The PNG is bigger than the photo I started withPNG is lossless, and photographs are full of detail it has to keep.Use JPG or WebP for photos; keep PNG for logos and screenshots.
A transparent background turned whiteJPG cannot store transparency.Save as PNG or WebP instead.
The image did not get any biggerImages are never enlarged — upscaling cannot add detail.Choose “Original size” to keep it as it is.

Privacy: your file stays on your computer

Photos carry faces, places and sometimes where they were taken. This one never even needs the video engine — your browser does it all, on your device.

What your browser downloads
The page — and, the first time you use a video tool, the video engine: about 32 MB, then kept in your browser's cache.
What it sends to us
Nothing. There is no upload step, no copy on our servers and no account. The work happens in your computer's memory.
How we know
Our automated tests run every tool while recording every network request the page makes. A single upload fails the test.
Where the result lives
In this browser only, until you press Delete. A finished file is still here if you close the tab and come back; a job still running stops when the tab closes.
Where your file goesRuzz's servers send the page and the video engine to your browser once. Your file is processed in your browser's memory on your own computer and is never sent back to the server.ruzz.app serverssend the page, keep nothingpage + engineonce · 32 MByour filenever sentYour browser tabffmpeg in WebAssembly · your CPU · your memoryYour fileread from diskprocessFinished filesaved by youKept in this browser until you press DeleteNo account · no quota · no watermark
Only the page and the engine come down. Your file never goes up.

Questions

Which format should I use?

JPG for photos, WebP for websites (about a quarter smaller again), PNG for logos, screenshots and anything with transparency.

Can I compress iPhone HEIC photos?

Not in most browsers yet — they cannot open HEIC. On the iPhone, share the photo and save it as JPEG first, or set Camera › Formats to Most Compatible.

Will it make my image bigger?

No. Images are only ever scaled down, never stretched up.

Does it remove location data?

Redrawing the image on a canvas saves only the pixels, so the camera's embedded details — including location — are not carried into the new file.

Is my image uploaded?

No. It is compressed by your browser on your own device.

A tool makes a file fit. It does not make people watch to the end — that is the hook, the order of the shots, the captions and the music. See how Ruzz does it.