Resize Image

Set exact pixel dimensions or a percentage, and apply it to a whole batch at once.

  • Free forever
  • No signup
  • Files never uploaded
  • No watermark
  • Unlimited files

Image resizer

JPG, PNG and WebP files are accepted. Paste from clipboard with Ctrl+V (Cmd+V on a Mac).

Resize by

Give a width, a height, or both. With the ratio locked, the missing value is worked out for you.

Keep the original format, or convert on the way out to compare which one is smallest.

  • Keeps the original proportions. Turn it off only if you intend to distort the image.

  • Images already smaller than the target are left at their own size instead of being stretched.

  • Removes camera model, timestamps and GPS coordinates from the output.

Ready. Add a file to begin.

Results

Pixels mode · same as input output · 0 files

No files yet. Results will appear in this table as soon as you add one.

Your files are processed by your own browser. Nothing is uploaded to a server, so nothing can be stored, read or shared.

More tools

Other tools on this site

Each one runs in the browser the same way, with no upload and no account.

  • Compress JPEG

    Shrink JPG and JPEG photos with a quality slider or an exact target size in kilobytes.

    Compress JPEG
  • Compress PNG

    Reduce PNG screenshots and graphics while keeping transparency and hard edges intact.

    Compress PNG
  • Compress WebP

    Re-encode WebP images at a lower quality, or convert JPEG and PNG into WebP.

    Compress WebP
  • JPG to PDF

    Combine several photos into one PDF, reorder the pages and choose paper size and margin.

    Build a PDF
  • Document Editor

    Write a formatted document in the browser and export it to PDF, DOCX or HTML.

    Open the editor

Specification

Technical specification

Every capability written out as text, including the ones where the answer is no. A specification that only listed the wins would not be worth reading.

Technical specification — what this tool supports, attribute by attribute.
AttributeThis tool
Supported input formatsJPG, PNG, WebP
Output formatsJPEG, PNG, WebP
Compression typeResampling, plus optional lossy re-encodeDownscaling discards pixels permanently. The output format then decides whether encoding is lossy as well.
Quality controlAdjustable, 10 to 100Maps directly to the encoder's quality setting. Moving it genuinely changes the output.
Exact output file sizeExact pixels or percentageThis tool targets dimensions rather than kilobytes. Use the compressors for a KB target.
Resize / image dimensionsYes — max width and heightAspect ratio preserved. The resizer page adds exact pixel and percentage modes.
Batch / bulk processingUnlimitedFiles are encoded in parallel across a Web Worker pool and can be downloaded as one ZIP.
Maximum file sizeNo limit set by this siteBounded in practice by your device's memory, since each image is held uncompressed while it is processed.
EXIF and metadataStripped by defaultCamera model, timestamps and GPS coordinates are removed. You can switch it off.
Transparency / alpha channelPreserved for PNG and WebPFlattened onto a background colour only if you choose JPEG output, which cannot store alpha.
Chroma subsampling controlNot availableThe browser's encoder chooses it and exposes no setting. We will not add a control that cannot affect the output.
Progressive JPEG controlNot availablecanvas.toBlob gives no control over progressive encoding. Use MozJPEG or ImageMagick if you need it.
Colour profile handlingConverted to sRGBA browser canvas works in sRGB, so wide-gamut images are converted. Correct for the web, wrong for print masters.
Bit depth8 bits per channelThe maximum a browser canvas provides. HDR and 10-bit output need AVIF, which browsers cannot write.
Animation supportNot supportedA canvas decodes only the first frame of an animated file, so animation is out of scope rather than half-supported.
Where processing happensIn your browserNo upload endpoint exists in the compression path. Disconnect from the network after the page loads and it still works.
File retentionNone — nothing is receivedThere is no copy to retain or delete, because no file is ever transmitted.
WatermarkNeverThe output contains your image and nothing else.
Account, quota or costNoneNo sign-up, no daily cap, no paid tier withholding a feature.
Browser supportChrome, Edge, Firefox, SafariDesktop and mobile. Requires Canvas and Web Workers, which every current browser provides.

See the difference

Drag the handle to compare, and zoom in to inspect the detail at full size.

Sample landscape photograph before compression — a low sun over a lake with distant ridges.
OriginalCompressed
50%
1.0×
Sample photograph, 1280 × 854 pixels. The original is a lossless PNG of 1.06 MB. Your browser re-encodes it with the settings shown and prints the measured result below — these are real figures produced on your own device, not a stored screenshot.
Dimensions
1280 × 854
Format
PNG → JPEG
Original size
1.06 MB
Compressed size
measured in your browser
Saved
measured in your browser

How it works

How to resize an image

  1. Step 1: Add your images

    Drag files onto the drop zone, click it to browse, or paste an image from the clipboard.

  2. Step 2: Set the size

    Enter a width and height in pixels, or switch to percentage to scale every file by the same proportion. Keep the ratio locked unless you want to distort the image.

  3. Step 3: Download the resized files

    Each row shows the dimensions before and after alongside the file size. Save them individually or as one ZIP.

