Resize Image to 512 × 512 Pixels
512×512 is the standard power-of-two square: app icons, game assets, avatars and machine-learning inputs all expect it. Get there in one step, with proper downsampling.
Drop your image here
or
Choose ImageYou can also paste an image with Ctrl+V
Images are processed on your device and never uploaded.
• •
Runs on your device — nothing is uploaded.
Working…
0%
- Original
- Result
- Saved
- Quality
How to resize to 512×512
- Select an image — PNG keeps transparency, which icons usually need.
- Press Resize; the 512 × 512 target is already set.
- Download.
Why 512 and not 500
512 is 29. Powers of two matter in three places:
- GPU textures. Graphics hardware handles power-of-two textures most efficiently, and mipmap chains halve cleanly: 512 → 256 → 128 → 64 → 32 → 16.
- Icon sets. A single 512 px master downsizes exactly to every smaller icon slot with no fractional pixels.
- Model inputs. Many vision and diffusion models are trained at 512×512 and expect precisely that.
Keep the transparency
Icons almost always need a transparent background. Leave the output as PNG (or WebP) — if you pick JPG you will be asked which solid colour should replace the transparent pixels, because JPEG has no alpha channel at all.
Resampling quality
Downscaling is where cheap tools give themselves away. Throwing an 8000 px image
into a single drawImage call at 800 px makes the browser sample roughly
one pixel in a hundred, which produces aliasing on fine detail — moiré on fabric,
jagged edges on text, sparkle on foliage.
This tool steps the image down in halves and finishes with a high-quality Lanczos pass, so every source pixel contributes to the result. Aspect ratio, transparency and EXIF orientation are preserved throughout.
Frequently asked questions
Are my images uploaded to your server?
No. The image is decoded, processed and re-encoded by your own browser using the Canvas and Web Worker APIs. There is no upload endpoint for this tool — open your browser's network panel while you use it and you will see no request carrying image data.
Can I upscale a small icon to 512×512?
You can, but a 64 px source enlarged eight times will look soft and blocky — the detail simply is not there. Re-export from the vector source if you have one, or use the SVG to PNG tool, which renders sharply at any size.
What about 1024×1024 or 256×256?
Use the general resize tool and type the number. Any square works; 512 just has a page of its own because it is asked for so often.
What happens to my file when I close the tab?
It is gone. The image only ever exists in your browser's memory as an object URL; closing or refreshing the page discards it. Nothing is written to our servers, and nothing is stored on your device unless you download the result.