100% local processing — your files and data never leave this browser. No uploads, no server storage.

OnboxTools

Free · Browser-only · No upload

Image Resizer

Change dimensions and export format in your browser

Need a profile photo at 400×400 or a banner at exactly 1920×1080? Set width and height, lock aspect ratio when you want proportional scaling, and export as PNG or JPEG.

Original dimensions appear automatically when you upload. Everything runs locally — your files never leave the device.

Resize settings

Current Size
Aspect Ratio
Input Photo

Drag & Drop Image or Click to Import

Resized Preview

No Resized Output

More Image Tools

🖼️
Base64 to Image
🎨
Color Format
🎨
Color Picker
🖼️
Data URI to Image
🖼️
Image Compressor
🖼️
Image Resizer
🧬
Image to Base64
🔗
Image to Data URI
🖼️
JPEG to WebP
🖼️
JPG to PNG
🔄
PNG to GIF
🔄
PNG to JPG
PNG Transparency Creator
🖼️
SVG to PNG
🔄
WebP to PNG

Browse by category

Resize walkthrough

Upload a 3024×4032 portrait photo. Lock aspect ratio, set width to 800, and height updates to 1067. Export as JPEG for a blog inline image under 150 KB after compression.

For a square LinkedIn profile photo, unlock aspect ratio only if you crop elsewhere first — otherwise use a dedicated crop tool or set equal width and height knowing the image may distort.

Common web image dimensions

FromToResult
Open Graphpx1200 × 630
Twitter/X cardpx1600 × 900
Email bodypx600 wide max
Faviconpx32 × 32
Retina 2×rule2 × CSS size

Complete guide to resizing images

Why resize images

Displaying a multi-megapixel photo in a 300-pixel slot forces the browser to decode far more data than necessary. That wastes memory, slows rendering, and hurts Core Web Vitals on mobile. Resizing matches the pixel grid to the actual rendered size so each displayed pixel maps cleanly to source data.

Social platforms, ad specs, and CMS templates often require exact dimensions. A resizer lets you meet those requirements without opening desktop software. Consistent dimensions also simplify CSS layout — images behave predictably in grids and cards.

Photographers delivering web galleries benefit from exporting display-sized derivatives while keeping full-resolution masters archived separately. The web never needs every pixel the sensor captured.

Blog templates with fixed content widths — often 680 or 800 pixels — should receive images matched to those columns rather than full camera resolution scaled only by CSS.

Mobile-first design often means the largest rendered size is smaller than desktop — size for the breakpoint that shows the biggest version of the image.

Width, height, and aspect ratio

When aspect ratio lock is enabled, changing width automatically recalculates height to preserve proportions. This prevents stretched or squashed results. Disable the lock only when you intentionally need a different aspect ratio — for example, cropping a landscape photo into a square avatar.

The tool reads original dimensions on upload and pre-fills the fields. You can scale down for web use or scale up for print previews, though upscaling cannot invent detail that was not in the source.

Common ratios — 16:9 for video thumbnails, 1:1 for avatars, 4:5 for Instagram portrait — emerge naturally when you lock aspect ratio and adjust one dimension.

When preparing assets for mixed-orientation grids, resize to a consistent width and let height vary — the layout handles vertical images without forced cropping.

Choosing an output format

PNG preserves sharp edges and supports transparency — ideal for logos, icons, and UI captures. JPEG produces smaller files for photographs and scenes with continuous tone. Pick the format that matches how the image will be used after export.

If you resize a PNG with transparency to JPEG, transparent areas become opaque. For graphics that need alpha channels, keep PNG output or convert deliberately with a background color.

WebP is another option downstream via the JPEG to WebP converter if you need modern compression after resizing photographic content.

Screenshots with text stay sharper in PNG; resize them at exact pixel dimensions when capturing at 1× scale to avoid subpixel blur.

Downscaling vs upscaling

Downscaling — making an image smaller — is safe and usually improves perceived sharpness because the browser averages neighboring pixels. Upscaling interpolates new pixels and can look soft or pixelated if pushed too far.

For retina displays, some designers export at 2× the CSS size. A 400 CSS pixel slot might use an 800-pixel-wide asset. Calculate that target from your layout, not from the camera's native resolution.

Print workflows sometimes upscale for proofing, but final print prep should use vector sources or native DPI settings in professional layout software.

Avoid upscaling beyond 150% of the original unless the source is exceptionally clean — noise amplifies visibly when interpolated.

Canvas-based resizing in the browser

The resizer draws your image onto a canvas at the target dimensions. Browsers use high-quality interpolation by default, which is adequate for most web workflows. Because processing is local, you can resize confidential screenshots or client assets without uploading them.

After resizing, download the result and compare it against the preview. If edges look blurry on a logo, try PNG output or resize from a vector source instead.

No queue or rate limit applies — resize as many trial dimensions as you need before committing to production assets.

Because files never upload, resizing proprietary UI mockups or pre-release screenshots is safe for teams with strict data-handling policies.

Common sizing scenarios

Open Graph images often use 1200×630. Favicons and app icons need square outputs at 32, 64, or 512 pixels. Email signatures frequently cap width at 600 pixels. Document your project's targets once and reuse them.

Pair resizing with compression for photographs: first match dimensions to the layout, then reduce JPEG quality. The order matters — compressing a huge original and then resizing wastes effort on pixels you will discard.

Marketplace listings sometimes mandate minimum pixel counts — check seller guidelines before exporting small thumbnails that may be rejected.

Document a sizing cheat sheet for your team — hero, card, thumbnail, OG — so every export uses the same numbers across campaigns.

After resizing a batch, spot-check random samples in the target CMS preview — theme CSS occasionally scales images differently than expected.

Detailed guide

Keeping logos sharp

Prefer PNG output for flat graphics and text. Resize from the largest available source — ideally SVG — rather than repeatedly downscaling a already-small PNG, which compounds quality loss.

Responsive images without a server

Export several widths — for example 400, 800, and 1200 — and reference them with srcset in HTML. The browser picks the appropriate file per viewport.

Common questions

Image resizer FAQ

Is the image resizer private?

Yes. Everything runs in your browser. Your input is not uploaded, logged, or stored on our servers.

Do I need an account?

No account or sign-up is required. Open the page and start using the tool immediately.

Does resizing affect file size?

Yes. Fewer pixels generally mean a smaller file, especially with JPEG output. Exact size depends on format and content.

Can I resize without changing aspect ratio?

Yes. Enable the aspect ratio lock so changing width automatically updates height proportionally.

Will upscaling improve quality?

No. Upscaling cannot add real detail. It interpolates existing pixels and may look soft if enlarged too much.

What is the maximum size I can resize to?

Limits depend on your browser and device memory. Extremely large canvases may fail on low-memory devices.