Add Stroke to PNG

Add a colored stroke outline around the non-transparent parts of a PNG.

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 with transparent areas.

  2. 2

    Set the stroke width and color.

  3. 3

    Click Download to save.

Example

Before640 × 640

The example input

After646 × 646

The example result
Add Stroke to PNG on a transparent logo, with the default settings.

Frequently asked questions

Does this work on fully opaque images?

The stroke is added around the entire image rectangle if there is no transparency.

About this tool

Add Stroke to PNG draws a solid outline around all non-transparent pixels in your image. Set the stroke width and color. The output canvas is expanded so the stroke is never clipped. All processing runs locally in your browser. Your image is never uploaded to a server.