PNG to GIF Converter
Turn a PNG into a GIF, written from its pixels in your browser.
or drop files here
PNG Format
Portable Network Graphics
A lossless raster image format developed in the mid-1990s as a patent-free replacement for GIF and standardized as ISO/IEC 15948 and a W3C Recommendation.
- Lossless compression
- Alpha transparency
- 8-bit and 16-bit channels
- Supported by every browser
GIF Format
Graphics Interchange Format
A raster image format. It uses LZW compression, a palette of at most 256 colors per frame, and supports simple animation.
- 256-color palette per frame
- Lossless LZW compression
- Animation
- 1-bit transparency
How to convert PNG to GIF
Follow these steps to convert PNG to GIF online.
Choose your PNG file, or several at once.
Wait while the converter turns each file into GIF.
Download each new GIF file. Your original file isn't changed.
Related Tools
GIF to PNG
Extract GIF frames as PNG
PNG to AI
Convert PNG to AI format
PNG to AVIF
Convert PNG images to AVIF
PNG to DDS
Convert PNG images to DDS format
PNG to DOCX
Convert PNG to DOCX format
PNG to EPUB
Convert PNG to EPUB format
PNG to PDF
Convert PNG images to PDF documents
PNG Optimizer
Compress and optimize PNG files
PNG to PSD
Convert PNG to PSD format
PNG to RGB
Convert PNG to RGB format
PNG to TGA
Convert PNG images to TGA format
PNG to TIFF
Convert PNG images to TIFF format
PNG to TXT
Convert PNG to TXT format
ASF to GIF
Convert ASF files to GIF format
AVCHD to GIF
Convert AVCHD files to GIF format
CR3 to GIF
Convert CR3 images to GIF format
CUR to GIF
Convert CUR images to GIF format
JPEG to GIF
Convert JPEG images to GIF format
MPEG to GIF
Convert MPEG files to GIF format
MTS to GIF
Convert MTS files to GIF format
SWF to GIF
Convert SWF files to GIF format
TS to GIF
Convert TS files to GIF format
Video to GIF
Convert video files to GIF format
WMV to GIF
Convert WMV files to GIF format
What to know before converting PNG to GIF
- A GIF frame holds at most 256 colors, so photos and gradients lose detail.
- GIF transparency is on or off, with no soft edges.
- An animated PNG gives only its first frame as a still GIF.
- EXIF data, ICC profiles and XMP are not copied.
- Choose several PNGs at once and each GIF downloads on its own.
About PNG files
What is a PNG file?
Designed to replace GIF without its patent baggage, PNG was published by the W3C as a Recommendation in October 1996, the first format to get that status. RFC 2083 and ISO/IEC 15948:2004 followed, and the third edition of the specification arrived on 24 June 2025. Files start with a signature and continue as chunks; the header lives in IHDR, the pixels in IDAT and a closing IEND.
Nothing is thrown away in PNG: DEFLATE, a blend of LZ77 and Huffman coding, does the compressing. Pictures may be indexed, grayscale or truecolor at between 1 and 16 bits per sample, and an added alpha channel gives every pixel its own transparency. The third edition brought HDR support via the cICP chunk and room for Exif metadata in an eXIf chunk.
That makes PNG a good fit for screenshots and interface graphics, logos and images with transparency, and web graphics that must stay sharp. macOS saves screenshots as PNG by default.
Programs that open PNG files
Windows, macOS and Linux
- GIMP imports PNG for editing.
- ImageMagick reads PNG.
Windows
- Windows Photos opens the format.
macOS
- Preview counts among the macOS viewers.
Web and mobile
- Chrome and Firefox display PNG in a page, and Chrome and Safari do so on phones.
PNG and GIF compared
- Extensions and media types: image/png for .png (image/apng for animated files); image/gif for .gif.
- Colors: PNG allows up to 16 bits per sample and truecolor. A GIF picture draws from a palette capped at 256 colors.
- Compression: both are lossless. PNG uses DEFLATE and GIF uses LZW, which Unisys began licensing in 1994 before the patents ran out in 2003 and 2004.
- Transparency: PNG has a full alpha channel, so edges can fade out. GIF only lets one palette color be fully transparent.
- Animation: GIF can hold many frames with delays set in hundredths of a second. The current PNG specification covers animated PNG too, and software that cannot animate shows the default still image.
- Typical use: PNG fits screenshots and graphics you will edit again; GIF is for brief looping animations, plain graphics, icons, reaction images and stickers.
- Age: CompuServe introduced GIF in 1987, and the GIF89a version of July 1990 added extensions for transparency, frame timing, comments and application data.
- Support: every major browser displays both.
- Bit depth: each channel is held at 8 bits on the way through, so a 16-bit PNG loses its extra depth.
What changes in this conversion is the palette. The page decodes the PNG to pixels and writes a GIF, so anything beyond 256 colors is reduced, and animated PNGs reach the GIF as their first frame only.
Other ways to convert PNG to GIF
- GIMP: with the PNG open, pick Export As from the File menu and finish the new name with .gif. The GIF dialog offers interlace, which lets an image on a web page appear progressively as it downloads, a comment, and As animation with loop forever, a delay and frame disposal. GIMP only exports a maximum of 256 colors, and its docs advise indexed mode first.
- ImageMagick: run
magick input.png output.gif. Its format list marks both PNG and GIF read and write, with GIF as 8-bit PseudoColor up to 256 palette entries.
Problems with PNG files
- Colors look banded after conversion: the GIF has only 256 colors. A photo is a poor fit.
- Soft edges turn jagged or gain a halo: GIF can't keep partial opacity, so shadows and anti-aliased edges are flattened.
- GIMP export looks different: GIMP reduces a GIF export to no more than 256 colors, which can change gradients.
- A palette you didn't pick: this page reduces colors for you, while GIMP's docs advise setting indexed mode first, so the palette is chosen on purpose.
- Layer offsets: they may differ between GIMP and other programs, so avoid the PNG offset option.
- Metadata is missing: camera tags and profiles are optional in GIMP's PNG exports and absent from this page's GIF.
- A comment goes missing: GIMP omits a GIF comment containing characters outside seven-bit ASCII.
- An animated PNG shows one frame: this page keeps the default still image and nothing else.
- Animation frames cover each other oddly: GIMP's frame disposal setting decides how each later image covers the ones before, so choose combine or replace to suit.
Frequently Asked Questions
Everything you need to know about our converter
How do I convert PNG to GIF?
Does this make an animated GIF from my PNGs?
What happens to my colors?
What happens to soft transparent edges?
What happens to an animated PNG?
Will the GIF be bigger or smaller than the PNG?
Why convert PNG to GIF?
Does the GIF keep metadata?
Can I convert several PNGs at once?
Can I convert the GIF back to PNG without losing anything?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.