Written by Jennifer Walsh. Reviewed for technical accuracy by Shubham Dixit, Independent Expert in Email Forensics and Data File Conversion.
Shubham is an independent external reviewer and not an employee of PCDOTS.
Quick answer. Converting a PNG to GIF is really two jobs. One PNG becomes a single GIF, quick but capped at 256 colours, so flat graphics fare better than photos. Many PNG frames become one animated GIF, which is what most people actually want. Paint, GIMP and ImageMagick do these free, and a tool handles large batches.
On this page
Which job do you have?
The phrase “convert PNG to GIF” hides two quite different tasks, and knowing which one you need saves a lot of confusion.
The first is turning one PNG into one GIF file, a straight format change. The second is taking a set of PNG frames and combining them into a single animated GIF, the moving kind you see everywhere online. Most people who search for this actually want the second, and that is the part the usual “open it and Save As” advice quietly gets wrong, because a single save can only ever make a still image. Both are covered below, along with the one thing that is true of either, GIF handles colour very differently from PNG.
What changes when PNG becomes GIF
PNG stores up to sixteen million colours and full transparency, so it is at its best with photographs and soft edges. GIF trades most of that away. It holds a maximum of 256 colours per frame, and its transparency is on or off with no in between. What GIF gives you in return is the one thing PNG cannot do, animation, many frames playing inside a single file.
So the honest expectation is this. A flat graphic, a logo or line art converts to GIF with little visible change. A colourful photo will show banding as its colours are squeezed into 256, and any soft, semi transparent edges will turn slightly jagged. That is not a flaw in the method, it is simply what the GIF format is, and no tool can convert around it.
You gain animation, you give up colour depth and soft edges.
“The thing to keep straight with GIF is that its 256 colour palette is a property of the format, not a setting, so any conversion from a full colour PNG has to reduce colours, and it is best on flat artwork where there were never many colours to lose. The only reason to reach for GIF over PNG is the feature PNG lacks, animation, so if you are not assembling multiple frames a single static GIF rarely earns its downsides.” Shubham Dixit, Data File reviewer (draft, pending approval)
Turn one PNG into a GIF, free
If you just need a single PNG in GIF format, Windows can do it with no download.
Windows Paint. Open the PNG in Paint, choose File then Save as, pick GIF picture, name it and save. That is the whole job. One thing to be clear about, this makes a still GIF of a single frame, Paint cannot create an animation, so if that is what you are after skip to the next section.
ImageMagick, for a folder. The free command line tool converts one file with magick input.png output.gif, or a whole folder at once. It is the quickest free route when you have many single images to convert rather than assemble.
Build an animated GIF from frames, free
This is the job most people mean, several PNG images played in sequence as one moving GIF. It needs frames and timing, so a plain Save As will not do it. Two free tools handle it well.
GIMP, the free desktop option. Open your frames as layers with File then Open as Layers, arrange them in order, then choose File, Export As, name it with a .gif ending, and in the export dialog tick As animation. You can set the delay between frames there too. GIMP is the free equivalent of Photoshop for this, so you do not need a paid editor.
ImageMagick, in one line. If your frames are named in order, magick -delay 20 -loop 0 *.png animation.gif stitches them into a looping animated GIF, where the delay controls speed. It is the fastest way once your frames are ready.
Adobe Photoshop can do the same through its timeline and Save for Web, but it is paid, so reach for it only if you already have it. For most people GIMP covers the identical ground for free.
The animated job, several frames stitched into one looping GIF.
Convert a large batch with a tool
When you have a large number of PNG files to turn into GIFs and would rather not run a command line, a dedicated converter does the batch through a simple interface. The PCDOTS Image Converter loads many PNG files and writes GIFs in one run on your own PC, which suits big folders of images. Two honest notes, the 256 colour limit still applies to every file it produces, since that is the format not the tool, and there is a free version to try on your own images first.
The batch route, for a folder of PNGs at once.
Here are the steps with the screens.
Step 1. Install and run the converter on Windows.

Step 2. Open the menu and add your PNG files or a whole folder.

Step 3. Open the Export menu and choose GIF.

Step 4. Choose a destination and click Save.

Going the other way instead, out of a GIF into stills, is a separate task, there is a guide to convert a GIF to a PNG sequence. For nearby image jobs you can also convert PNG to TIFF or convert a GIF to WebP.
The methods compared
Match the route to whether you have one image, a set of frames, or a big batch.
| Method | Best for | Good to know |
|---|---|---|
| Windows Paint | One PNG, free | Static GIF only, no animation |
| GIMP or ImageMagick | Animated GIF from frames, free | You set the frame order and timing |
| Image Converter tool | Large batches of single files | 256 colour limit still applies |
Frequently asked questions
How do I convert a PNG to GIF for free?
For a single still image, open the PNG in Windows Paint and Save as GIF. For an animated GIF from several frames, use GIMP or ImageMagick, both free. A tool handles large batches.
Can MS Paint make an animated GIF?
No. Paint only saves a single still frame as a GIF. To animate, you need multiple frames assembled with GIMP, ImageMagick or a similar tool that supports frame timing.
Will my PNG lose quality as a GIF?
It can. GIF allows a maximum of 256 colours, so a colourful photo shows banding, while a flat graphic or logo usually looks the same. Soft transparent edges also harden, since GIF transparency is on or off.
Is a GIF smaller than a PNG?
Not always. GIF can be smaller for simple flat images because it uses fewer colours, but that colour reduction is the trade off. For detailed images a PNG is often the smaller and better choice.
How do I set the animation speed?
In GIMP you set the delay per frame in the export dialog. In ImageMagick the -delay value controls it, for example -delay 20 for a fifth of a second between frames.
Can I turn the GIF back into a PNG later?
Yes, but it will not restore colours lost in the first conversion. Extracting frames from a GIF into PNGs is a separate job covered in our GIF to PNG sequence guide.
Two jobs hide behind one phrase
Once you see that “convert PNG to GIF” splits into a single still image and a stitched together animation, the rest falls into place. Paint handles one static file, GIMP or ImageMagick assemble frames into a moving GIF, and a converter takes the strain out of a large folder, all of them free to start. Keep in mind the one thing none of them can change, GIF holds 256 colours, so it shines on flat graphics and motion and asks a little of your photos. Match the method to the job and you will get a clean result either way.