Image Resizer & Compressor

Shrink any photo to the exact size you need — resize it, compress it, and download it as JPEG, PNG, or WebP. Everything happens in your browser, so your image is never uploaded anywhere.

100% FreeNo sign-up neededPrivate — in-browser only

Resize your image

Your image

Original image preview
File name
—
Dimensions
—
File size
—
85%

Quality affects JPEG and WebP only. PNG is lossless, so the slider does not change a PNG result.

🔒 Your image is read with FileReader and drawn on a canvas in your browser. Nothing is uploaded to any server, and closing the page deletes everything.

Your resized image

Press “Resize & Compress” and the result will appear here with its new size and file size.

Resized image preview
New dimensions
—
New file size
—
Saving
—

The preview is the exact file you will download. If the result is larger than the original — it can happen with a small image saved as PNG — the saving line says so plainly instead of hiding it.

Key Takeaways
  • Resizing changes pixel dimensions; compressing changes how much detail each pixel keeps — most photos need both.
  • JPEG at a quality of 80 to 85 is the everyday choice for photos; PNG is for logos and transparency; WebP is the smallest when the browser supports it.
  • Size the image to where it will be shown — 1,200 pixels wide covers most blog columns — and let the quality slider do the rest.

What resizing and compressing actually do

A digital photo carries two kinds of size: its dimensions, measured in pixels, and its file size, measured in kilobytes or megabytes. A phone photo can be 4,000 pixels wide and several megabytes heavy, which is far more than most screens can show and far more than most web pages should load. Resizing changes the dimensions — fewer pixels across and down — while compressing changes how much detail the file keeps for each pixel. Together they shrink a photo without changing what it shows.

The two jobs are different, and knowing which one you need saves time. If an image is too wide for the place it will live — a blog column, a profile box, an upload form — resize it first. If the dimensions are already right but the file is still heavy, lower the quality or switch to a smaller format. This page does both in one pass: you set the width and height you want, pick a format and a quality level, and the page redraws your image at the new size and saves it in the format you chose.

How to use it, in 3 steps

1

Choose an image

Choose an image from your device, or press the sample button to try the tool with a picture we generate for you. The page shows the original file name, dimensions, and size.

2

Set the size

Set the width or height you want. With the aspect-ratio lock on, changing one side updates the other automatically, so the picture never stretches. Then pick a format and move the quality slider.

3

Download the result

Press Resize & Compress, check the preview and the new file size, and press Download to save the result. Nothing leaves your device at any point.

JPG vs PNG vs WebP

JPEG is the everyday choice for photographs. It throws away some fine detail to keep files small, and at a quality of 80 to 85 most photos still look the same as the original. Use it for blog photos, product shots, and anything where a small file matters more than pixel-perfect detail. JPEG has one hard limit: it cannot keep transparency, so a logo or icon with a see-through background will come out on a solid background instead.

PNG keeps every pixel exactly, including transparency, which makes it the right choice for logos, icons, screenshots, and diagrams with sharp lines and flat colour. The price is size: a photo saved as PNG can be several times larger than the same photo as JPEG. WebP sits between the two — it compresses photographs nearly as well as JPEG and, unlike JPEG, it can keep transparency. Most modern browsers support it, and this page falls back to PNG automatically if a visitor’s browser cannot save WebP.

FormatBest forTransparencyQuality slider
JPEGPhotos, blog images, product shotsNoYes — controls the compression
PNGLogos, icons, screenshots, diagramsYesNo — PNG is lossless
WebPPhotos and graphics on modern sitesYesYes — controls the compression

What size should your image be?

Start from where the image will be seen, not from the size it arrived in. A blog column is usually 700 to 800 pixels wide, so a 1,200-pixel image already gives sharp results on high-resolution screens while staying light. A profile photo is shown small — 400 pixels is plenty — and a form upload often caps the file at a few megabytes, which a JPEG at quality 80 almost always meets. Shrinking an image to the size it will actually be displayed at is the single biggest saving you can make.

Going smaller than the display size is the one mistake to avoid. A 300-pixel image stretched across a 700-pixel column looks soft no matter how good the original was, because the missing pixels cannot be invented. When in doubt, keep the width a little above the display size — 1.5 times is a safe rule — and let the quality slider do the rest of the work.

UseSuggested widthSuggested format
Blog post image1,200 pxJPEG, quality 80–85
Profile photo400 pxJPEG, quality 80
Form uploadAs the form asks, or 1,200 pxJPEG, quality 80
Logo or iconActual display sizePNG (keeps transparency)

A worked example

Take a phone photo that is 4,000 pixels wide and 5.2 megabytes as a JPEG. It will fill a blog post that shows images 800 pixels wide. Set the width to 1,200 and leave the aspect-ratio lock on, so the height follows automatically. Choose JPEG at quality 82 and press Resize & Compress. The result is a 1,200-pixel image that typically weighs 150 to 250 kilobytes — roughly 95 percent smaller — and still looks sharp on the page, because the screen never had 4,000 pixels to show in the first place.

Image resizer questions, answered

Is my image uploaded anywhere?

No. Your image is read with FileReader, drawn on a canvas, and saved with canvas.toBlob — all inside your browser. Nothing is sent to any server, and closing the page deletes everything.

Which format should I choose for a photo?

JPEG at a quality of 80 to 85 for most photos, because the files stay small and the difference is hard to see. Choose WebP when you want the smallest file and your visitors use modern browsers. Use PNG only when you need transparency or pixel-perfect lines, such as a logo or a screenshot.

Why does my PNG stay large even at low quality?

PNG is lossless, so the quality slider does not change its size — the slider only affects JPEG and WebP, which use lossy compression. If a PNG photo is too large, switch the format to JPEG or WebP and the file will shrink.

Can I resize an animated GIF?

You can resize a GIF, but the result is a single still image: the canvas draws only the first frame, so the animation is lost. For an animated image, keep the original file and resize a still copy instead.

Related calculators

Disclaimer: This tool resizes and compresses images entirely in your browser using FileReader and canvas — no image is ever uploaded to a server. JPEG cannot keep transparency, so a transparent image saved as JPEG gets a white background. An animated GIF is reduced to its first frame. The exact file size of the result depends on the image and on your browser, so the saving shown is the measured result for your image, not a promise.
↑