Zero uploads · 100% in-browser No sign-up · No watermarks · Free forever

Resize an image to 512 × 512

Discord avatars, app icons, game profile pictures and Steam artwork all land on 512 square. It is a power of two, which is why so many platforms settled on it: every smaller version they need is an exact halving. Drop a photo in and it comes out at exactly 512 by 512, cropped to fit rather than squashed. Nothing is uploaded.

Runs in your browser Exactly 512×512, every time No stretching by default

Drop an image or click to upload

JPG, PNG or WEBP. Output is always 512 × 512.

Your resized image, 512 by 512 pixels
Dimensions512×512px
File size--
Measured

What 512 by 512 actually weighs in each format

We put the same 600 by 600 portrait through this tool at 512 by 512 and weighed all three outputs. JPG and WEBP at quality 90.

367.9 KBas PNG
35.3 KBas JPG at 90
19.7 KBas WEBP at 90
10xPNG vs JPG

PNG is lossless, which is why it is 10 times heavier than JPG here and 19 times heavier than WEBP. Use PNG only when you need transparency or perfectly crisp text and lines. For a photograph at 512 by 512, WEBP at quality 90 came out at 19.7 KB and is almost always the right answer.

The arithmetic

512 by 512 is 1:1, 0.26 megapixels

512 by 512 is 1:1. A typical 12 megapixel phone photo is 4032 by 3024, which is 4:3, so covering this frame scales it to 16.9% and discards 25.0% of the picture. That loss is unavoidable arithmetic, not a fault in the tool: the shapes simply differ.

The output is 0.26 megapixels, which prints at 1.7 by 1.7 inches at 300 DPI. Worth knowing if the file is headed for paper rather than a screen.

Stretch exists because a handful of systems genuinely want the frame filled regardless of shape. At 1:1 it will visibly squash a portrait, so reach for it only when something demands it.

Where this size is used

What asks for 512 by 512

Common places this exact dimension is specified.

UseWhy this sizeFormat worth using
Discord avatarsDiscord stores avatars square and serves powers of twoPNG for icons, WEBP for photos
App and game iconsApp stores require exact square mastersPNG for icons, WEBP for photos
Steam profile artSteam artwork slots are fixed squarePNG for icons, WEBP for photos

512 is the single most requested square size on the web, largely because Discord and most app stores converged on it.

Honest limits

What this tool will not do

It will not invent detail

If your original is smaller than 512 by 512, you still get a 512 by 512 file, but the extra pixels are interpolated. For this size you want a source of at least 512 pixels on the long edge; a 256 pixel original pushed up here is visibly soft around edges and text. The image upscaler is honest about the same limit.

It will not let you choose the framing

Crop to fill takes the centre, and at 1:1 that means 25.0% of a 4:3 phone photo is discarded from the edges. If your subject is off-centre, crop deliberately with the image crop tool first, then bring the result here.

It will not hit a target file size

This tool fixes the dimensions, not the bytes. At 512 by 512 our test came out at 367.9 KB as PNG and 35.3 KB as JPG. To land under a specific limit, send the result through the image compressor.

FAQ

Frequently asked questions

How do I resize an image to 512 by 512?

Drop your photo into the box above. The tool is fixed to 512 by 512, so the output is always exactly that, and it downloads as soon as you click. Nothing is uploaded to a server, the resize happens in your browser.

Will resizing to 512 by 512 distort my photo?

Not with the default setting. Crop to fill scales your photo until it covers the 512 by 512 frame and trims whatever hangs over the edge, so proportions are preserved. Only the Stretch option distorts, and it is there because a few systems genuinely want the whole image squeezed in regardless.

What file size should I expect at 512 by 512?

It depends entirely on format. Our 600 by 600 test portrait came out at 367.9 KB as PNG, 35.3 KB as JPG at quality 90, and 19.7 KB as WEBP at quality 90. Detailed photographs will be heavier than flat graphics at the same dimensions.

Which format should I choose for 512 by 512?

WEBP if the destination takes it: at 512 by 512 it measured 19.7 KB against 35.3 KB for JPG at the same quality. PNG only for transparency or crisp lettering, since it came in at 367.9 KB.

What if my image is smaller than the target?

It will produce 512 by 512 regardless, but the result carries only as much real detail as the source did. A small original stretched to this size looks exactly like a small original.

Is my image uploaded to a server?

No. Nothing is transmitted. The resize to 512 by 512 happens on your device, which you can prove by disconnecting from the internet and using the tool anyway.

Exact sizes

Resize to a specific pixel size

Already know the numbers you need? These pages open the resizer with the width and height filled in, and crop to the right shape first so nothing stretches.

Related guides

Background reading