Skip to content
Processing locally — files never leave your device

Resize Images Online

Resize images by pixel dimensions or percentage, with optional aspect-ratio lock. Pure browser, no quality loss to the cloud.

How to use Image Resizer

  1. Add the picture you need scaled — JPG, PNG, and WebP files are all accepted.
  2. Type a target width and height, with the lock toggle on to keep the aspect ratio.
  3. Or click a quick-scale button (25%, 50%, 150%…) to resize proportionally in one tap.
  4. Choose an output format and, for JPG/WebP, a quality level.
  5. Click Apply to preview, then download the resized image.

Resize images to exact dimensions

Photos straight off a camera or phone are often far bigger than any page or platform needs. This resizer lets you set precise pixel dimensions or scale by percentage, with an aspect-ratio lock so nothing stretches — and it does the whole job in your browser with a live before-and-after preview.

How resizing works

Your image is drawn onto an HTML canvas at the target width and height, then re-encoded in the format you choose. With the aspect-ratio lock engaged, the tool calculates the matching dimension for you, so a 4000×3000 photo scaled to 800 wide automatically becomes 800×600. Quick-scale buttons apply common percentages in a single click.

Interpolation: how new pixels are decided

When a target dimension does not line up with the source grid, the resampler has to invent the in-between values. The method it uses to do that is interpolation, and the choice is what separates a crisp result from a blocky or mushy one.

  • Nearest-neighbour simply copies the closest existing pixel. It is the fastest and the only method that keeps hard pixel boundaries intact, which is exactly why it is right for pixel art and screenshots of low-resolution UI — and exactly why it produces jagged staircases on photographs.
  • Bilinear blends the four nearest pixels by distance. It is smooth and cheap, but on large reductions it can look a touch soft because it samples too small a neighbourhood to represent the detail being discarded.
  • Bicubic weighs a 4×4 block with a cubic curve, preserving edge contrast better than bilinear. It is the default behind most photo software and the reasonable middle ground for everyday resizing.
  • Lanczos uses a windowed-sinc kernel over an even wider neighbourhood, giving the sharpest downscales with the least aliasing — at the cost of occasional faint ringing near very high-contrast edges.

This resizer asks the canvas for its highest smoothing quality, which on Chrome and modern Firefox is a Lanczos-style filter and on Safari a high-quality bicubic. In practice that means downscales come out clean without you choosing a kernel by hand. The one case where you would want nearest-neighbour instead — sprite sheets and pixel art — is better handled by an editor that exposes that mode explicitly.

When the algorithm matters most

The interpolation choice is barely visible when you shrink a photo by 10–20%. It becomes obvious in two situations: aggressive downscaling, where a 4000-pixel image collapses to 400 and a weak filter throws away detail unevenly, producing moiré on fine repeating patterns like fabric or brick; and any upscale, where every method is guessing and the differences in softness are plain to see. As a worked example, a 3000×2000 photo reduced to 600×400 keeps legible text on a sign with a Lanczos-style filter but smears it with plain bilinear — a four-fold dimension drop is right at the boundary where the kernel starts to count.

Common target sizes

Use 1080×1080 for a square social post, 1920×1080 for a full-HD banner or slide, 1280×720 for a YouTube thumbnail, and around 1600–2048 px on the long edge for crisp blog images. When a form or avatar field caps the dimensions, type the exact limit and let the lock handle the other side. If a resized file comes out larger than expected, lower the JPG/WebP quality or follow up with the compressor.

Resized privately in your browser

The resampling happens on a canvas the page draws in your own tab, so the picture is redrawn at its new size and handed straight back for download without a single byte being sent to us.

Related image tools

Frequently asked questions

What does the aspect-ratio lock do?
When the lock is on, changing the width updates the height automatically (and vice versa) so the image keeps its original proportions and never looks stretched. Unlock it only when you deliberately want to squash or stretch the image to non-proportional dimensions.
Should I use exact pixels or percentage scaling?
Use exact pixel dimensions when a platform demands a specific size — say 1080×1080 for a square post. Use the quick-scale buttons when you just want the image proportionally smaller or larger, like halving a screenshot, without doing the maths yourself.
Does resizing reduce image quality?
Downscaling keeps things sharp — the image simply has fewer pixels and fine detail is averaged together cleanly. Upscaling is different: there is no extra detail to add, so interpolated pixels make the result look softer. For meaningful enlargement, an AI upscaler does a far better job than plain resizing.
Which interpolation method does the resizer use?
It uses the browser canvas at high smoothing quality, which is a bicubic or Lanczos-style filter on most engines — it weighs a neighbourhood of source pixels rather than copying the nearest one. That is why a downscaled photo looks smooth instead of jagged. Nearest-neighbour (the blocky alternative) is only the right choice for pixel art, which this tool is not optimised for.
Why did my file get larger after resizing?
Exporting re-encodes the image at the chosen quality. If you resized to nearly the original dimensions, the re-encode can occasionally come out slightly larger, especially at high quality. To guarantee a smaller file, lower the quality slider or run the result through the compressor.
What happens to transparency when I resize a PNG?
Resizing to PNG or WebP preserves the alpha channel. Resizing to JPG flattens transparent areas onto a white background, because JPG has no transparency support. Keep the output as PNG or WebP if transparency matters.
Is my image uploaded to be resized?
No. The scaling arithmetic runs in your tab and the canvas redraw never produces a network request, so the picture stays on the device that opened the page.

More tools you might find useful in the same flow.

Built by Muhammad Tahir · About