Resize images

Change the width and height of one picture or a few hundred: exact pixels, a percentage, the longest side or a ready-made size. The work happens inside this browser tab.

Your files never leave your device

Resize by
px
px

Drop images to resize

JPG, PNG, WebP, AVIF, GIF or BMP, one or hundreds. They stay on your device.

You can also paste files with Ctrl+V.

In short

To resize an image, add it here, pick Pixels, Percentage, Longest side or Preset under Resize by, and press Resize images. With Keep proportions on, typing only the width sets the matching height for you. The new file is saved from your browser and never uploaded.

How to resize an image

  1. Press Choose images or drop JPG, PNG, WebP, AVIF, GIF or BMP files onto the page. A copied picture can be pasted with Ctrl+V (⌘V on a Mac).
  2. Under Resize by, choose Pixels and type a width or a height, or switch to Percentage, Longest side or Preset.
  3. If you entered both a width and a height in a shape that differs from the photo, pick Fit inside, Fit and fill the rest, Crop to fill or Stretch to exact size under When the shape differs.
  4. Optionally change Output format and Quality, or turn on Also limit the file size and enter a Maximum file size in KB.
  5. Press Resize images, then Download, or Download all as ZIP when you resized several files.

Why the resized pictures stay sharp

Shrinking a picture merges many source pixels into fewer ones, and the way they are merged decides whether the result looks crisp or mushy. This resizer uses Lanczos3 resampling, the high-quality filter that popular image-processing libraries pick by default, so hair, lettering and fabric texture survive the reduction.

The averaging also happens in linear light. Quick resizers often blend the stored, gamma-encoded values directly, which leaves thin bright lines and high-contrast edges darker than they should be.

Before anything is scaled, the rotation flag your phone wrote into the EXIF data is applied, so a portrait shot never comes out lying on its side. The finished file carries no EXIF, GPS or camera data, and its colors are stored in sRGB.

Frequently asked questions

How do I resize an image without losing quality?

Making a picture smaller with a good filter keeps it clean, and the default Quality of 90 leaves no visible compression in photos. For screenshots and logos, choose PNG as the Output format so edges stay pixel-exact. Enlarging can't invent detail, which is why Don't enlarge smaller images is on by default.

How do I resize a photo to an exact size like 1080 × 1080 without stretching it?

Turn off Keep proportions, enter both numbers, then choose Crop to fill (exact size) to trim the excess from the center, or Fit and fill the rest (exact size) to keep the whole photo and add bars in a Fill color. Stretch to exact size squeezes the picture, and the tool warns that faces will look distorted.

What is the difference between resizing in pixels and in KB?

Pixels are the dimensions you see, such as 1920 × 1080. Kilobytes measure storage, which depends on the pixel count, the format and the compression quality. Set the pixels first, then turn on Also limit the file size: it lowers the quality until the file fits while the dimensions stay as chosen.

Can I resize many images at once?

Yes. Add as many as you like; each keeps its own proportions, and the size fields follow the first picture. The bulk image resizer page covers settings for mixed folders.

Can I make a small image bigger?

Yes. Percentage accepts up to 400 % and Pixels up to 16,384 px per side, once Don't enlarge smaller images is switched off. Expect a softer result, because enlarging spreads existing detail over more pixels.

Are my photos uploaded to a server?

No. Each file is read into the memory of this tab, resized with WebAssembly code on your own processor and saved back to your disk. The page keeps working offline once it has loaded.

How do I resize an image to 300 DPI?

DPI only tells a printer how many pixels to place per inch, and this tool doesn't edit that field. What matters is the pixel count: multiply the print size in inches by 300, so a 4 × 6 inch print needs 1200 × 1800 pixels.

Four ways to set the new size

Pixels takes a Width, a Height or both; with Keep proportions locked, one field is enough. Percentage scales both sides by one factor, so 50 % turns a 4000 × 3000 photo into 2000 × 1500 with a quarter of the pixels. Longest side sets the larger dimension, so portrait and landscape shots fit the same box. Preset fills in a common size, and all except Full HD crop from the center:

  • Instagram square post (1080 × 1080) and Instagram portrait post (1080 × 1350)
  • Instagram or TikTok story (1080 × 1920)
  • Facebook link image (1200 × 630), X post image (1600 × 900), LinkedIn shared image (1200 × 627)
  • YouTube thumbnail (1280 × 720) and Profile picture (500 × 500)
  • Passport photo, 2 × 2 in, US (600 × 600) and Passport photo, 35 × 45 mm (413 × 531)
  • Full HD screen (1920 × 1080, fit inside)

When the target shape differs from your photo

A 4:3 camera photo can't become a square without giving something up. Fit inside, keep proportions keeps the whole scene, so one side may end up shorter than you typed. Fit and fill the rest (exact size) delivers the exact box and paints the empty strips in a Fill color, or uses Transparent fill (PNG and WebP). Crop to fill (exact size) covers the box and trims the overflow evenly from both sides.

Output format and file names

JPG suits photos, PNG suits graphics and transparency, and WebP is usually the smallest. Transparent areas saved as JPG turn white, and GIFs are resized from their first frame. Results are named with their new dimensions, such as photo-1080x1080.jpg. For strict KB limits, the image compressor can also lower dimensions; iPhone HEIC pictures go through HEIC to JPG first.

How your files stay private

Lumofile runs this tool with JavaScript and WebAssembly inside your browser tab. Your files are read from your disk, processed in memory and saved back to your device. Nothing is uploaded: open your browser's network panel while you use the tool and you will see no upload request.

Presets

Guides

Last updated Nov 12, 2026