FREE IMAGE TOOL

Image Resizer — resize photos by pixels or percentage

Resize any image to exact dimensions, a percentage, or a maximum size — entirely in your browser, with your file never uploaded anywhere.

Your image never leaves this browser tab. Nothing is uploaded.
Drag & drop an image here, or click to browse
Preview
Upload an image to begin
 
–
Original size (px)
–
New size (px)
–
Original file size
–
New file size
Tip: Resizing to the exact display width your page uses (not just "smaller") gives the biggest speed win with zero visible quality loss.

The image resizer on this page lets you change the pixel dimensions of any photo, screenshot, or graphic directly inside your browser — no software to install, no account to create, and no file ever transmitted to a server. You pick exact width and height, a percentage of the original, or a maximum bounding box, and the tool does the rest using the same canvas engine your browser already relies on to draw every image on every page you visit.

At Arb Digital we build and optimize websites for clients every week, and oversized images are consistently one of the top three reasons a site loads slowly. We built this resizer as a genuinely useful, no-strings-attached tool so anyone — not just people who hire us — can fix that problem in about ten seconds.

What This Image Resizer Does

Upload a JPG, PNG, WebP, GIF, or BMP file and the tool reads its native pixel dimensions immediately. From there you choose one of three resize modes. Exact width and height lets you type the precise pixel dimensions you need — useful when a platform, template, or CMS specifies an exact size. Percentage scales both dimensions by the same factor, which is the fastest way to shrink a photo for email or messaging without doing any mental math. Fit within max dimensions caps the longest side at a number you choose while the other side follows proportionally — ideal for making sure nothing you upload is ever larger than, say, 1920 pixels wide, regardless of the original photo's shape.

Once resized, the image is drawn to an off-screen canvas at the new dimensions and re-encoded in the format you select: the original format, JPG, PNG, or WebP, with a quality slider for the lossy formats. You then preview it right on the page and download the finished file with one click.

How to Use the Image Resizer

  1. Upload your image. Click the file field or drag a photo directly onto the drop zone.
  2. Pick a resize mode. Choose exact dimensions, a percentage, or a maximum size.
  3. Enter your numbers. With aspect ratio locked, changing width automatically updates height (and vice versa) so nothing looks stretched.
  4. Choose an output format. Keep the original, or switch to JPG, PNG, or WebP — each has different strengths, covered below.
  5. Click Resize Image, review the live preview and the before/after stats, then click Download.

How the Resizing Math Works

Locking the aspect ratio means the tool keeps width ÷ height constant. If your original photo is 4000×3000 pixels, its ratio is 4:3 (1.333). Type a new width of 800 and the tool multiplies 800 by (3000 ÷ 4000) to get a new height of 600 — the shape of the photo is preserved exactly, just at a smaller scale. Percentage mode simply multiplies both the width and the height by the percentage you enter divided by 100.

Fit-within mode compares your image's width and height against the max value you set, calculates the scale factor needed on whichever side would otherwise overflow, and applies that single factor to both dimensions. For a deeper technical background on image scaling and interpolation, the MDN Canvas API documentation is an excellent primary source.

Why Resizing Before Upload Speeds Up Your Website

A smartphone camera routinely produces photos at 4000×3000 pixels or larger — often 5 to 15 megabytes each. If that file is uploaded straight into a blog post or product page and simply displayed at 800 pixels wide with CSS, the browser still has to download the entire multi-megabyte original before shrinking it visually. Every visitor pays that download cost, on every visit, on every device, including mobile connections where data and time are both precious. Resizing the file itself — not just how it's displayed — to the actual pixel size it will appear at cuts the transferred bytes substantially, with no visible difference at that display size. A 4000×3000 photo has 12,000,000 pixels; the same photo at 800×600 has 480,000, which is 4% of the pixels. File size does not fall in exact proportion, but it falls a long way.

This matters for more than aesthetics. Google's Core Web Vitals, specifically Largest Contentful Paint (LCP), directly measure how long the biggest visible element — frequently a hero image — takes to render. A hero image that is far larger than it needs to be takes longer to download, which delays LCP. Google explains how the metric is measured on web.dev; slow server response and render delays also count, so resizing is one fix among several.

