Resize image to 512 × 512 pixels

Exactly 512 × 512 px, cropped to fill or fitted without cropping.

Preset

Drop images here, or paste with Ctrl+V

JPG, PNG, WebP, GIF or HEIC. Several at once is fine.

Settings size, KB limit, format, DPI
1 to 100, empty = automatic

    Your images are processed on this device and never uploaded.

    Crop image

    Drag the box to move it and the corners to resize. With the box focused, arrow keys move it and Shift+arrow keys resize it.

    Example with a real photo

    We ran this tool on the photo below. These are the real results.

    Original4032 × 2929 px · 403.5 KB · JPG
    Result512 × 512 px · 93.1 KB · PNGThis is the actual file the tool made.

    Photo: Unsplash

    What this page does
    Output size512 × 512 px
    ShapeSquare (1:1)
    Default formatPNG
    Without croppingTransparent padding

    How to use it

    1. Choose "Crop to fill" or "Fit without cropping".
    2. Drop your image. The preview shows exactly what you will get.
    3. Download your 512 × 512 file.

    Where 512 × 512 is used

    It is the required size for a Google Play app icon and for WhatsApp stickers, and a common input size for image models and favicons.

    "Crop to fill" scales the image until it covers the whole 512 × 512 frame and trims the edges evenly. "Fit without cropping" keeps the entire picture and fills the empty space, so nothing important is lost.

    Questions

    Will the transparent background be kept?

    Yes, as long as the format is PNG (the default on this page) and the background option is Transparent. JPG cannot store transparency and fills it with white.

    Which part of the photo is kept when cropping?

    The centre. The image is scaled to cover the frame and the extra is trimmed equally from both sides (or top and bottom). If your subject is off-centre, "Fit without cropping" keeps everything.

    Is my photo uploaded to a server?

    No. The resizing runs inside your browser with JavaScript, so the image never leaves your device. Once the page has loaded, resizing keeps working even if you go offline.