Image Resizer

Global tools

Every upload form has a size limit, every profile picture wants a square and every product grid wants the same shape - so a folder of pictures has to become a folder of specific pixel sizes. Doing that on a website normally means sending the pictures somewhere, which is a strange trade for something a browser can do on its own.

Drag & drop files here, or .

Everything is processed in your browser - nothing is uploaded.

    Up to 20 pictures, 25 MB each. They are decoded and resampled in this browser tab and never uploaded.

    What happens when the picture does not match the box: fit keeps all of it and leaves empty space, fill crops the overflow, stretch distorts it.

    A preset sets the height from the width, which is how a square or a story crop is asked for.

    Measured in output pixels, not the file size on disk. 1280 is a common width for a picture that goes on a web page.

    Ignored when a shape preset is chosen, because the preset decides the height.

    Only used by "fill the box", which crops the edges that do not fit.

    Only used by the percentage mode. 200% enlarges, which cannot add detail that was never photographed.

    Applied before the resize, so the box describes the picture you end up with.

    Applied after the rotation and before the resize. Text and logos in the picture will read backwards.

    Applied after the rotation and before the resize. It is not the same as turning the page 180 degrees, which also swaps left and right.

    PNG keeps transparency but is much larger; JPEG has no alpha, so see-through pixels become white.

    Only used by the lossy formats.

    Leave blank to name each file after the picture it came from.

    Only used for the plan below, before pictures are chosen. The real job uses the files themselves.

    Results update as you type. Nothing leaves your device.

    Plan for 2 pictures

    1280 × 720 px box

    Fitted inside the box in this browser tab, downloaded as its own file.

    Pictures per job
    up to 20
    Shape
    as typed
    Turn
    none
    Output
    each picture in its own format

    What happens when you add pictures

    1. Each picture is read from your device and decoded by the browser you already have open - nothing is uploaded.
    2. Any Exif orientation flag is turned into real pixels first, so a portrait photo from a phone stays portrait everywhere.
    3. The picture is scaled to sit inside the 1280 x 720 box with its shape intact, so one side may end up shorter than the box.
    4. Pixels are resampled with area averaging when shrinking and bilinear interpolation when enlarging.
    The plan above is what the settings say; the numbers come from your pictures once you add them. The first download would be named photo-resized.jpg

    This page does the arithmetic in the tab you already have open. Type the box, pick what should happen when the picture and the box disagree, see the result next to the original, then download each picture - or all of them, one file at a time. Nothing is uploaded, there is no account, and the pixel sizes reported are the ones that were actually written.

    About this image resizer

    Fitting a folder of pictures into one shape is the ordinary chore behind every upload form, profile picture and product grid, and it is strange to send those pictures to a server for something a browser can do alone. This page resizes, crops, rotates and mirrors in the tab you have open, and reports the pixel size that was actually written.

    The four fit modes follow the language people already use, fit inside, fill the box, stretch and percentage, with the output shape fixed from a preset such as square or 16:9, and shrinking uses area averaging so a downscale is not jagged. No account is needed and no value is stored; the pixels never leave your machine.

    This page is about dimensions, not about making a file smaller: converting a JPEG to PNG or enlarging can grow the bytes, and the results table shows the real numbers instead of promising a saving. It cannot add detail a camera never recorded, and it will not distort a picture unless you ask it to.

    How this image resizer works

    Four ways to make a picture fit a box

    "Fit inside the box" scales the picture down until both sides are inside, so nothing is lost but one side may be shorter than the box - this is what a blog image wants. "Fill the box" scales until the picture covers the box and then crops the parts that stick out, so the output is exactly the box and nothing is distorted - this is what an avatar or a product thumbnail wants. "Stretch to the box" hits the box exactly by changing the shape of the picture, which is right for a banner and wrong for a face. "Percentage" ignores the box and scales by a number, which is what "make everything half size" literally means.

    The output is never distorted unless you ask for it: a 1600 x 1200 photo fitted into an 800 x 800 box becomes 800 x 600, not a squashed 800 x 800. The plan on the page says which size you will get before you run anything, and the result table reports the size that was written.

    A shape preset - square, 4:3, 16:9, 4:5, 9:16 and the rest - fixes the height from the width, which is how cropping to a social media shape actually gets asked for. 1080 px wide with a 1:1 shape is a 1080 x 1080 square, and the plan prints that.

    Where the pixels go

    Shrinking averages: every output pixel is the weighted average of the block of source pixels it covers, so a 1600-pixel photo cut to 800 keeps the information from all 1600 columns instead of throwing every second one away. Throwing them away is what makes naively resized pictures look jagged. Enlarging interpolates between the pixels that are there, and the page says plainly that this cannot create detail the camera never recorded.

    Rotation and mirroring happen before the resize, and the Exif orientation flag that phones write is turned into real pixels first. That matters: a portrait photo from a phone is often stored landscape with a "turn this" note attached, and resizing before applying that note produces a sideways file that other programs then turn back, usually the wrong way.

    Cropping is a rectangle taken out of the source, positioned by the anchor you choose - center, an edge or a corner. Cropping throws pixels away for good, which is why the page says so rather than presenting it as a pure win.

    What changes beyond the pixels

    Resampling rewrites every pixel, so the file is re-encoded and everything that was not pixels is dropped: GPS coordinates, camera details, timestamps, the color profile. Rotation is baked in, so the picture is upright everywhere. If the output format is JPEG, see-through pixels get a white background, because JPEG has no alpha channel at all.

    The file size can go up even when the picture gets smaller - converting a JPEG to PNG, or enlarging, both do that - and the results table shows the real numbers instead of promising a saving. When the aim is a smaller file rather than a specific pixel size, the image compressor is the right page; this one is about dimensions.

    The limits, and when the page says no

    A job takes up to twenty pictures, each up to the file size on the upload box, with no more than 40 megapixels or 20000 pixels a side in the output. Those are practical ceilings - the working pixels sit in memory - and a picture that breaks one is named with the number it exceeded rather than quietly skipped.

    The same honesty runs the other way: nothing is upscaled, because interpolation cannot create detail the camera never recorded. A resizer can only move the pixels that exist.

    Worked examples

    Each example below was run through the calculator on this page when the site was built, so the numbers match what you see when you enter the same inputs.

    A blog photo inside a 1280 px box

    How to fit the box: Fit inside the box (keep the shape, may not fill it) · Shape: Free - use the numbers as typed · Box width: 1,280 pixels · Box height: 720 pixels · Preview: pictures in the plan: 1 pictures

    Plan for 1 picture

    1280 × 720 px box

    Fitted inside the box in this browser tab, downloaded as its own file.

    Pictures per job: up to 20 · Shape: as typed · Turn: none · Output: each picture in its own format

    A 1600 x 1200 photo fitted into 1280 x 720 keeps its shape and comes out 960 x 720 - the shorter side of the box is what limits it, and nothing is cropped.

    A square profile picture

    How to fit the box: Fill the box (keep the shape, crop what sticks out) · Shape: Square (1:1) · Box width: 512 pixels · Box height: 512 pixels · Which part to keep when cropping: Center · Preview: pictures in the plan: 1 pictures

    Plan for 1 picture

    512 × 512 px box

    Filled the box and cropped in this browser tab, downloaded as its own file.

    Pictures per job: up to 20 · Shape: Square (1:1) · Turn: none · Output: each picture in its own format

    Filling a 512 x 512 square from a 1600 x 1200 photo keeps a 1200 x 1200 window from the center and throws away 400 px of width, so the face is not squashed.

    Everything at half size

    How to fit the box: Percentage of the original size · Percentage: 50 % · Preview: pictures in the plan: 4 pictures

    Plan for 4 pictures

    50% of the original

    Scaled by percentage in this browser tab, downloaded as its own file.

    Pictures per job: up to 20 · Shape: as typed · Turn: none · Output: each picture in its own format

    Percentage mode scales each side, so a 4000 x 3000 photo becomes 2000 x 1500 and a 800 x 600 screenshot becomes 400 x 300 in the same job.

    A banner stretched to an exact box

    How to fit the box: Stretch to the box exactly (can distort) · Shape: Free - use the numbers as typed · Box width: 1,920 pixels · Box height: 480 pixels · Preview: pictures in the plan: 1 pictures

    Plan for 1 picture

    1920 × 480 px box

    Stretched to the box in this browser tab, downloaded as its own file.

    Pictures per job: up to 20 · Shape: as typed · Turn: none · Output: each picture in its own format

    Stretching hits the box exactly by changing the shape of the picture - right for a decorative banner where the ratio is a layout decision, wrong for anything with a face. The plan prints 1920 x 480 before a file is chosen.

    Frequently asked questions

    Are my pictures uploaded?

    No. Each picture is read through the browser file API, resampled by the browser itself and offered as a download created locally. Open the network panel while the job runs, or disconnect from the internet and resize anyway - both work, because there is no upload endpoint behind this page.

    What is the difference between "fit" and "fill"?

    Fitting scales the picture until it is inside the box, keeping its shape, so one side can end up shorter than the box - nothing is cropped. Filling scales it until it covers the box and then crops the parts that stick out, so the output is exactly the box size and still undistorted. For a profile picture or a product grid you want fill; for a blog image you usually want fit.

    Why is my resized picture bigger than the original?

    Three normal reasons: the picture was enlarged (resampling invents pixels, and a bigger picture is a bigger file), the output format changed to a lossless one like PNG, or the source was a heavily compressed JPEG that the re-encode could not beat. The results table shows both file sizes, and a resizer is about dimensions rather than about winning a size contest - the image compressor is the page for that.

    Does cropping throw away quality?

    Cropping removes pixels that are simply not in the output any more - that is the point of it - and then the file is re-encoded, which costs a little quality even at high settings. Keep the original if you may want the full frame back. The alternative, letterboxing, keeps every pixel but makes the picture the wrong shape for where it is going.

    Can I resize a HEIC photo from an iPhone here?

    Only if your browser can decode HEIC, which Safari can and Chrome and Firefox generally cannot. When the format cannot be read the page says so by name instead of failing silently, and the message explains how to convert it once on the device that made it. JPEG, PNG and WebP work everywhere; AVIF, GIF and BMP work where the browser knows them.

    Will the rotation stick?

    Yes. The turn is applied to the pixels, not written as a "rotate this when showing it" note, so every program that opens the file sees the picture the way you do. The same is true of the Exif orientation flag your phone wrote: it is turned into real pixels, which is why a photo that looks sideways in one app does not come out sideways here.

    How many pictures can I resize at once?

    Up to 20 in one job, each with its own download button and its own row in the results table. Every picture gets the same settings, which is exactly what naming a box size means, and they are processed one after another in the same tab.

    Does resizing remove the location data in my photos?

    It does, because the picture is rebuilt from its pixels and nothing else is carried across. That is usually desirable before a picture goes online, but it is worth knowing before you replace an original you may want later - so keep a copy of the file you started with.

    Assumptions and sources

    • Pictures are scaled to the width, height or percentage you set, and the aspect ratio is kept unless you release it.
    • The crop window comes from the anchor you pick rather than a draggable box, and a tilted scan is not straightened; up to 20 pictures per job, 25 MB each and 80 MB in total.
    • Your pictures stay on your device; every download is created in the browser tab.

    Last reviewed 2026-09-14. Runs locally on your device; keep backups; no financial advice applies. Read the full disclaimer.

    Where a figure on this page comes from an official agency — HUD, IRS, FICO or a state body — the site keeps a dated snapshot of the source page in its sources library, and a scheduled job re-checks that snapshot, so the number can be traced back to the document it came from.