Features

What this resizer does

  • Pixels or percentage

    Give exact dimensions when you know the target, or a percentage when the batch contains images of different sizes.

  • Aspect ratio lock

    Enter one dimension and the other is worked out for you, so nothing is stretched by accident.

  • Never enlarges by default

    Images already smaller than the target are left alone rather than being blown up into a soft, larger file.

  • Batch processing

    One setting applied across a whole folder of images, processed in parallel by Web Workers.

  • Format conversion

    Write the resized output as JPEG, PNG or WebP, whichever suits where the image is going.

  • EXIF stripping

    Camera data and GPS coordinates are dropped on the way out unless you choose to keep them.

  • Nothing is uploaded

    Scaling happens on a canvas inside your browser. No file leaves the device at any point.

  • No watermark or limits

    No account, no daily cap, no branding added to your images, no paid tier.

In depth

Understanding image dimensions

Pixels are the only dimension that matters on screen

An image has one intrinsic size: its width and height in pixels. Everything else — inches, centimetres, DPI — is an instruction about how to print it, stored in metadata, and has no effect on how it appears on a display.

A browser draws an image at whatever CSS size the layout specifies, scaling the file up or down on the fly. If the file is bigger than the space it is drawn into, the extra pixels are downsampled at display time and thrown away every single page load, having already cost the visitor the bandwidth to download them. That is the waste resizing eliminates.

DPI, PPI and why they do not change file size

A digital image has exactly one physical property: its pixel dimensions. A 3000 × 2000 photograph contains six million pixels whether its metadata claims 72 DPI or 300 DPI.

DPI is a printing instruction stored in a metadata field. It tells a printer how many of those pixels to place per inch of paper, which determines the printed size — 3000 pixels at 300 DPI is a 10-inch-wide print; the same file at 72 DPI is a 41-inch-wide print of the same six million pixels. Changing the number changes nothing about the file except a handful of bytes in a header.

So "save this at 72 DPI for the web" does not make a file smaller. Reducing pixel dimensions does. If a print shop asks for 300 DPI at A4, what they actually need is about 2480 × 3508 pixels; supply that many pixels and the DPI tag can be corrected in seconds.

Choosing a target size

Work backwards from the largest space the image can occupy in your layout, then double it for high-density screens.

Body content image in an 800 px column
1600 px on the longest edge.
Full-bleed hero on a wide screen
2000–2560 px on the longest edge.
Card or list thumbnail
400–600 px on the longest edge.
Avatar or icon
128–256 px square.
Email attachment
1500–2000 px is plenty for a recipient to view or print at postcard size.
A4 print at 300 DPI
2480 × 3508 px. Do not downscale below this for print work.

How quality maps to file size

The quality number in a JPEG or WebP encoder is not a percentage of anything. It is an index into a set of quantisation tables that control how aggressively detail is discarded. The relationship to file size is steep and non-linear.

For a typical 12-megapixel phone photograph the curve looks roughly like this:

  • Quality 95–100 — near-original appearance, but the file is often only 20–35% smaller. Rarely worth it for the web.
  • Quality 80–90 — the sweet spot for photography you care about. Typically 50–70% smaller with no artefact you would notice at normal viewing distance.
  • Quality 70–80 — the sweet spot for ordinary web images. Usually 70–85% smaller. Artefacts appear only if you zoom in on flat sky or skin.
  • Quality 50–70 — visible softening and blocking in smooth areas, though thumbnails and background images survive it well.
  • Below 50 — obvious blocking, ringing and colour banding. Useful only for placeholders.

Diminishing returns set in fast at the top of the range. Going from quality 100 to quality 90 usually halves the file for no perceptible change; going from 90 to 80 saves far less and costs slightly more. If you only remember one number, use 80.

Transparency, PNG and the JPEG trap

JPEG has no alpha channel. It cannot store transparency in any form. When a transparent PNG is converted to JPEG the transparent pixels have to become something, and most tools silently fill them with black — which is why a logo exported to JPEG so often arrives with an unwanted dark box around it.

If your image has transparency you have three sensible options: keep it as PNG, use WebP (which supports alpha and is typically 25–35% smaller than PNG for the same image), or flatten it onto a known background colour deliberately rather than letting an encoder choose for you.

PNG's own compression is lossless and works best on images with few distinct colours and large uniform regions. A screenshot of a text document compresses beautifully. A photograph saved as PNG does not, because virtually every pixel differs from its neighbour and there is no redundancy for the algorithm to exploit.

Why re-compressing a JPEG keeps degrading it

Every time a JPEG is decoded, edited and saved again, the encoder re-runs its quantisation step on data that has already been quantised once. Errors from the previous pass are treated as real detail and get their own new errors layered on top. This is called generation loss, and it accumulates in one direction only.

Saving an already-compressed JPEG at quality 90 does not restore anything — it just spends more bytes preserving the artefacts of the earlier pass. Saving repeatedly at a low quality is what produces the smeared, blotchy look of an image that has been through a dozen chat apps.

