Sprite Outline Generator

Give sprites a readable silhouette, make selection highlights or sticker-style icons. The outline follows the sprite's transparency pixel by pixel.

Drop sprites here (PNG with transparency), click to choose, or paste with Ctrl+V.
Several files are processed with the same settings and downloaded as a ZIP.

How to add an outline to a sprite

  1. Drop one or more transparent PNG sprites above.
  2. Pick an outline type, a thickness and a corner style. For classic pixel art, use a 1 px outer outline with rounded corners.
  3. Choose a color. Very dark tints of the sprite's own colors often look better than pure black.
  4. Keep Grow canvas on so the outline isn't clipped at the image edge, then download.

Outline tips from pixel artists

How it works

The tool computes the step distance from every transparent pixel to the nearest opaque pixel. It uses alpha 128 as the threshold, so soft edges count as half-solid.

Pixels within the chosen thickness become outline pixels. With 4-direction steps, the distance forms a diamond, which gives rounded corners. With 8-direction steps, it forms a square, which gives sharp corners.

FAQ

Why should sprites have an outline?

A dark outline separates the character from busy backgrounds, so it stays readable at small sizes and on any tile. Many classic and modern pixel art games outline characters but not the environment, which also helps players tell interactive things apart.

Square or rounded corners?

Square (8 directions) also fills diagonal gaps, giving a solid frame. Rounded (4 directions) skips the diagonal corner pixels, which looks softer and is the common style for 1px pixel art outlines.

What is an inner outline?

It recolors the sprite's own edge pixels instead of adding pixels around it, so the image keeps its original size. Use it when sprites must stay exactly within their grid cell.

Can I use it for selection or hover highlights?

Yes. Choose 'Outline only' with a bright color to get a separate highlight image you can draw behind or over the sprite in your engine.

Does it work on sprite sheets?

Yes, as long as frames are separated by transparent space at least as wide as the outline. Otherwise slice the sheet first, outline the frames, and pack them again.