Image Resizer
Resize images in your browser. Set width, height, or both. Lock aspect ratio. Free, fast, and 100% client-side — your images never leave your device.
Runs entirely in your browser — your image is never uploaded.
Why resize images?
You shot a photo on your phone and it came out 4000 pixels wide at 6 MB. Your blog post needs an 800-pixel-wide image. Your email newsletter has a 600-pixel column. Your CMS template expects a 1200×630 hero image. That's the everyday problem an image resizer solves: getting from the pixel dimensions you have to the dimensions you actually need.
The practical reasons to resize images before publishing or sending them are well established:
- Faster page loads. A 4000-pixel image forced into an 800-pixel column still transfers all 4000 pixels over the network. Serving the correct size can cut page weight by 80% or more.
- Smaller email attachments. Many mail servers reject attachments over 10 MB. A resized photo is rarely a problem.
- CMS and platform limits. Social media platforms, content editors, and upload forms often have strict size caps or display targets.
- Thumbnails and avatars. Profile pictures, product thumbnails, and documentation screenshots all have fixed target dimensions.
Width, height, and the aspect ratio trap
Every image has a width-to-height ratio— its aspect ratio. A 4000×3000 photo has a 4:3 aspect ratio. A 1920×1080 screenshot has a 16:9 ratio. These ratios describe the shape of the image, independent of how many pixels it contains.
The trap is this: if you resize a 4000×3000 image to 800×600, you are preserving the 4:3 ratio — no distortion. But if you resize it to 800×400, you have changed the ratio (now 2:1). The image gets squished vertically: people look wide and short, circles become ovals. It looks wrong because it is wrong.
The Lock aspect ratio checkbox prevents this. When it is on, editing the width automatically recalculates the height (and vice versa) to keep the ratio intact. This is the default, and it should stay on for nearly every resize task.
The one exception: you want a fixed-shape crop placeholder — a banner that must be exactly 1200×400 regardless of what the photo looks like. In that case, turn the lock off, enter both dimensions, and accept that the image will be stretched. Usually this means you also need to crop rather than just resize, but for a quick stretch-to-fit the lock-off option is there.
Common target sizes
If you are not sure what dimensions to target, the following guidelines cover most web, email, and social use cases:
- Half size— a fast way to roughly halve a too-large photo without calculating exact pixels. Useful when the original is "too big" and you just need something smaller.
- 800 wide — the practical minimum for a full-width desktop blog image. Also the maximum you need for most mobile-first designs.
- 1024 wide— a common "medium for web" target. Fits most blog post layouts and sidebars without overpowering them.
- 1200 wide— the standard for social sharing previews (Facebook, LinkedIn, Twitter/X all render Open Graph images at or near 1200×630). Also a reasonable responsive hero image width.
- 512 wide — thumbnail and avatar territory. Fits most social media profile photos and inline product images.
- 2048 wide — high-DPI / Retina content. The largest width you typically need to serve on the web; most screens render no sharper than this.
- 600 wide for email — email columns are typically 600 pixels. Keep total file size under 300 KB to avoid triggering Gmail clipping.
Quality vs file size
Resizing down(reducing pixel dimensions) almost always produces a substantially smaller file. This is the main reason people reach for an image resizer: you trade pixels you don't need for bytes you don't want to transfer.
Resizing up(increasing pixel dimensions beyond the original) is a different matter. The browser has no new information to add — it interpolates between the existing pixels. The result is a larger, blurrier image. No resize tool can "enhance" a low-resolution photo into a high-resolution one. If you need a higher-resolution image, you need the original at higher resolution. AI upscalers exist for this specific problem; a plain bicubic interpolation pass — what every canvas resize does — is not a substitute.
This tool uses imageSmoothingQuality: "high" on the canvas, which produces noticeably better downscale quality than the default "low" setting, especially for screenshots and text-heavy images where aliasing artifacts are most visible.
Output format also affects file size independently of dimensions. If you resize a PNG screenshot and the output is still large, the format is the issue, not the dimensions. Switch to JPG or WebP — either will compress the content far more aggressively than PNG, which is lossless by definition. The format dropdown in this tool lets you change the output format in the same operation, so you can resize and convert in a single step.
What this image resizer does — and does not — do
A precise accounting of scope, so there are no surprises:
- Resizes to any target dimensions from 1×1 to 8000×8000 pixels.
- Preserves aspect ratio by default (toggleable with the Lock checkbox).
- Output format: Auto (matches source), PNG, JPG, or WebP — selectable.
- Quick preset buttons for half-size and common web widths.
- Shows the file-size delta after resize so you can see the actual savings.
- Does not crop. Cropping — selecting a region and discarding the rest — is a different operation. A dedicated cropper is a separate tool.
- Does not do AI upscaling. This is plain bicubic interpolation. Upscaling past the original dimensions adds no detail.
- Does not batch-process multiple files. One image at a time.
How to use this image resizer
- Drag an image onto the drop zone, or click the zone to open a file picker. PNG, JPG, and WebP are accepted as input.
- The width and height inputs auto-fill with the source image's dimensions. The aspect ratio lock is on by default.
- Type a new width or height. With the lock on, the other dimension updates automatically. To set both independently, uncheck the lock first.
- Alternatively, click a preset button —
Half size,1024 wide,512 wide— to set common targets in one click. - Optionally change the output format. The
Autodefault matches the source format; switching toWebPorJPGcan reduce file size further. - Click Resize. The resized preview appears alongside the new file size and the percentage change from the original.
- Click Download to save the output file to your device.
Example
A typical phone photo resized for a blog post:
Input: 4032 × 3024 px • PNG • 5.8 MB Target: 1024 wide (aspect ratio locked) Calculated height: 768 px (4032 × 3024 preserves 4:3 ratio) Output: 1024 × 768 px • JPG quality 90 • 210 KB (−96%)
The 96% reduction is typical when downscaling a large phone photo and switching from PNG to JPG. For a screenshot with text and flat colors, the output is better kept as PNG to avoid JPG compression artifacts around edges — but the file size reduction from dimension alone is still substantial.
Privacy and security
Your image never leaves your browser. Resizing happens entirely on your device using the browser's Canvas API — the pixel data is drawn onto a canvas element at the new dimensions and re-encoded to a Blob. There is no upload, no server-side processing, and no copy stored anywhere.
Most "resize image online" tools send your file to a server, run the canvas operation on a backend, return the result, and retain a temporary copy during processing. That copy may be logged, inspected, or left on disk longer than their privacy policy implies. If you are resizing internal screenshots, client photos, proprietary product images, or anything you would not paste into a public web form, the browser-local approach is categorically safer.
No analytics event records the file content or filename. No signup is required.
Frequently asked questions
Why does my image look blurry after resizing?
Two likely causes. First, you may have upscaled — made the image larger than the original. There is no new detail to add; the canvas interpolates between existing pixels and the result is smooth but soft. Second, the source itself may have been low-resolution. Bicubic resampling produces a clean, anti-aliased result, but it cannot recover sharpness that was never there. If you need a sharp image at a larger size, you need the original at that resolution from the start.
What is the difference between "resize" and "crop"?
Resizing changes the entire image's pixel dimensions while keeping all content visible — everything is scaled up or down proportionally (or stretched if aspect lock is off). Cropping cuts out a rectangular portion of the image and discards the rest, changing both the dimensions and what is shown without distorting anything. They are different operations: use resize when you need the same content at different dimensions, use crop when you need a specific region of the image.
Why can't I resize past 8000 pixels?
Browser canvas memory limits. Past roughly 8000 pixels per side, mobile Safari and older Chrome on Windows can fail silently — the canvas allocates the memory, appears to succeed, but produces a blank or corrupted output. The 8000-pixel cap is a safe ceiling that covers every practical web use case. If you genuinely need to produce images larger than 8000 pixels, a desktop tool such as ImageMagick or GIMP is the right instrument.
Will resizing strip my EXIF metadata?
Yes. The browser Canvas API discards all EXIF data — camera model, exposure settings, GPS coordinates, capture timestamps — when re-encoding the image. For sharing photos online this is a privacy benefit: you are not accidentally publishing your location data embedded in a phone photo. If you need EXIF to travel with the file (for photography workflows, archiving, or print), use a desktop tool such as ImageMagick with its -auto-orient and -strip flags, or ExifTool for explicit metadata management.
Can I resize a transparent PNG without losing the transparency?
Yes. When the output format is PNG or WebP, the transparent areas are preserved through the resize. The canvas composite preserves the alpha channel. The only case where transparency is lost is when you switch the output format to JPG, because JPG has no alpha channel — transparent pixels become white in the output. If you need both a smaller file and transparency, use WebP, which supports full alpha at much better compression than PNG.
What is the best output format for a resized photo?
WebP for anything served on the web — it delivers the smallest file at equal visual quality and is supported in every modern browser. JPG for universal compatibility (email, legacy software, print services that do not accept WebP). PNG only when you need transparency or pixel-perfect lossless output — for example, a UI screenshot or a logo with a transparent background. For a resized phone photo going into a blog post, WebP at quality 85 is the practical optimum.
Is my image data sent anywhere?
No. The resize operation runs entirely in your browser using the Canvas API. No file is uploaded, no server processes your image, and no copy is stored anywhere outside your device. You can safely scale image files containing sensitive internal content, and they will never be transmitted over the network.
Related tools
- Image ConverterConvert images between PNG, JPG, and WebP in your browser. Free, fast, and 100% client-side — your images never leave your device.
- QR CodeFree online QR code generator. Create high-quality QR codes for URLs, text, Wi-Fi and contacts — download as PNG or SVG.
- Color ConverterConvert colors between HEX, RGB, HSL and CSS color names. Free online color picker and converter for designers and developers.