Resize image to 512 × 512 pixels

Make a square transparent PNG for a Google Play app icon, a WhatsApp sticker or an AI image tool, cropping to fill or fitting your artwork with clear padding, using a free image resizer that never uploads your file.

Step 2 of 3: Edit your image

Step 1 of 3: Drop images here, or paste with Ctrl+V

JPG, PNG, WebP, GIF or HEIC.

Settings size, KB limit, format, DPI
Preset
Dimensions
Advanced unit, DPI

    Settings

    Step 3 of 3: Your image is ready

    Resized preview
    BeforeAfter
    File size
    Dimensions
    Format

    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.

    Compare before and after

    Drag the divider, or focus it and use the arrow keys. Zoom 1:1 shows the resized image pixel for pixel.

    Before
    After

    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.

    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

    How our tool helps you with the size

    Each point is something this page's presets do for you, so the file comes out at the size you need.

    1. Makes it exactly 512 × 512 pixels

      Choose Crop to fill. It resizes the image to exactly 512 × 512 pixels.

    2. Crops to the right shape

      Open Crop. With a preset chosen, the box keeps the right shape, so you only move it over the part you want.

    3. Fits the whole picture

      Choose Fit without cropping. It fits the whole picture in the frame and fills the edges instead of cropping.

    4. Saves in the format the site wants

      Add PNG or iPhone HEIC files as they are. With Crop to fill the file is saved as PNG.

    Output size
    512 × 512 px
    Shape
    Square (1:1)
    Default format
    PNG
    Without cropping
    Transparent padding

    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 stays on your device. Nothing is uploaded unless you choose to share it with "Share by link" in the Download step. Once the page has loaded, resizing keeps working even if you go offline. If your device can't handle an image, the tool can shrink it on our server instead, but only if you agree, and it is deleted right away.