Remove PNG Border

Crop a fixed number of pixels from each side of a PNG image.

Drop an image here

PNG, JPG, WebP, GIF or BMP. You can also paste an image.

No result yet

Options

How to use

  1. 1

    Upload a PNG by clicking the upload area or dragging a file in.

  2. 2

    Drag the edges in, or enter the number of pixels to remove from each side.

  3. 3

    Click Download to save the cropped image.

Example

Before640 × 427

The example input

After600 × 387

The example result
Remove PNG Border on a sample photo, with the default settings.

Frequently asked questions

Does this auto-detect the border color?

No. You specify the exact pixel width to remove from each side.

What if I remove too many pixels?

The output will always be at least 1x1 pixel. The tool clamps the crop values to the image dimensions.

About this tool

Remove PNG Border lets you trim exact pixel widths from any combination of sides. Specify independent values for top, bottom, left, and right. All processing runs locally in your browser.