// Runs in your browser

Resize Image to 300x300

This page puts a picture into an exact pixel box — 300 by 300 to begin with, and two sliders if you want a different size. What happens to the part of the picture that does not fit is a choice, not a side effect: the frame can be filled by cutting the overflow off, the whole picture can be kept and the empty space filled with the color you pick, or the picture can be stretched to the box and distorted. The work happens in your browser, so the file you download is produced on your own device.

Add an image

Drop an image here

or click to choose · paste with Ctrl+V · up to 20 MB

Press Ctrl+V (⌘ on a Mac) with an image on the clipboard

Preview

Your result shows up here.

Result—

Settings

Width300px
Height300px
How to fit
Background#ffffff
Format

Export

What comes out of this page, and in which format. Nothing is uploaded — the file is written on your own device.

How to resize an image to 300x300 in 3 steps

  1. 01

    Add the picture

    Drop a JPG, PNG, WebP or AVIF file onto the page, up to 20 MB, choose it from your device, or paste it. The picture is decoded where it already sits and nothing is uploaded.

  2. 02

    Set the size and the way it fits

    The width and the height start at 300. Turn on the switch that keeps the picture’s proportions and the other slider follows the shape of the picture instead of squashing it. Then choose how the rest is handled: fill the frame cuts the overflow off, fit inside keeps the whole picture and pads it with the background color, and stretch distorts the picture to the exact box.

  3. 03

    Pick a format and take the file away

    The result is written as PNG by default, with JPG and WebP a click away. Press Download and the resized picture is written to your device at exactly the size you set.

An exact pixel box, and an honest account of what gets cut

Most resizers hand you a percentage or a lock and leave you to guess what comes out. This page states the size first and then says exactly what each fit mode does to the part that does not fit. Fill the frame covers the whole box and cuts the overflow off from the middle, which is what you want when a form asks for a specific pixel size and the picture is there as a thumbnail. Fit inside keeps every pixel of the original and leaves empty bars filled with the background color you choose, which is what you want when the whole picture has to survive. Stretch gives you the exact box and changes the shape of the picture to match it, so faces come out wider or taller than they were. The proportions switch removes that third possibility: with it on, the width and the height always follow the picture’s own shape. When the size you need is one of several places a picture has to fit, the Resize Image for Instagram page does that instead. This page is the single-picture version: it resizes one picture to three hundred pixels square. When a whole product list needs the same shape, the Batch Resize Image to 300x300 resizes every one of them and hands back a single archive.

Frequently asked questions

Will the file that comes out really be 300 × 300 pixels?

Yes. The width and the height you set are the width and the height of the file, not of a preview: the picture is drawn onto a canvas of exactly that size and encoded from there. The panel shows the same two numbers after the work is done, and the download is produced from those bytes, so what you open is the size the form asked for.

What is the difference between fill the frame, fit inside and stretch?

Fill the frame scales the picture until it covers the box and cuts off whatever hangs over the edge. Fit inside scales it until the whole picture fits and leaves the remaining space filled with the background color. Stretch pushes the picture to the exact box without keeping its shape, so a face comes out narrower or wider. The first two keep the proportions of the picture; the third does not.

What does the switch that keeps the proportions do?

It ties the two sliders to each other through the shape of the picture you loaded. Move the width and the height follows at the same ratio, and move the height and the width follows, so the picture is never quietly squashed into a shape it was not taken in. Turn it off and the width and the height are free, which is what the stretch mode needs.

Which background color should I pick?

The background color you pick in the panel. It is only visible where the picture does not reach, which happens in fit inside mode and never in fill the frame mode. The default is white, and because the output is written as PNG by default, that color stays exact rather than being flattened by the compression of a JPG.

Can I make a picture larger than it is?

You can, and the sliders go up to 4096 pixels on each side, but nothing is added to the picture. A small photograph blown up to 300 by 300 comes out soft, because the extra pixels are guesses made by the browser rather than detail that was ever there. If the picture is already bigger than the box, resizing it down keeps what the picture actually has.

The file never leaves your device

Everything this page does happens in the browser tab you are reading this in. The file is decoded there, the canvas is drawn there and the result is encoded there; once the page has loaded no request is made, and there is nothing on a server to delete afterwards. JPG, PNG, WebP and AVIF files of up to 20 MB are accepted, and the download you take away is written from the bytes produced on your own machine.