Auto-Crop PNG to Square

Trim transparent padding and export a square PNG.

Choose an image to start.

Original
No image
Output
Waiting

Output

Original
-
Alpha bounds
-
Square size
-
Padding
-
Source crop
-
Render time
-

How it works

Common uses

FAQ

How is the element detected?

The tool scans alpha values and finds the tightest rectangle that contains visible pixels.

Why can the output have extra space on one axis?

Rectangular elements need transparent fill on the shorter side to produce a 1:1 PNG.

What if padding is larger than the original margin?

The padding is capped to the largest same-value margin available around the element.

Does this reduce image quality?

No. The tool only trims and pads transparent pixels. It does not resample, compress, or resize the visible content, so quality stays the same.

Is this different from a regular crop to square tool?

Yes. Most square crop tools add a background or stretch the image to force a square, and require manual positioning. This tool detects the visible content from the alpha channel first, trims the empty space, and only then squares the result.

Can I use this to prepare app store icons?

Yes. App Store, Google Play, and most extension stores require square icons with minimal padding. Auto-cropping to the visible element and exporting as a square PNG gets you close to submission ready in one step.

Is my image uploaded to a server?

No. All processing happens locally in your browser using the Canvas API. Your image never leaves your device.

What file formats are supported?

You can upload PNG, WebP, AVIF, or GIF files with transparency. The output is always a PNG to preserve the alpha channel.

Is this free to use?

Yes, it is free with no signup and no usage limits.