Image Resizer
Image ToolsResize PNG, JPG, WebP images by pixels or percentage with aspect lock. Free, private — all processing in your browser.
The Image Resizer is a free online tool to resize photos, screenshots, and graphics to exact dimensions — by pixels, percentage, or target file size. Works with PNG, JPG/JPEG, WebP, GIF, and BMP files. Resize a single image or drop dozens at once for batch processing. Lock aspect ratio to avoid distortion, or force exact dimensions when you need them. Every image is processed entirely in your browser using the HTML5 Canvas API — no file is uploaded to any server, no watermark is added to your output, and there are no size limits beyond your browser's memory.
Resizing images is one of the most frequent tasks in web development, digital marketing, and content creation. Every social network, ecommerce platform, and CMS has its own ideal dimensions: Instagram posts at 1080×1080, Twitter headers at 1500×500, Facebook covers at 820×312, Amazon product images at 2000×2000, email hero images at 600 wide. Doing this in Photoshop is overkill. Doing it online usually means uploading private photos to strange websites. This tool resizes instantly, privately, and without installing anything — perfect for batch-resizing product photos, preparing social media assets, shrinking screenshots for bug reports, creating thumbnails, or simply reducing a photo's file size before emailing.
Image Resizer — key features
Resize by pixels or percentage
Set exact target width/height in pixels, or scale by percentage. Choose whichever is more convenient for your workflow.
Lock or unlock aspect ratio
Lock to maintain proportions (default). Unlock when you need exact dimensions regardless of distortion.
Batch resize
Drop multiple images at once. All are resized to the same target dimensions and downloaded as a zip or individual files.
Output format conversion
Resize and convert format in one step — JPG to WebP, PNG to JPG, etc. Often saves significant file size.
Quality control for JPG/WebP
Slider from 1-100 for lossy formats. Live preview shows the quality/size tradeoff.
Preset dimensions for platforms
One-click preset for Instagram post, Twitter header, Facebook cover, YouTube thumbnail, and more. No need to remember the pixel dimensions.
Preview before download
See the resized image at actual size before saving. Compare with original to check quality.
100% browser-based
No uploads, no waiting. Files stay on your device. Safe for personal photos, client work, and sensitive screenshots.
How to use the Image Resizer
- 1
Drop your images
Drag and drop one or more image files (PNG, JPG, JPEG, WebP, GIF, BMP) into the tool. Or click to pick files. The original dimensions appear.
- 2
Set target dimensions
Enter the new width or height in pixels. With aspect ratio locked, the other dimension updates automatically. Or switch to percentage mode.
- 3
Choose output format
Keep the original format or convert — JPG for photos, WebP for modern web (smaller), PNG for graphics with transparency.
- 4
Set quality (for JPG/WebP)
85-95% is usually the sweet spot. Preview shows you the quality/size tradeoff live.
- 5
Click Resize
Images are processed instantly in your browser. Preview and total file size appear immediately.
- 6
Download
Download individual images or a ZIP of all resized files. Ready to use in your CMS, email, or social media.
Common use cases for the Image Resizer
Social media
- →Instagram posts and stories: Posts 1080×1080 (square) or 1080×1350 (portrait). Stories 1080×1920. Use presets to hit exact dimensions without guesswork.
- →Twitter/X images: In-tweet: 1200×675. Header: 1500×500. Profile picture: 400×400. Resize and upload instantly.
- →Facebook and LinkedIn: Facebook cover: 820×312. LinkedIn cover: 1584×396. Profile pictures: 400×400 (FB), 400×400 (LI). Batch-resize when you update branding.
- →YouTube thumbnails: 1280×720 (16:9), at least 1920×1080 for HD. Thumbnails are critical for click-through — resize from your design exports.
- →TikTok and Reels: Vertical 1080×1920 (9:16). Crop and resize your horizontal source videos' frames for thumbnails.
Web development
- →Prepare hero images for responsive sites: Generate multiple sizes (1920w, 1280w, 768w, 320w) for `srcset`. Browsers pick the best one for each device.
- →Create OG and Twitter Card images: Open Graph: 1200×630. Twitter summary card: 1200×600. Resize your design mockups or screenshots to meet these dimensions.
- →Compress photos before upload to CMS: CMS storage and bandwidth costs less when images are the right size. Resize large phone camera photos (~5 MB each) down to ~200 KB before uploading.
- →Create app icons: iOS: 180×180. Android: 512×512 adaptive. Web favicon: multiple sizes. Batch-resize from a single high-res source.
Ecommerce
- →Resize product photos for marketplaces: Amazon: 2000×2000 recommended. Shopify: max 4472×4472. Etsy: 2700×2025. Consistent dimensions across listings signal professionalism.
- →Batch-process new inventory: Drop 50 product photos, resize to spec, download all at once. Saves hours of manual work.
- →Generate thumbnails automatically: Keep full-resolution originals + generate small thumbnails (200×200 or 400×400) for category pages.
Personal and professional
- →Shrink photos for email: 10 MB photo from a phone becomes a 200 KB email attachment. Easier for recipients to download.
- →Screenshots for bug reports: High-DPI screenshots are huge. Resize to 1200w for GitHub issues and support tickets.
- →Resume and portfolio photos: Headshot usually 400×400 or 800×800 for professional profiles.
- →Print vs web: Print needs 300 DPI; web needs 72 DPI. Resize pixel dimensions, and convert with quality balance.
Image Resizer — examples
Shrink phone photo for web
4032×3024 iPhone photo → 1200×900 for blog.
Original: 4032×3024 (8 MB JPG) Target: 1200×900 (aspect locked) Format: JPG quality 85
Resized: 1200×900 File size: 180 KB (44× smaller) Quality: visually indistinguishable
Instagram post resize
Desktop design mockup → 1080×1080 square.
Original: 1920×1920 Target: 1080×1080
Resized: 1080×1080 Format: PNG (keeps quality) File size: 450 KB
Batch resize 20 product photos
Ecommerce upload ready.
20 photos, various sizes Target: longest side = 2000, Amazon-ready Format: JPG quality 90
All 20 resized in 4 seconds Total download: 15 MB (vs 180 MB originals) Ready for Amazon listings
Convert PNG screenshot to WebP
5× smaller file, same visual.
Original: screenshot.png (2.1 MB, 1920×1080) Target: convert to WebP, same dimensions Quality: 85
Output: screenshot.webp (380 KB, 1920×1080) File size: 5.5× smaller
Generate thumbnails
Product image at multiple sizes.
Source: 2400×2400 product photo Generate: 600×600, 300×300, 150×150 Format: WebP quality 85
3 output files: - 600×600 (120 KB) - 300×300 (40 KB) - 150×150 (15 KB)
Fit to box with aspect preserved
Longest side 1920, aspect ratio maintained.
Source: 3840×2160 (16:9) Fit to box: 1920 longest side
Output: 1920×1080 (aspect kept)
Technical details
The resizer uses the HTML5 Canvas API (CanvasRenderingContext2D.drawImage()) to scale images with the browser's built-in image interpolation. Modern browsers offer three quality levels via imageSmoothingQuality: low, medium, high. This tool defaults to high for best quality on downscaling (shrinking), which uses a form of bilinear or bicubic interpolation depending on the browser.
Aspect ratio:
- Locked (default) — changing width automatically adjusts height to maintain the original proportions. Prevents distortion.
- Unlocked — set exact width and height independently. Useful when the aspect ratio does not matter (fixed-size icons, banner crops).
Resizing modes:
- By pixels — specify exact target width and/or height.
- By percentage — specify a scale factor (e.g., 50% = half size).
- Fit to box — maximum dimension, with aspect preserved (e.g., longest side ≤ 1920).
- Fill box / crop — output exactly match target dimensions, cropping to fit.
Output format:
- PNG — lossless, supports transparency. Best for graphics with solid colors, screenshots, logos.
- JPG / JPEG — lossy, smaller files. Best for photos. Configurable quality 1-100 (85-95 is visually indistinguishable from original).
- WebP — newer format, ~25-35% smaller than JPG at same quality. Good browser support (2020+). Supports both lossy and lossless plus transparency.
Quality vs file size:
- JPG at quality 95: visually identical to original, ~20-40% smaller than 100.
- JPG at quality 85: very slight artifacts visible on close inspection, 2-3× smaller.
- JPG at quality 75: visible artifacts on detail-heavy areas, 4-5× smaller.
- PNG file size depends on color count and compression level, not a "quality" setting.
- WebP produces ~30% smaller files than JPG at equivalent perceived quality.
Browser memory considerations:
The Canvas API needs to hold both the source and resized image in memory. A 50 MP source image at full RGBA needs ~200 MB RAM. Most browsers handle this fine; very large images may hit limits. For huge files (100+ MP), consider server-side processing.
Common problems and solutions
⚠Upscaling reduces quality
Enlarging a small image (e.g., 500×500 → 2000×2000) cannot invent detail — the result is blurry or pixelated. Use AI upscaling tools for that (DALL·E outpaint, Topaz Gigapixel). This resizer is for downscaling and dimension changes, not AI enhancement.
⚠JPG quality degrades on re-save
JPG is lossy — every time you open, edit, and re-save, quality degrades. Keep a master copy in PNG or the original JPG, and always resize from the master. Avoid multiple generations of JPG-to-JPG.
⚠Losing transparency with JPG output
JPG does not support transparency. Converting a PNG with transparent background to JPG fills the transparent area with white (or your chosen color). Use PNG or WebP to preserve transparency.
⚠WebP compatibility with older clients
WebP is supported in all modern browsers (2020+) but not all email clients or old image viewers. Safe for web delivery with `<picture>` fallback; may not be ideal for emails or attachments.
⚠Dimensions without regard to aspect ratio
Unlocking aspect ratio and setting arbitrary width and height squashes/stretches the image. For product photos and faces, always lock the aspect. Only unlock for banners where specific dimensions matter.
⚠Screenshots look pixelated on HiDPI
Screenshots from retina/HiDPI displays are actually 2× or 3× the apparent pixel dimensions. Resizing to the "displayed" size loses the HiDPI advantage. For HiDPI web display, keep the original 2× resolution.
⚠Color management and profiles
Some images have embedded ICC color profiles (Display P3, Adobe RGB). Browsers mostly handle these correctly, but resized output may have profile information stripped. For professional photography, use a proper photo editor that preserves color profiles.
⚠EXIF data is removed
Canvas-based resizing strips EXIF metadata (camera, GPS, date, orientation). Good for privacy (removes location data). Bad if you need the metadata. Use a resizer that preserves EXIF for archival or professional workflows.
Image Resizer — comparisons and alternatives
Image Resizer vs Image Compressor: Resizer changes dimensions (width × height). Compressor reduces file size at same dimensions (by adjusting JPG quality or re-encoding). Often used together: first resize to target dimensions, then compress to target file size.
Client-side (this tool) vs server-side (TinyPNG, Compressor.io): Client-side means your images never leave your browser — private, fast, no upload time. Server-side services typically have better compression algorithms (MozJPEG, zopflipng) but upload/process/download takes time and puts your photos on someone else's server.
Canvas API vs Photoshop / Affinity Photo: Desktop photo editors give you full creative control, masks, non-destructive edits. Canvas-based tools like this are for quick resizing tasks. If you are resizing > 1 image or need high quality for professional photography, use a proper editor.
Resizing vs cropping: Resizing changes all dimensions proportionally. Cropping removes parts of the image to change the aspect ratio. Use our Image Cropper for cropping-specific tasks.
JPG vs PNG vs WebP output: JPG for photos (lossy but small). PNG for graphics with transparency or few colors (lossless, larger). WebP for web (smaller than JPG at same quality). AVIF is the newest format — even smaller but less supported.
Aspect ratios: 1:1 (square, Instagram, profile), 16:9 (HD video, YouTube), 4:3 (classic TV, some cameras), 3:2 (DSLR standard), 9:16 (vertical, stories/reels), 2:1 (Twitter in-tweet), 1.91:1 (Facebook, OG image).
Frequently asked questions about the Image Resizer
▶How do I resize an image without losing quality?
For downscaling (making smaller): quality loss is minimal with high-quality interpolation (this tool's default). Save as PNG if transparency matters, JPG at 90-95% quality for photos, or WebP at 85-90% for best compression. For upscaling (making larger): quality loss is inevitable with traditional resizing — use AI upscaling tools for enlargement.
▶Is this image resizer free and unlimited?
Yes. 100% free, no sign-up, no watermarks, no limits on number of images or size. Only limit is your browser's memory (can handle 50+ megapixel images on most computers).
▶Are my images safe? Do they upload to a server?
No upload. All resizing happens entirely in your browser using the HTML5 Canvas API. Your images never leave your device. Safe for personal photos, confidential screenshots, client work, product photos, and any sensitive imagery. Open DevTools Network tab to confirm zero outbound requests.
▶What image formats are supported?
Input: PNG, JPG/JPEG, WebP, GIF (first frame only), BMP, AVIF (if browser supports). Output: PNG, JPG, WebP. Choose output based on use case — JPG for photos, PNG for graphics with transparency, WebP for web delivery.
▶How do I keep aspect ratio while resizing?
The aspect-ratio lock is enabled by default. Enter only the new width (or height) — the other dimension updates automatically to preserve proportions. Uncheck the lock only when you need exact dimensions regardless of distortion (e.g., for fixed-size banner crops).
▶Can I batch resize multiple images at once?
Yes. Drop multiple files or select them with the file picker. All images are resized to the same target dimensions with the same quality settings. Download individual resized files or all as a ZIP.
▶What image size should I use for Instagram / Twitter / Facebook?
Instagram feed: 1080×1080 (square) or 1080×1350 (portrait). Instagram story: 1080×1920. Twitter post: 1200×675. Twitter header: 1500×500. Facebook post: 1200×630. Facebook cover: 820×312. LinkedIn post: 1200×627. YouTube thumbnail: 1280×720. Use the platform presets for one-click sizing.
▶Why is my resized image blurry?
Usually one of: (1) Upscaling — making a small image larger inherently produces blur. (2) Low quality setting — JPG at 50% produces obvious artifacts; use 85+. (3) Double compression — saving JPG of a JPG repeatedly. Always resize from the highest-quality source you have.
▶What DPI should I use?
For web display: DPI is irrelevant — browsers use pixel dimensions only. Resize by pixel count, not DPI. For print: typically 300 DPI. A 3 inch × 5 inch print at 300 DPI needs 900 × 1500 pixels. DPI setting inside the file matters for print software; ignore it for web.
▶Can this tool resize GIFs while preserving animation?
Currently, resizing extracts the first frame only. For animated GIFs, use a specialized tool like ezgif.com or command-line gifsicle. Animated WebP is similar — browser Canvas API reads one frame.
Additional resources
- HTML Canvas API — MDN — Browser image manipulation API used by this tool.
- Responsive Images — MDN — How to use srcset and sizes for multi-resolution images.
- Image Optimization — Web.dev — Google's guide to image optimization for page performance.
- Social Media Image Size Guide — Current dimensions for every social platform.
- Image Optimization Blog — Tooleras — Our guide to image resizing best practices.
Related tools
All Image ToolsFavicon Generator
Generate favicons in all sizes — ICO, PNG, Apple Touch, Android Chrome
Image Compressor
Compress JPG, PNG, WebP images — reduce file size by up to 90%
Image Cropper
Crop any image with drag-to-select interface, aspect ratio presets (1:1, 16:9, 4:3), and precise pixel-level control.
Image Flipper
Flip images horizontally (mirror) or vertically with lossless quality, supporting all common image formats.
Image Grayscale Converter
Convert any image to grayscale or black and white with adjustable intensity and choice of conversion algorithm.
Image Rotator
Rotate images by 90, 180, or 270 degrees, or by any custom angle. Works with all common image formats and preserves quality.
Learn more
Explore more tools
200+ free tools that run in your browser.
Browse all tools →