Choosing the Right Output Format

JPG (JPEG) is a lossy format that compresses photographic images extremely well and is universally supported — it's the right default for photographs with lots of color gradients. PNG is lossless and supports transparency, which makes it the correct choice for logos, icons, screenshots with sharp text, or any graphic that needs a see-through background — but PNG files are usually much larger than JPGs for the same photo.

WebP, developed by Google, produces lossy files 25-34% smaller than comparable JPEGs and lossless files 26% smaller than PNGs (Google's WebP documentation) while supporting both lossy and lossless compression plus transparency, and is now supported by every major browser. If you're not sure, WebP is the safest modern default; keep the original format only if you have a specific compatibility reason to.

Why Client-Side Processing Matters

Every step of this resizer — reading the file, drawing it to canvas, scaling it, and encoding the output — happens using JavaScript running locally in your browser tab. The image is never sent over the network, never touches a server, and is never stored anywhere. This is not a marketing claim you have to take on faith: you can disconnect your Wi-Fi after the page loads and the tool will keep working perfectly, because it never needed the internet to process your file in the first place. For anyone resizing personal photos, client work under NDA, medical images, or anything else sensitive, that privacy guarantee is not a nice-to-have — it's the entire point.

Resizing for Specific Platforms

Different destinations expect different dimensions, and matching them exactly avoids ugly automatic cropping or blurry re-scaling done by the platform itself. Sizes change as platforms redesign, so read the destination's current specification first; common starting points are about 1200×628 for a link-preview or featured image, 600 pixels wide for email content, and 1584×396 for a LinkedIn profile banner. Rather than guessing, upload the source image once, switch to exact width & height mode, type the platform's documented dimensions, and let the image resizer produce a file that matches precisely — no server-side cropping surprises after you hit publish.

This is also where the fit within max dimensions mode earns its keep for photographers and content teams who batch-process many images of different original shapes. Instead of typing new numbers for every single photo, you set one ceiling — say 1600 pixels on the long edge — and every image, whether it started out landscape, portrait, or square, comes out capped at that size while keeping its own natural proportions intact.

Interpolation and Why Resized Photos Still Look Sharp

When a canvas draws an image at a new size, the browser doesn't just delete or duplicate pixels randomly — it uses an interpolation algorithm (typically bilinear or bicubic) to calculate a sensible average color for each new pixel based on the pixels around it in the original.

This is why shrinking a photo from 4000 pixels wide down to 800 pixels wide still looks crisp: the browser blends several original pixels into each new one, rather than just picking one and throwing the rest away. The exact method depends on the browser. Enlarging works in reverse and is fundamentally more limited, because the algorithm has to invent detail that was never captured in the first place — which is the real, technical reason upscaling always looks softer than the original.

File Size vs. Pixel Dimensions: They're Not the Same Thing

It's easy to conflate "smaller file" with "smaller image," but they are controlled by different levers. Pixel dimensions (the width and height you set here) are the single biggest factor in file weight — halving both dimensions cuts the pixel count to a quarter, which usually cuts file size by a similar or greater margin.

Compression quality is the second lever: for the same pixel dimensions, a lower JPG or WebP quality setting produces a smaller file at the cost of some visible detail in shadows, gradients, and fine textures. The most efficient workflow is almost always to resize first — get the pixel dimensions right for where the image will actually be displayed — and only then adjust quality if the file still needs to shrink further. Doing it in the opposite order wastes compression effort on pixels that were going to be discarded anyway.

Worked Example: One Photo, Three Modes

Start with a 4000×3000 photo (12,000,000 pixels, ratio 4:3). The tool needs an uploaded image, so these figures are worked by hand from the code's rules:

  • Exact, width 800, ratio locked: height = 800 × 3000 ÷ 4000 = 600. Result 800×600, 480,000 pixels.
  • Percentage, 25%: 4000 × 0.25 = 1000 and 3000 × 0.25 = 750. Result 1000×750.
  • Fit within 1600: the longer side (4000) is scaled to 1600, a factor of 0.4, so the height becomes 1200. Result 1600×1200. A 1000×800 image with the same limit would stay unchanged, because this mode never enlarges.

The tool then reports the original and new dimensions and file sizes, and the percentage saved when the new file is smaller.

What the Tool Does Not Preserve

  • Transparency in JPG output. JPG has no transparent pixels, so a transparent PNG exported as JPG gets a solid background (black in most browsers). Keep PNG or choose WebP for logos with see-through areas.
  • Animation. A GIF is redrawn as a single still frame, and because GIF and BMP are not output options, "Keep original format" saves them as JPG.
  • Metadata. Re-drawing through a canvas drops embedded data such as camera details and GPS location. That is usually good for privacy, but it also removes copyright fields.
  • Quality control. The quality slider appears only when you choose JPG or WebP yourself. With "Keep original format" on a JPG, the tool re-encodes at 0.85.

How to Read the Result and What to Do Next

Check three numbers after resizing: the new dimensions, the new file size, and the "% smaller" line. If the file is still heavy, choose WebP or lower the quality to 0.7 to 0.8 and compare the preview at the size you will display it. If the preview looks soft, you probably enlarged a small original. Go back to the source file instead. Once the image is the right size, upload it, set explicit width and height attributes on the image tag, and confirm in your page-speed report that the image is no longer flagged as oversized.

Common Mistakes to Avoid

  • Upscaling a small image to make it "bigger." Enlarging beyond the original resolution only stretches existing pixels and looks blurry — it cannot invent new detail.
  • Ignoring aspect ratio. Unlocking the ratio and typing arbitrary width/height values will visibly stretch or squash the photo.
  • Resizing to a fixed number of "kilobytes" instead of pixels. Pixel dimensions control file weight far more than any other single factor — always right-size the dimensions first, then adjust quality if needed.
  • Choosing PNG for ordinary photos. PNG's lossless compression makes photographic images needlessly large; save PNG for graphics that truly need it.
  • Forgetting to resize before, not after, uploading to a CMS. Many platforms display a shrunk thumbnail but still store and re-serve the full original file.
Need a genuinely fast website, not just faster images?

Arb Digital designs and builds high-performance websites where every image, script, and asset is optimized from day one. If page speed is costing you visitors or rankings, let's talk.

See Web Design Services All Free Tools

Related Free Tools From Arb Digital

Pair this resizer with the Image Compressor to shrink file size further after resizing, the Image Cropper to trim unwanted edges before you resize, and the PNG to JPG Converter if you need a smaller, transparency-free format for photos. Explore the full free online tools hub for dozens of other calculators and utilities.

Related tool: Favicon Generator.

Frequently Asked Questions

Does resizing an image reduce its quality?

Shrinking an image (downscaling) does not meaningfully reduce visual quality when viewed at its new, smaller size. Enlarging an image beyond its original resolution does reduce sharpness because no new detail can be created.

Is my image uploaded to a server when I use this tool?

No. The resizing happens entirely inside your browser using the Canvas API. Your file is never uploaded, transmitted, or stored anywhere.

What image formats can I upload?

Any format your browser can display, including JPG, PNG, WebP, GIF, and BMP. You can also choose to convert the output to a different format than what you uploaded.

What's the difference between percentage and exact dimension resizing?

Percentage mode scales both dimensions by the same factor based on the original size, which is quick and always proportional. Exact dimension mode lets you type the precise final width and height you need, useful for specific platform requirements.

Why does my resized JPG still look slightly different from the original?

JPG uses lossy compression, so every time a JPG is re-encoded it discards a small amount of data. Choose PNG as the output format if you want no further loss; the file will usually be larger. This tool's WebP option is lossy and follows the quality slider.

What happens to transparency and animated GIFs?

Exporting as JPG fills transparent areas with a solid colour, so use PNG or WebP to keep transparency. Animated GIFs are redrawn as a single still frame, and Keep original format saves GIF and BMP files as JPG.

Can I resize multiple images at once?

This tool processes one image at a time to keep the preview and controls simple and precise. Repeat the steps for each additional image.

This tool runs entirely in your browser using built-in JavaScript. Your images are never uploaded, stored, or sent to any server.

Turn this result into a plan

Need something more advanced? Try the free AI Website Audit and Keyword Research tools.