Claude Game Studio

Image to pixel art converter

Convert your image to pixel art in your browser, then download the PNG or try it in a game.

32 × 32 pixels · 3 visible colors · 714 transparent pixels

Original
Converted

Your image stays in this browser. The whole image fits inside a square; transparent padding keeps its proportions.

Move your converted sprite

Press Try in game above, then Play. Collect five gold bolts and avoid the blue walls. The player uses the same PNG pixels and dimensions as your download.

The sample lantern is loaded at 32 × 32 pixels. Use WASD, arrow keys or the buttons to move.

Collect five gold bolts. Avoid the blue walls.

One image, three sprite sizes

These downloads all start from the same original 128 × 128 lantern. The converter uses the same nearest-sample and palette code for these files as for your upload. Each preview is enlarged to the same display width so you can compare the outline. A 16-pixel image has fewer squares for the handle and rails; 64 pixels keeps more of their shape. Choose based on the size your player will actually occupy.

Lantern converted to 16 by 16 pixels using the 16-color palette without dithering

16 × 16

3 visible colors · 132 bytes
170 transparent pixels
16 partly transparent pixels

Lantern converted to 32 by 32 pixels using the 16-color palette without dithering

32 × 32

3 visible colors · 192 bytes
714 transparent pixels
32 partly transparent pixels

Lantern converted to 64 by 64 pixels using the 16-color palette without dithering

64 × 64

3 visible colors · 310 bytes
2732 transparent pixels
198 partly transparent pixels

Actual output counts from the 18 November 2026 conversion run. Byte counts describe these downloadable PNG files; browser PNG compression can produce a different file size from the same pixels. Read the results or download the original lantern. The sample image and its conversions are released under CC0.

Same lantern at 32 pixels

Both converters used the original 128 × 128 lantern. The studio used its 16-color palette with dithering off. Pixel It used a 25% pixel scale, a 32 × 32 export cap and the original colors. Both PNGs keep transparent edges. Pixel It leaves more partly transparent pixels around the lantern.

32 by 32 lantern converted with Studio converter
Studio converter714 fully transparent pixels
32 partly transparent pixels
3 visible colors · 192 bytes
Download PNG from Studio converter
32 by 32 lantern converted with Pixel It
Pixel It637 fully transparent pixels
133 partly transparent pixels
200 visible colors · 1132 bytes
Download PNG from Pixel It

Studio converter. Load the lantern, select 32 pixels and 16 colors, and leave dithering off. Use Try in game to see it move. Download the PNG and atlas together. Load the frame at x 0, y 0 using the atlas dimensions.

Pixel It. Load the original, set pixel scale to 25%, run pixelation, resize the output to 32 × 32 with the API, then save the PNG. In your game, load it as a single 32 × 32 frame at x 0, y 0. For either PNG, disable texture smoothing and place it over your game's background to check the edges.

Download the test settings and measurements.

Compare palette and dithering

At 32 pixels, the four-color amber palette uses three visible colors without dithering and all four with it. The selected palette is the maximum set of allowed colors; an image does not have to use every one. The lantern has a warm gradient, so several entries in the 16-color palette are never chosen. A palette count describes the available choices, while the visible-color count describes this particular output.

32 pixel lantern, amber palette, dithering off
Amber · Plain
3 colors · 182 bytes
32 pixel lantern, amber palette, dithering on
Amber · Dithered
4 colors · 234 bytes
32 pixel lantern, 16-color palette, dithering off
16 colors · Plain
3 colors · 192 bytes
32 pixel lantern, 16-color palette, dithering on
16 colors · Dithered
4 colors · 250 bytes

The converter adds a small repeating brightness offset before choosing the nearest palette entry. It never adds a color outside the palette. On a tiny moving character, those dots can compete with eyes or edge details. Try both versions in the game above: keep the setting that makes the outline and direction of travel easiest to read against the walls.

Keep the shape and transparent edges

The whole source fits inside a square. A wide banner gets empty space above and below; a tall character gets space on the sides. There is no automatic crop and no stretching. This matters for a game sprite because changing its proportions can make it look wider, shorter or off-center when you replace the original art.

The lantern's translucent side rails let you inspect alpha handling. Its 32-pixel conversion keeps 32 partly transparent samples and 714 fully transparent squares, regardless of the palette. The algorithm changes RGB color and preserves the alpha of the chosen sample. It does not remove an opaque photo background. Prepare a cutout first if you want the scene behind the sprite to show through.

Use the PNG in your game

Download PNG saves one frame at the selected pixel size. Download atlas writes the same width and height beside its crop coordinates: x 0, y 0, with the frame covering the whole image. Keep sprite.png and sprite.json together. The game above receives those same dimensions when you press Try in game, so the result is a moving sprite rather than only a static preview.

Load sprite.png as one 32 by 32 frame at x 0, y 0. Use sprite.json for the frame dimensions if I change the export size. Draw the sprite with image smoothing disabled, keep its transparent edges, and use it as the player in the game.

This prompt names the default 32-pixel export and tells the coding agent to follow your atlas if you change it. Disable image smoothing in a canvas game and use integer scaling when you want uniformly sized squares. For animation, open the pixel art maker to draw frames and export a sheet. The converter owns the existing-image task; the drawing editor owns making and editing a sprite by hand.

Building a game around the character? Write the movement, goal and visual style in the one-page game design document. The Claude Game Studio kit gives Claude Code running genre starters and asset packs. Check the converted character in motion before asking the agent to build a whole world around it.

Other conversion workflows

PixelConverter offers whole-image pixelation and selecting a region to pixelate, with a block-size control and image download. That selection workflow is useful when only one part of an image should change. Here the controls choose a sprite's final dimensions, then let you test that sprite as a player.

Pixel It provides palette conversion, grayscale, custom palette import and a JavaScript API. Its documentation warns that operation order changes the result. Here the order is fixed: fit and sample first, then choose palette colors. For the browser setting that keeps enlarged pixels sharp, see MDN's imageSmoothingEnabled reference.

Questions

How do I turn an image into pixel art?

Choose a PNG, JPG or WebP, select a 16, 32 or 64 pixel square and choose a palette. The converter fits the whole image inside the square and replaces its colors with the nearest palette colors. Download PNG saves the result at the selected dimensions.

Can I convert a photo to pixel art?

Yes. Start at 64 pixels with Original colors, then try a smaller size and a limited palette. Crop the photo to its subject before uploading if you want that subject to fill more of the square. This converter resamples your image; it does not generate a new scene.

Does the converted PNG keep transparency?

Yes. A sampled transparent pixel stays transparent, and a sampled partly transparent pixel keeps its alpha value. Padding around a rectangular image is transparent. JPG has no transparency, so use a PNG or WebP with an alpha channel for a cutout sprite.

What does dithering do to pixel art?

Dithering distributes lighter and darker palette choices in a repeating four-by-four pattern. It can suggest a smoother gradient with a small palette, but it can also add visible texture. Compare it at the size the sprite will appear in your game before choosing.

Are my images uploaded?

No. The file is decoded and converted in your browser, and the PNG and atlas are made there. The tool accepts PNG, JPG and WebP up to 10 MB and 16 megapixels. Download your work before closing the tab.