Sprite Palette Swapper

Recolor every frame without redrawing a pixel. Upload a sprite sheet, map its exact colors, preview the animation, save named variants, and export the finished files.

Palette extraction, recoloring, animation preview, and export run locally in the browser. The source sprite is not uploaded for processing.

What is a sprite palette swapper?

A sprite palette swapper replaces selected RGB colors across an image or sprite sheet while keeping the original pixel positions and transparency. One exact color mapping can recolor every animation frame consistently for enemy factions, team colors, skins, and rarity tiers.

How to recolor a sprite sheet

  1. Upload the sheet

    Choose a PNG, WebP, or JPEG. PNG is recommended when the sprite uses transparency.

  2. Set frame size

    Enter the width and height of one frame so the preview can step through the full sheet.

  3. Map exact colors

    Choose a replacement for any detected source color. Unmapped colors remain unchanged.

  4. Preview and export

    Play the recolored animation, save the mapping as a variant, and download production files.

Exact local output for game workflows

  • Source alpha is preserved pixel by pixel.
  • Exact RGBA source keys prevent approximate color drift.
  • Named mappings can be saved locally as reusable variants.
  • Exports include a recolored PNG sheet, ZIP of individual frames, palette JSON, and GIMP GPL.

Sprite palette swapping FAQ

Does palette swapping preserve transparency?

Yes. The tool changes RGB values only and copies the alpha value from every source pixel into the result. Fully transparent pixels remain transparent, and partially transparent edge pixels keep their original alpha.

Can I recolor an entire sprite sheet at once?

Yes. A color mapping is applied to the complete source image, so the same source color receives the same replacement in every animation frame.

How should I slice animation frames?

Set the width and height of one frame. The tool reads complete cells from left to right and top to bottom; partial cells at the sheet edge are ignored.

Why does my image have hundreds of colors?

Anti-aliasing, soft brushes, JPEG compression, gradients, and color-profile conversion can create many near-duplicate RGB values. Flat-color PNG pixel art produces the cleanest, smallest palette.

What is a GPL palette file?

GPL is GIMP's plain-text palette format. It stores named 8-bit sRGB colors, but it does not store alpha, so transparency remains part of the exported PNG and JSON mapping instead.

Are my sprites uploaded to PLAYTEX AI?

No. Palette extraction, recoloring, animation preview, and export run locally in your browser. The page does not upload the source image for processing.