Pixel Art to STL: turn sprites into 3D pixel art

Keep the pixel grid visible as real geometry. Set the block size, color height order and base, then export STL geometry or a color-aware 3MF package.

Samples
Colors0 in palette
    8
    Example · editable
    Loading 3D preview
    Drag to rotate
    4 mm
    2 mm
    1.2 mm
    Base shape

    Single extruder? Change filament at 1.2 mm to print the blocks in a second color over the base. For an AMS or MMU, download the 3MF.

    2 credits per model. STL and 3MF of the same model count once.

    Runs in your browser. Your image is never uploaded.

    Explore real examples

    Pixel art to STL examples, one block at a time

    Open an example to compare the input with the actual 3D geometry. Load its settings into the workspace and make it your own.

    Workflow

    Pixel Art to STL: From input to printable geometry

    1. 1

      Choose a small pixel design

      Start with an icon or sprite. The tool detects its grid; large images are reduced to a manageable grid for the preview.

    2. 2

      Build the blocks

      Set pixel width and block height, choose a flat or stepped color arrangement, then add a base or hanging loop.

    3. 3

      Pick a useful export

      STL saves one combined shape for a single filament. The 3MF keeps one part per color, ready for a multi-material slicer.

    Features

    Why use this 3D pixel art maker

    Built for sprites, so every pixel stays a clean square block.

    Finds the real pixel grid

    Sprites saved at 4×, 8× or 10× are measured and read back to one block per original pixel.

    Background removal

    Clears a solid background color from the edges inward, while the same color inside the sprite stays.

    Palette of up to 8 colors

    Near-identical shades are merged, and the Max colors slider cuts the palette down to the filaments you have.

    Multi-color 3MF

    Each color is its own named part for an AMS, MMU or tool changer. An STL is there for one color.

    Base plate and keychain loop

    Add a base that follows the outline or a square one, up to 5 mm thick, plus a loop for a key ring.

    Warnings before you print

    The tool counts how many loose pieces a sprite would print as, and flags blocks narrower than 0.8 mm.

    Print settings

    Pixel art settings for keychains, magnets and wall art

    The same sprite can be a 40 mm charm or a 100 mm coaster. Pick a project to see the pixel size, heights and base to start from.

    Starting point

    A pocket-proof keychain

    A 16 × 16 sprite at 2.5 to 3 mm per pixel, a 1.2 mm base and the keychain loop. Keep it 3 mm thick or more so it survives a pocket.

    The examples load with the loop off, so turn on Keychain loop after loading one.

    Pixel size
    2.5 to 3 mm
    Block height
    2 mm
    Base plate
    1.2 mm
    Keychain loop
    On
    Print size
    45 to 54 mm

    Each bar shows where the value sits on its slider.

    Every control at a glance

    The ranges and defaults below match the sliders and switches in the workspace above.

    ControlRangeDefaultWhat it does
    Remove background colorOn or offOnClears one solid background color from the edges inward. The same color inside the sprite, such as the white of an eye, stays.
    Block heightsFlat top or Height by colorFlat topFlat top makes every block the same height. Height by color raises each color one step above the one below.
    Max colors2 to 88Merges the closest colors until the palette fits. Each color is one filament.
    Pixel size0.6 to 10 mmAutoThe width of one block. Auto aims for about 64 mm across, using 1 to 5 mm per pixel.
    Block height0.4 to 10 mm2 mmHow tall each block stands. With Height by color it becomes the lowest color's height.
    Step per color0.2 to 3 mm0.6 mmHeight by color only. The rise from one color to the next.
    Base plateOff to 5 mm1.2 mmA plate under the sprite. Any base adds one block of margin on every side.
    Base shapeOutline or SquareOutlineOutline follows the sprite; Square fills the whole rectangle and joins every loose pixel.
    Keychain loopOn or offOffAdds a square loop for a key ring, with a wall about 2 mm wide or more.
    Unitsmm or inmmShows the pixel size and print size in millimeters or inches.
    Guide

    Pixel art to STL guide

    How the blocks are built, print sizes and multi-color printing in detail.

    01

    How pixel art becomes blocks

    Every opaque pixel turns into a square column. Pixel size sets the width of each column in millimeters, and block height sets how tall it stands. Transparent pixels, and any pixel under half opacity, stay empty, so a sprite on a clear background prints as its own outline.

    Sprites shared online are often scaled up 4×, 8× or 10× so they look sharp on screen. The converter measures where the color edges fall, finds the block size and reads the image back to its real grid, so a 32 × 32 sprite saved at 320 × 320 still gives 32 × 32 blocks. If the sprite sits on a solid color, Remove background color clears that color from the edges inward and keeps the same color inside the sprite, such as the white of an eye.

    Colors are merged into a palette of up to 8. Shades that differ only by anti-aliasing or JPEG noise become one color, and the Max colors slider merges the closest pairs when you want to load fewer filaments.

    02

    Pixel size and print size

    Print size is the sprite size times the pixel size, plus one block on every side when a base plate is on. A 0.4 mm nozzle needs about 0.8 mm to draw a single pixel cleanly, and pixels of 2 mm or more keep crisp corners. The table gives starting points; the readout under the preview shows the exact size as you drag.

    SpritePixel sizeBlocks onlyWith base plateGood for
    8 × 85 mm40 mm50 mmCharms and game tokens
    16 × 163 mm48 mm54 mmKeychains and magnets
    24 × 242.5 mm60 mm65 mmBadges and ornaments
    32 × 323 mm96 mm102 mmCoasters and desk sprites
    64 × 641.5 mm96 mm99 mmDetailed wall art
    128 × 1281 mm128 mm130 mmLarge wall pieces, long prints
    03

    Multi-color printing: AMS, MMU or filament swaps

    Download the 3MF to print every color in one go on a Bambu Lab AMS, a Prusa MMU or any multi-material printer. Each palette color is its own part of one object, named with its hex code, and the base plate is a separate part. Open it in Bambu Studio, OrcaSlicer or PrusaSlicer and assign a filament to each part.

    With a single extruder, switch to Height by color. Each color then sits one step above the color below it, so above a given height only that color is printed. Add a filament change (M600, or the color change marker in your slicer) at each height listed under the settings, and the top of every block comes out in its own color. The sides show stripes of the colors below, which is part of the 3D pixel art look.

    Order matters: the lowest color prints first and also fills the base plate. Use the arrows next to each color to move it up or down, and keep the step a multiple of your layer height (0.6 mm is three 0.2 mm layers) so every change lands exactly on a layer.

    04

    Print settings for 3D pixel art

    Print flat on the bed with 0.2 mm layers, 3 walls and 15 to 20% infill. Block heights in steps of 0.2 mm keep every top surface on a full layer, and ironing on the top layer gives each pixel a smooth, even face.

    Small parts depend on the first layer. Slow it to 20 to 30 mm/s, clean the plate, and keep the base plate on for sprites with thin or diagonal parts so nothing lifts. For a keychain, aim for 3 mm or more in total, such as a 1.2 mm base plus 2 mm blocks. The loop wall stays about 2 mm wide or more at every pixel size.

    Troubleshooting

    Pixel art print problems and fixes

    Sprites are made for screens, not printers. These are the snags that come up most and the setting that solves each one.

    6 common problems
    The blocks look blurry or mixed
    Why it happensNo clean pixel grid was found, so the image was averaged down. That usually means it was resized with smoothing or saved as a JPG.
    How to fix itExport the sprite at 1× or scale it with nearest neighbor, and save it as PNG or GIF.
    The background printed as blocks
    Why it happensRemove background color is off, or the background is not one solid color, for example a soft gradient.
    How to fix itTurn Remove background color on, or erase the background to transparency in your pixel editor.
    Two colors merged into one
    Why it happensVery similar colors are always merged so anti-aliasing does not add extra filaments, and Max colors merges the closest pairs on top of that.
    How to fix itRaise Max colors to 8, or make the two colors more distinct in the sprite.
    The tool warns that blocks are under 0.8 mm
    Why it happensThe pixel size is narrower than two lines from a 0.4 mm nozzle, so edges may not print cleanly.
    How to fix itRaise Pixel size, or use a 0.2 mm nozzle if you need the model that small.
    The 3MF opens as one gray object
    Why it happensSlicers show a multi-part object in one color until each part has a filament assigned.
    How to fix itOpen the object's parts list in Bambu Studio, OrcaSlicer or PrusaSlicer and give each Color part its own filament.
    The model is larger than sprite size times pixel size
    Why it happensA base plate adds one block on every side, so a 16 × 16 sprite at 3 mm measures 54 mm, not 48 mm.
    How to fix itSet Base plate to Off for the exact size, or allow for the two extra blocks.
    FAQ

    Pixel art to STL questions

    Is pixel art to STL free?
    The 3D preview is free and needs no account, so you can check the grid, colors and base before you download. Each model you download uses 2 credits, and its STL and 3MF count once, so you can take both for those 2 credits. New accounts are free and start with 10 credits, enough for 5 models, with no card needed; a repeat download of the same model within 24 hours is not charged twice. Your image is turned into a mesh in your browser and never uploaded.
    What image works best for pixel art to STL?
    A PNG or GIF with a transparent background, saved at 1× or scaled up with nearest neighbor so the edges stay hard. Sprites from 8 × 8 to 128 × 128 work best. Blurry JPGs and photos still convert, but they are averaged down to at most 128 blocks on the longest side and lose the pixel look.
    Can I upload a sprite that has been scaled up?
    Yes. The tool finds the block size from where the colors change and reads the sprite back to its real grid, so a 16 × 16 sprite saved at 10× still becomes 16 × 16 blocks. The detected grid size shows next to the samples, so you can check it.
    How do I print 3D pixel art in several colors?
    With an AMS, MMU or tool changer, download the 3MF: every color is a separate part, so you assign one filament to each. With one extruder, choose Height by color and add a filament change at each listed height; the top of each block then shows its own color.
    Why does the tool say my sprite prints as separate pieces?
    Pixels that touch only at a corner share no surface, so the slicer treats them as separate parts that can fall apart. The file keeps a 0.02 mm gap there so the mesh stays manifold. Add a base plate, or use the Square base, to join everything into one piece.
    How thick should a pixel art keychain be?
    About 3 to 4 mm in total: a 1.2 mm base with 2 mm blocks works well in PLA. Turn on the keychain loop; its wall is about 2 mm wide or more at every pixel size, which is strong enough for a key ring.
    Keep working with your model

    Keep working with your model

    Download from the workspace, then inspect the file, package it for printing or explore another way to create.