Image Resizer & Cropper
Resize or crop images to exact dimensions in your browser.
Image Resizer & Cropper — Resize an image to exact pixel dimensions with an optional aspect-ratio lock that keeps width and height in sync. High-quality canvas scaling preserves detail, and the output keeps the original format (JPEG/WebP) or falls back to PNG. Your image is processed locally and never uploaded.
What is Image Resizer & Cropper?
The deftdeck Image Resizer is a free online image resize tool that scales photos and graphics to exact pixel dimensions right in your browser. Designers, developers, bloggers, and anyone preparing avatars, thumbnails, social-media images, or web assets can drop in any image their browser can open (such as PNG, JPEG, or WebP) and set a precise width and height in pixels. An optional aspect-ratio lock keeps width and height in proportion so images never stretch, and high-quality canvas scaling preserves detail when shrinking or enlarging. The resized image keeps its original JPEG or WebP format (anything else, such as PNG, is exported as PNG), with a live before-and-after preview you can click to zoom.
How to use Image Resizer & Cropper
- Drag and drop an image onto the dropzone, or click it to pick a file (PNG, JPEG, WebP, or any other image your browser can open) from your device.
- Type the target Width (px) and Height (px) you want for the resized image (each is rounded to a whole number, minimum 1).
- Set Lock ratio to 'Locked' (the default) to keep the original aspect ratio, so changing one dimension updates the other automatically; switch to 'Free' to set width and height independently.
- Check the Original and Target dimensions shown above the preview to confirm the new size.
- Click 'Resize' to scale the image, then review the original and result side by side (click either to open the zoom lightbox).
- Click 'Download' to save the resized image, named with its new dimensions.
Examples
Shrink a photo for the web with locked ratio
Load a 4000x3000 JPEG, set Width to 1200 with Lock ratio set to 'Locked', and the Height updates to 900 automatically. Click Resize, then Download to get a 1200x900 JPEG with no distortion.
Make a square avatar by unlocking the ratio
Load a rectangular PNG, switch Lock ratio to 'Free', set both Width and Height to 256, and Resize to produce a 256x256 PNG sized exactly for a profile picture.
Upscale a small WebP icon
Drop in a 64x64 WebP, enter a larger Width and Height such as 128x128, and Resize. High-quality canvas smoothing is applied and the output stays in WebP format.
Frequently asked questions
- What image formats can I resize?
- Any image your browser can open (the dropzone accepts image/*), including PNG, JPEG, and WebP. The result keeps the original format if it was JPEG or WebP; everything else, such as PNG, is exported as PNG.
- Does resizing keep the aspect ratio?
- Yes, if you set Lock ratio to 'Locked' (the default). Then editing Width auto-calculates Height (and vice versa) from the original proportions so the image never looks stretched. Choose 'Free' when you need exact, independent width and height values.
- Will resizing reduce image quality?
- The tool uses high-quality canvas scaling to preserve detail, and JPEG/WebP output is saved at 0.92 quality (PNG is lossless). Enlarging an image beyond its original pixel size cannot add detail that was never captured, so some softness on heavy upscaling is normal.
- Is there a file size or dimension limit?
- There is no fixed limit set by the tool. Width and height must be at least 1 pixel (and are rounded to whole numbers), and very large images are bounded only by your browser's and device's available memory since all processing happens locally.
- Are my images uploaded to a server?
- No. Everything runs 100% client-side in your browser using the HTML canvas. Your image is never uploaded to deftdeck or any server, and nothing leaves your device.
Related tools
EXIF Viewer & Metadata Remover
View an image's EXIF metadata — camera, lens, capture date, and GPS location — then strip every tag and download a clean copy, all in your browser.
Favicon Generator
Turn one PNG or JPG image into 16, 32, 48, 180 and 512 px square icons in your browser.
HEIC to JPG Converter
Convert iPhone HEIC photos to JPG instantly, without uploading them.
Image Color Picker & Palette Extractor
Extract a palette of the dominant colors plus the overall average color from any image right in your browser, each shown as a copyable HEX value.