How it works

How to convert a picture to GBA sprites and backgrounds (free tool)

Short answer: to convert an image to a GBA sprite, open the free GBA sprite converter, drop your picture in, pick Sprite or Background, a shape and a color mode, and download the result. The tool cuts out a plain background, fits the picture to one of the console's 12 sprite shapes or to a 240 x 160 screen, and reduces its colors to a legal palette. It runs in your browser, and nothing is uploaded.

By David Walter, Founder
· 6 min read

The free GBA converter showing a pixel-art fox on a blue sky before, and as a 64 x 64 sprite on a checkerboard after, with What it uses meters, a palette of 15 swatches and download buttons below.
On this page
  1. What the tool is
  2. Step by step
  3. The console's rules the tool keeps
  4. Tips: photos, drawings and pixel art
  5. Make a game with it
  6. How we know it is right
  7. FAQ

What the tool is

The GBA sprite converter is free: no account, no gems. It is the Shiny Gen engine's own C++, the code the cartridge build runs when a Shiny Gen GBA game imports a picture, compiled to WebAssembly so it runs in the page. The converted picture is what a game made here would really use.

Drop, paste or pick any picture the browser can open, at any size. Very large pictures are read at no more than 2048 pixels a side. The page also offers four samples: Photo, Drawing, Pixel art and Landscape.

Step by step

1. Add a picture

Drop a file on the box at the top left, paste one or tap a sample.

2. Choose the settings

The Settings column: Use it as with Sprite selected, Color mode 4bpp 16 colors a palette, Size 32x32, a Colors slider at 15, Dithering Off, and Background set to Remove a plain background.
The settings column for a drawing, set to a 32 x 32 sprite in 4bpp.
  • Use it as: Sprite or Background.
  • Sprite shapes. All 12 hardware sprite sizes: 8x8, 16x16, 32x32, 64x64, 16x8, 32x8, 32x16, 64x32, 8x16, 8x32, 16x32 and 32x64. The picture is placed at that size; a busy picture shrunk 2x or more is grid-snapped first, so it keeps clean pixels.
  • Color mode. 4bpp gives one palette of 15 colors plus transparent per sheet, and a Colors slider from 1 to 15. 8bpp gives 256 colors, with the slider running 1 to 255 plus transparent. 4bpp is what Shiny Gen GBA games use. 8bpp uses the engine's 256-color median cut, the one our DS pictures use, and is meant for your own projects.
  • Dithering, on or off (4bpp). When it is on, the engine applies Floyd-Steinberg.
  • Backgrounds. The sizes are 240x160 (the screen), 256x256 and 128x128. In 4bpp a background can use 1 to 16 palette banks, and each 8 x 8 tile picks one of up to 16 palettes of 15 colors. If a picture would need more banks than you allow, the engine falls back to one 15-color palette and the tool says so. That is typical for photos.
  • Background removal. "Remove a plain background" cuts out a plain border color with the site's own cut-out, though pixel art keeps its frame. "Keep it" leaves the picture. "Pick a color to remove" lets you tap the picture and set a tolerance.

Every setting offered is one the console can do. Ask for something impossible and the tool moves it to the nearest legal value and says so.

3. Read the "What it uses" meters

A green dot and "Within the GBA's limits" means the result is legal. Under it are bars for Colors (for example 8 of 15), Sprite palettes (1 of 16), and Unique tiles (out of 1024, the most a 10-bit tile number can address). Below them you get the size, the format, the colors in and colors out, the unique tile count, and the bytes the picture would take in a cartridge. The palette is drawn as swatches, and clicking one copies its hex.

The What it uses panel for a drawing of a cat as a 32 x 32 sprite: Colors 8 of 15, Sprite palettes 1 of 16, Unique tiles 16 of 1024, 1755 colors in and 8 out, 544 bytes in the cartridge, a palette of 15 swatches, and the download list.
A drawing as a 32 x 32 sprite: 1,755 colors became 8, in 16 tiles and 544 bytes. The download list is underneath.

The result is also checked: it goes back through the cartridge import unchanged.

4. Look at the picture

Use Before, After or Side by side, a nearest-neighbor zoom, and the checkerboard, dark or light backdrop.

