A GIF is the old picture format with a 256-color limit, still asked for by chat apps, forums and email. Converting a PNG to GIF gives you that file at the same size in pixels, with the colors squeezed into one palette.
FluffyShieldProtected workspace
From
To
GIF output uses at most 256 colors and 1-bit transparency.
Loading the tool…
The tool didn't load. Reload the page, or check whether an extension or network filter blocks .
Free · No upload · No sign-up · No usage quotas
How it works
The PNG is read in your browser
→Its colors are reduced to a palette of up to 256
→The .gif is ready to save
What it does
See-through is on or off
A GIF can mark a pixel as clear, but it cannot make one half clear. Partly see-through pixels become clear or solid.
Limits Only the first frame of an animated source is kept, so a PNG gives a GIF of one frame.
Does a PNG survive being turned into a GIF?
The picture is the same size and a little smaller in bytes, but it is held to 256 colors, and any soft see-through edge becomes a hard one.
FluffyBench · 3 min read · Measured on a sample icon
What does the 256-color limit do to a PNG?
Our test PNG, a 256 × 256 star icon with rounded see-through corners, drawn by FluffyBench for its icon guide, came out as a GIF of 3.7 KB, down from 13.3 KB. The picture is the same size, but it isn't the same picture: 1,558 of its 65,536 pixels changed (2.4%), and no solid pixel moved by more than 9 levels on the 0 to 255 scale.
A GIF can hold only 256 different colors at once. The converter picks the 256 that suit the picture best and moves every pixel to the nearest one. A flat icon needs few colors, so the change is slight; a photograph needs thousands, so it shows.
What happens to the soft edge?
The star's rim fades out through 467 partly see-through pixels. A GIF has no in-between: a pixel is either clear or it isn't. The converter makes each partly clear pixel one or the other, so 3,247 see-through pixels in the PNG became 2,966 in the GIF, and the fade turned into a hard edge. Placed on a dark page, a hard edge can show a light fringe, so check it on the background it will sit on.
Making the GIF
Step 3 is optional; the defaults give 256 colors and no dithering.
Pick the PNG with Choose images.
Open Settings: behind the gear on a phone, in the panel next to the tool on a computer.
To change how the colors are chosen, set GIF palette to fewer colors or GIF dithering to Floyd-Steinberg.