ToolBook
Support us on Ko-fi
Help us keep this free, forever

Image Resizer

How to resize an image

Drop your image, enter the target dimensions or pick a social preset, and download.

  1. Drop or select an image

    Drag an image onto the drop zone or click to browse. The original width, height, and file size are shown immediately.

  2. Set target dimensions or pick a preset

    Switch to Pixels mode and type a width and/or height, or switch to Percentage mode and enter a scale (e.g. 50 for half-size). Social media presets fill in exact platform dimensions automatically.

  3. Toggle aspect ratio lock

    Leave the lock on to preserve proportions: changing width recalculates height automatically. Unlock it to stretch to exact dimensions independently.

  4. Choose output format

    Select JPEG, WebP, or PNG. JPEG and WebP include a quality slider; PNG is always lossless.

  5. Adjust quality and download

    For JPEG and WebP, drag the quality slider to balance file size against sharpness. Click "Download" to save the resized file to your device.

Frequently asked questions

Does this upload my image anywhere?

No. Resizing uses the browser's Canvas API: the image is decoded in memory, drawn to an off-screen canvas at the target dimensions, and exported as a new file. Nothing is sent to a server. The tool works fully offline once the page loads.

What happens when I unlock the aspect ratio?

With the lock off, width and height are independent; you can enter any values and the image will be stretched to fit. This is useful for canvases that must be exact dimensions (e.g., a social banner that requires specific proportions). With the lock on, changing one dimension recalculates the other to preserve the original proportions.

Which output format should I choose?

JPEG: best for photos shared or embedded in web pages, offering good compression and universal support. WebP: better compression than JPEG at the same quality, supported by all modern browsers. PNG: lossless, best for screenshots, logos, or anything with text, transparency, or sharp edges. PNG files are larger than JPEG/WebP for photos.

Can I resize to a percentage of the original size?

Yes. Click "Percentage" above the dimension inputs to switch modes. Enter a scale factor (e.g. 50 for half-size) and the tool calculates the exact pixel output automatically. Quick-pick buttons for 25%, 50%, and 75% are provided for the most common reductions.

Why does my resized image look blurry?

Blurriness appears when you scale an image up beyond its original resolution; the browser interpolates missing pixels, which creates softness. Scale down, not up. If you need a larger canvas, start with the highest-resolution source available. For illustrations or screenshots, PNG output avoids additional compression artefacts.

What image formats can I upload?

Any format your browser supports as a displayable image, typically JPEG, PNG, WebP, GIF, BMP, and AVIF. On Apple devices HEIC is also accepted. The output format is always your choice of JPEG, WebP, or PNG regardless of what you upload.

Does this tool work on mobile?

Yes. The tool runs in any modern mobile browser: Safari on iOS or Chrome on Android. Instead of drag-and-drop, tap the drop zone to open your photo library. All resizing happens on-device; nothing is sent to a server.

How do I reduce file size along with dimensions?

Two levers: resize down (fewer pixels means a smaller file) and lower the quality slider for JPEG or WebP output. PNG is lossless, so its file size depends only on dimensions and content complexity. For the smallest web-ready file, use WebP at quality 75-85.

Image resizing: interpolation algorithms, when to scale down vs crop, and platform size requirements

How browsers and image editors interpolate pixels when resizing, why scaling up causes blur, and the exact dimensions each major platform expects.

How image resizing works in a browser

When you resize an image in this tool, the browser draws the original image to an off-screen HTML Canvas element at the target dimensions using drawImage(). The GPU handles the pixel interpolation β€” the same way a GPU scales a texture in a video game.

By default, browsers use bilinear interpolation for downscaling: each output pixel is a weighted average of the four nearest input pixels. This produces smooth results for photographs. For pixel art or screenshots with crisp text, bilinear interpolation creates blur because it averages across edges. For those use cases, set imageSmoothingEnabled = false before drawing β€” the tool uses high-quality smoothing by default since most images are photos, not pixel art.

Downscaling vs upscaling

Downscaling (reducing dimensions) always looks good. You're discarding pixels by averaging β€” sharpness is preserved as long as you don't downscale more than 50% in a single pass. Browsers handle this internally when the canvas is small relative to the source.

Upscaling (increasing dimensions) always reduces sharpness. You're interpolating pixels that don't exist β€” the algorithm guesses what colour they should be. The result is a blurry version of the original, not a higher-resolution version. No amount of interpolation can recover detail that wasn't in the source. If you need a larger image, go back to the original high-resolution source.

Platform dimension requirements

Every platform has specific requirements not just for dimensions but for file size and format. Here's a practical summary:

  • YouTube thumbnails: 1280Γ—720 px minimum, 1920Γ—1080 px recommended, JPEG or PNG, under 2 MB
  • Instagram feed: square (1080Γ—1080), portrait (1080Γ—1350), landscape (1080Γ—566) β€” all at 72 DPI
  • Twitter/X posts: 1200Γ—675 px displayed; the platform centre-crops to 16:9 in feeds
  • Open Graph / OG image: 1200Γ—630 px β€” used when your link is shared on WhatsApp, LinkedIn, Facebook, Slack
  • WhatsApp status: 1080Γ—1920 px (9:16) β€” video-optimised but works for images too

The tool's social presets use the recommended sizes above, not the minimum accepted sizes.

Canvas API vs server-side resizing

Server-side tools (Sharp, ImageMagick, Cloudinary) can apply multi-pass downsampling algorithms (Lanczos, Mitchell) that produce slightly sharper results than single-pass bilinear. For most web images, the difference is invisible. The advantage of client-side Canvas API processing is privacy: your image never leaves your device, there's no upload time, and there's no rate limit or file size cap beyond your device's RAM.