5. Download

  • PNG, actual size and PNG, scaled
  • Tileset PNG, Palette (.pal) and Palette (hex list)
  • Indexed PNG, with index 0 as transparent
  • Palette (.bin, 15-bit): little-endian 15-bit BGR words
  • Butano BMP + JSON, a .zip with an uncompressed 4-bit or 8-bit indexed BMP whose color 0 is transparent, plus the JSON file Butano reads beside it: {"type": "sprite"} (8bpp adds "bpp_mode": "bpp_8"), or {"type": "regular_bg"} for a 256x256 single-palette background. This follows Butano's import guide: a BMP without compression, 16 or 256 colors, with the first palette color transparent.

The console's rules the tool keeps

RuleLimit
Color15-bit BGR
4bppOne palette of 15 colors plus transparent per sprite sheet
8bpp256 colors, 1 to 255 plus transparent
Sprite shapes12: 8x8, 16x16, 32x32, 64x64, 16x8, 32x8, 32x16, 64x32, 8x16, 8x32, 16x32, 32x64
Background sizes240x160, 256x256, 128x128
Tiles8 x 8, up to 1024; duplicates and mirrors shared on backgrounds
4bpp background palettes1 to 16 banks of 15 colors, per-tile

Tips: photos, drawings and pixel art

Pixel art is nearly lossless. The fox above went from 256 x 256 to 64 x 64 using only 3 colors, with its sky removed and every block kept.

Drawings with a plain background work well as sprites. The cat drawing became a 32 x 32 sprite with 8 colors. Thick outlines and flat colors survive the shrink; hair-thin lines and soft shading do not.

Photos are best as backgrounds, and the color mode decides how they look. Here is the same lake photo as a 240 x 160 background, first in 4bpp, then in 8bpp.

The lake photo at 800 x 535 beside its 4bpp 240 x 160 version, where the sky and forest show hard bands of a few colors, such as a flat dark brown for the shadows.
In 4bpp, 15 colors in one palette turn the sky and forest into bands.
The lake photo at 800 x 535 beside its 8bpp 240 x 160 version, which keeps the soft clouds, the blue sky and the green hills, close to the original.
In 8bpp, 255 colors keep the clouds and the reflection almost as smooth as the photo.

If you want a photo to look good on a GBA, use 8bpp for your own project, or allow more palette banks in 4bpp so each tile picks its own palette. For a Shiny Gen game, which uses 4bpp, choose pictures with strong shapes and a few colors.

Make a game with it

"Make a game with it" opens this site's start card with your converted picture in it, or the original if you choose "Original picture". Choose whether it is the player, the boss, a pickup or the backdrop, describe the game and press "Build my GBA game". An AI agent builds a GBA game around it. This is a Shiny Gen account on the site, a new account starts with free gems, and nothing is sent until you press the button.

The img2gba start card with a converted pixel cat, the roles The player, The boss, A pickup and The backdrop, an empty Describe your GBA game box, and a Build my GBA game button.
The start card with the converted cat in it.

For that part of the story, read Turn a picture into a GBA game or Shiny Gen's Make a GBA game with AI. If you write your own game in C++, see img2gba vs Butano.

How we know it is right

172 cases (4 pictures with 43 settings) give byte-identical results to the engine, and 92 of them were re-imported through the cartridge import unchanged. A sweep of 1,836 conversions across every setting extreme of the 5 consoles stays inside every hardware limit.

Ready? Open the free GBA converter and drop a picture in.

FAQ

Is the image to GBA sprite converter free?

Yes. No account, no gems, and it runs in your browser.

Is my picture uploaded?

No. It is only sent if you press "Make a game with it".

Should I pick 4bpp or 8bpp?

Pick 4bpp for Shiny Gen games and for sprites that share one palette of 15 colors. Pick 8bpp for your own projects when a picture needs more colors, such as a photo.

Can I use the files with Butano?

Yes. "Butano BMP + JSON" saves an uncompressed indexed BMP with color 0 transparent and the JSON file beside it, in the form Butano's import guide asks for.

Why did the tool say it used one palette?

For a 4bpp background, if the picture needs more palette banks than you allowed, the engine falls back to one 15-color palette and the tool tells you. This is common for photos.

Which sprite sizes can I choose?

All 12 GBA sprite shapes, from 8x8 up to 64x64, including the wide and tall ones such as 64x32 and 32x64.

Further reading

Last updated: November 17, 2026