EvonX

Free tool · Runs in your browser

GIF to sprite sheet: every frame on one PNG.

Drop an animated GIF, or a short MP4 or WebM clip, and get one sprite sheet PNG with every frame in a grid. Choose the columns, check the animation in the preview and copy the frame data for your engine. Nothing leaves your computer.

  • GIF, MP4, WebM, PNG frames
  • Transparent PNG out
  • JSON, Phaser and CSS frame data
  • No watermark

By the EvonX team · Updated · 4 min read

Convert a GIF to a sprite sheet

A sample walk cycle is loaded. Drop your own GIF or video on the left, then set the columns. The other tab cuts a sheet back into frames.

Loading the tool…

AI mode

No GIF yet? Let AI draw the frames

Describe a 2D character, or attach one you drew, and EvonX draws idle, walk, run, attack, hit and death as one sprite sheet inside your game. Needs an EvonX account and uses credits.

AI sprite sheet generator

How do I convert a GIF to a sprite sheet?

Drop the GIF into the converter below. It reads every frame in order, exactly as a browser would show it, and lays the frames out in a grid on one PNG. Set the number of columns, watch the preview to check the order and the speed, then download the sheet. The frame width, frame height and frame count are written out as JSON, Phaser code or CSS.

How to turn a GIF into a sprite sheet

  1. Drop the GIF

    Drag the file onto the drop area or click it to choose one. Every frame is read in order. Several files at once also work; they are read in file-name order.

  2. Choose the columns

    Columns is the number of frames in a row. Set it to the frame count for a single strip, which is the layout CSS and most engines find easiest.

  3. Play it before you save

    The preview plays the sheet itself, not the GIF, and highlights the frame on screen in the strip above. Change the frames per second until the motion looks right.

  4. Download the PNG and the frame data

    Download PNG saves the sheet. Under it, copy the frame size and count as JSON, as a Phaser loader call or as a CSS steps() animation.

What you can drop in

File types the converter reads and how each becomes frames
FileHow it becomes framesGood to know
Animated GIFEvery frame, composited the way a browser shows itTransparency is kept
Video (MP4, WebM, MOV)12 frames for each second, from the start, 64 frames at mostScaled so no side is over 512 px; the background stays in the frames
PNG or WebP framesOne file is one frame, in file-name orderName them walk_01, walk_02 and so on

A video plays only if your browser can play that file. MP4 (H.264) and WebM work in current browsers.

Video to sprite sheet

A sprite sheet from a video works best with a short clip: a character turning, an explosion, a looping effect. The converter takes 12 frames from each second, starting at the beginning, and stops at 64 frames, which is a little over five seconds. Trim the clip to the part you want before you drop it.

Video has no transparent background, so every frame keeps what was behind the subject. Record against a flat colour if you plan to remove it later. For a character with a clean cut-out, start from a transparent GIF or PNG frames instead, or let the AI sprite sheet generator draw the frames.

Keeping the sheet small

Every cell in the sheet is as large as your largest frame, so a 480 px GIF with 30 frames is already a big picture. Three settings help. Trim cuts the empty border that all frames share and keeps them lined up. Padding adds empty pixels between frames, so texture filtering in an engine does not bleed one frame into the next. Power of two rounds the sheet up to 256, 512, 1024 and so on for engines and phone GPUs that ask for it.

Already have the sheet and need the frames back? The sprite sheet cutter splits it into PNG files or a GIF.

Frequently asked questions

Is the GIF to sprite sheet converter free?

Yes. It is free, needs no account and adds no watermark. The files are read in your browser and are not uploaded.

Does the sprite sheet keep the GIF's transparency?

Yes. The sheet is a PNG, and transparent pixels in the GIF stay transparent. The preview has a checker, a dark and a light background so you can check the edges.

Can I convert a video to a sprite sheet?

Yes. Drop an MP4 or WebM clip. The tool takes 12 frames per second from the start of the clip, up to 64 frames, and scales them so no side is over 512 px. The background of the video stays in the frames.

How many columns should a sprite sheet have?

Any number works as long as your engine knows it. One row is the simplest to read. For many frames, a near-square grid keeps both sides of the picture small: 16 frames as 4 by 4, 30 frames as 6 by 5.

How do I use the sprite sheet in Unity, Godot or Phaser?

Slice it by cell size. The frame data under the preview gives the frame width, frame height, columns and rows; in Unity use the Sprite Editor's grid slice, in Godot add frames from a sprite sheet in SpriteFrames, and in Phaser paste the loader call from the Phaser tab.

My GIF has frames of different lengths. Is the timing kept?

No. A sprite sheet holds pictures, not timing. Each GIF frame becomes one cell, and you set one speed, in frames per second, in the preview and in your engine.

EvonX AI game maker

Got the asset? Now make the game.

Describe your game in one sentence and EvonX builds it: code, art, sound and a link you can share. Free to start, no download, plays on any phone.

Free to start · Earn money from your games
Try one