EIT easy-image-tools / Center PNG by content

Center PNG by content

Finds the opaque part of the image and centers it on the original canvas.

Nothing found — try another word.

01

Center PNG by content

Nothing found — try another word.

This tool has no parameters — the result is ready as is.

Nothing found — try another word.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

Center PNG by content finds the rectangle that actually holds visible pixels, ignores the empty margins around it, and moves that content to the middle of the unchanged canvas — the one-click fix for a picture shifted into a corner or a logo sitting off-center inside a transparent square. The canvas keeps its original width and height and no pixel is resampled, so the result is exactly as sharp as the source: the empty margins simply move to the edges. There are no settings, and the content area is shown as a mask in the preview. Processing runs in your browser, so nothing is uploaded.

  • Runs entirely in your browser: no upload, no server, no signup.
  • No settings: content is centered as soon as the image loads.
  • The canvas size never changes — only the empty margins redistribute.
  • Reads the alpha channel: a JPG without transparency comes back unchanged.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the PNG into the source area, or pick a file from your device.
  2. Look at the preview: the mask marks the visible content that will be centered.
  3. There is nothing to set; the content moves to the middle as soon as it loads.
  4. Download the centered image from the Download button.

Questions

How is this different from trimming the empty space?

Trimming removes the margins for good, so the canvas gets smaller. Centering keeps the original canvas and only redistributes the empty space, which is what you want when the file must stay at a fixed size.

Will it work on a JPG without transparency?

Not to any effect. The tool reads the alpha channel, and a JPG has none: every pixel counts as content, so the image comes back unchanged. Transparent and partly transparent PNG and WebP are what it is meant for.

Does it lose the soft edges of a cutout?

No. Nothing is resampled or recompressed, the pixels are only copied to new positions, so antialiased edges and faint shadows survive the move exactly as they were.

What if the image is fully transparent?

There is no content to find, so the tool leaves the picture alone and returns the same empty canvas rather than an error. Put something in the image first, then center it.

Related tools