Two habits avoid it. First, always compress from the highest-quality original you have, not from a copy that has already been through a compressor. Second, decide on your output size once and do a single pass, rather than nudging the quality down repeatedly and re-saving each time. If you need to try several settings, run each of them against the original file.

Recommended settings for web, email and print

Web page content images
Quality 75–82, longest edge 1600–2000 px, progressive, EXIF stripped, 4:2:0 subsampling. Expect 100–250 KB for a full-width photograph.
Hero and banner images
Quality 78–85, longest edge 2000–2560 px for high-density screens. Serve WebP with a JPEG fallback if you can; the WebP is usually 25–30% smaller at matched quality.
Thumbnails and list images
Quality 70–75, longest edge 400–600 px. Below about 40 KB there is little left to win.
Email attachments
Target 200–500 KB per image and keep the whole message under about 10 MB. Many corporate mail servers still reject more, and some silently re-compress what they do accept.
Online forms and document uploads
Use the target-size mode and set it just under the stated limit — 95 KB for a 100 KB cap. Passport and visa portals in particular reject anything over the limit without explanation.
Print
Do not compress aggressively. Quality 92 or higher, no downscaling, and supply roughly 300 pixels per inch of final print size. For an A4 page that is about 2480 × 3508 pixels.
Archival originals
Do not re-compress at all. Keep the camera original, and compress copies for distribution.

Questions

Frequently asked questions

Every answer below is present in the page source, expanded, so it can be read without opening anything.

Does resizing reduce file size?

Substantially, and more reliably than any quality setting. File size scales with the number of pixels, so halving both the width and the height leaves a quarter of the pixels and usually something close to a quarter of the file. For images destined for a web page this is nearly always the first thing to do.

Will resizing make my image blurry?

Making an image smaller is safe — the browser averages groups of pixels down, which is a well-defined operation and looks clean. Making it larger is not: there is no extra detail to invent, so an enlarged image is soft by definition. The Never enlarge option is on by default for that reason.

What does locking the aspect ratio do?

It keeps the original proportions. Enter a width and the matching height is calculated for you, so nothing is stretched or squashed. Unlock it only when you deliberately want to distort the image to fit a fixed frame.

Can I resize by percentage instead of pixels?

Yes. Switch the mode to Percentage and every image in the batch is scaled by the same proportion of its own size, which is what you want when the batch contains images of different dimensions.

What size should images be for a website?

For a full-width photograph in a normal content column, a longest edge of 1600–2000 pixels is generous. Hero images that span a wide screen justify 2000–2560. Thumbnails need 400–600. Serving pixels beyond what the layout can display costs bandwidth and gains nothing.

What about high-density and Retina screens?

A device with a 2× display draws two physical pixels for every CSS pixel, so an image shown in an 800-pixel-wide column looks sharpest if the file is around 1600 pixels wide. Doubling is the sensible ceiling; 3× files are almost never worth their size.

Can I resize several images at once?

Yes. Add the whole batch and the same settings are applied to every file. Each one gets its own row showing the dimensions before and after, and Download all packages them into a single ZIP.

Does resizing strip EXIF data?

It does when the Strip EXIF option is on, which is the default, because the output is written from raw pixels rather than by editing the original file. Camera model, timestamps and GPS coordinates are not carried across.

Are my images uploaded to resize them?

No. Decoding, scaling and re-encoding all happen in this browser tab using the Canvas API. No file is transmitted, and no server ever sees your image.

What is the difference between resizing and cropping?

Resizing changes the pixel dimensions of the whole image and keeps all of the content. Cropping removes part of the frame and keeps the remainder at its original scale. This tool resizes; it does not crop, and it does not claim to.

Which format should the resized image be saved in?

Keep photographs as JPEG or convert them to WebP. Keep screenshots, logos and anything with transparency as PNG or WebP. Resizing does not change which format suits the content.

Why is my resized image still large?

Most often because the output format is PNG and the content is photographic, in which case the file stays big however few pixels it has. Switch the output to JPEG or WebP and it will drop sharply.

From the blog

Related reading

Longer explanations from the blog.

  • Practical Guides

    How to Compress Images for a Website Without Wrecking Them

    Resize before you compress. Measured on one photograph: half the width at quality 80 produced a 16.4 KB file, while full width at quality 40 produced 20.6 KB and looked far worse. The order of operations matters more than the settings.

    8 min read

  • Image Compression

    JPEG Quality Settings Explained: What the Number Actually Means

    Quality 80 is not 80% of anything. It is an index into a quantisation table. Measured on one photograph: dropping from 100 to 90 removes 77% of the file and 4.2 dB of fidelity; dropping from 40 to 30 removes 17% and costs almost as much.

    8 min read

  • Practical Guides

    How to Reduce Image Size for Email Without Sending a Blurry Mess

    Attachments are base64-encoded in transit, which inflates them by about a third. A 20 MB limit is really a 15 MB limit. Resize to 1600 pixels on the long edge and encode at quality 80, and a photograph lands near 150 KB.

    9 min read