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 color 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.
Color 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 holds six million pixels whether its metadata claims 72 DPI or 300 DPI.

DPI is a printing instruction in a metadata field. It tells a printer how many pixels to place per inch, which sets the printed size — 3000 pixels at 300 DPI is a 10-inch print, and at 72 DPI a 41-inch print of the same pixels.

So "save at 72 DPI for the web" does not shrink a file. Reducing pixel dimensions does. For A4 at 300 DPI, supply about 2480 × 3508 pixels.

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 is not a percentage. It is an index into quantization tables that control how aggressively detail is discarded, and its relationship to file size is steep and non-linear.

  • 95–100 — near-original, often only 20–35% smaller. Rarely worth it.
  • 80–90 — photography you care about. 50–70% smaller, no artifact at normal viewing distance.
  • 70–80 — ordinary web images. Usually 70–85% smaller.
  • 50–70 — visible softening in smooth areas; thumbnails survive it.
  • Below 50 — blocking, ringing and color banding. Placeholders only.

Returns diminish fast at the top: 100 to 90 usually halves the file for no perceptible change, 90 to 80 saves far less. If you remember one number, use 80.

Transparency and color JPEG cannot carry

JPEG has no alpha channel and cannot store transparency. Converting a transparent PNG forces those pixels to become something, and most tools fill them with black — which is why a logo exported to JPEG arrives in an unwanted dark box. Keep it as PNG, use WebP (alpha support, typically 25–35% smaller than PNG), or flatten onto a chosen background deliberately.

Color is the other gap. Screens mix additively in RGB; printing presses mix subtractively in CMYK, and converting between them always approximates. A CMYK JPEG is converted to RGB before a browser can display it, and saturated cyans and deep blues can shift noticeably. Compress and resize in RGB for screens, and keep a separate CMYK master for print.

Why re-compressing a JPEG keeps degrading it

Every time a JPEG is decoded, edited and saved, the encoder re-runs quantization on data already quantized. Errors from the previous pass are treated as real detail and collect new errors on top. This is generation loss, and it only accumulates.

Re-saving at quality 90 restores nothing; it spends more bytes preserving the earlier pass's artifacts. Compress from the highest-quality original you have, and settle on one output size in a single pass rather than nudging quality down and re-saving.

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. Expect 100–250 KB.
Hero and banner images
Quality 78–85, longest edge 2000–2560 px. WebP with a JPEG fallback is usually 25–30% smaller.
Thumbnails
Quality 70–75, longest edge 400–600 px. Below about 40 KB there is little left to win.
Email attachments
200–500 KB per image, message under about 10 MB.
Forms and uploads
Target-size mode just under the cap — 95 KB for a 100 KB limit.
Print
Quality 92 or higher, no downscaling, about 300 pixels per inch of final size. A4 is roughly 2480 × 3508 px.
Archival originals
Do not re-compress. Keep the camera original and compress copies.

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