Resize Image to 512 × 512 Pixels

Make a 512 × 512 pixel square, as PNG to keep a transparent background.

Drop a Photo Here

Or paste an image · JPG/JPEG, PNG, WebP, HEIC, SVG, TIF/TIFF, AVIF, GIF, ICO, BMP

512 × 512 Pixels at a Glance

Dimensions512 × 512 px
Aspect Ratio1:1
ShapeSquare
Megapixels0.26 MP
Print Size at 300 DPI4.33 × 4.33 cm (1.71 × 1.71 inch)

The tool above opens on these dimensions. Change the width, height or unit if your form asks for something slightly different.

What 512 × 512 Pixels Is Used For

Getting a Sharp Result

Choose PNG under Format to keep transparency. To remove a background first, use the Background remover. For favicon files in every size, use the Favicon generator.

How It Works

  1. Choose or drop a photo.
  2. Type the width and height in px, inches, cm or mm, and choose Fill, Fit or Stretch. To use only part of the photo, choose Crop Photo first.
  3. Pick a file size such as 100 KB or type your own limit, then download.

Frequently Asked Questions

What aspect ratio is 512 × 512?

1:1, a square.

Can I keep a transparent background?

Yes. Pick PNG (or WebP) under Format; JPG has no transparency.

What DPI should I use?

300 DPI is the usual print resolution and is what most photo requirements mean when they give a size in centimetres or inches. The DPI value is also saved inside JPG and PNG files.

Does it work on phones?

Yes. It works in modern mobile browsers, and iPhone HEIC photos open directly.

How do I get an exact file size like 20 KB or 50 KB?

Pick the size, or type your own limit. The tool finds the highest quality that fits. If the photo is still too big at the lowest quality, it can reduce the dimensions for you.