# PNG to GIF Converter

Convert PNG images to GIF format with dithering options for transparency handling

> Canonical page: https://elysiatools.com/en/tools/png-to-gif

- **Category:** Media

- **Keywords:** png, gif, convert, format, image, transparency, dithering, animation, web

## Overview

The PNG to GIF Converter allows you to quickly transform your PNG images into the GIF format while maintaining control over color palettes, transparency, and visual quality through advanced dithering options.

## Inputs

- **PNG Image** (file): Select a PNG image file...
- **Color Count** (range): Number of colors in GIF palette (2-256)
- **Use Dithering** (checkbox): Apply dithering for better color transitions
- **Transparency Handling** (select)

## When to use

- When you need to convert static PNG images into a web-compatible GIF format.
- When you want to optimize image file sizes by reducing the color palette.
- When you need to specify how transparent areas of your PNG should appear in the resulting GIF.

## How it works

- Upload your PNG image file using the file selector.
- Adjust the color count and enable dithering if you need smoother color transitions.
- Select your preferred transparency handling method, such as preserving transparency or setting a solid background color.
- Click the convert button to process your file and download the resulting GIF.

## Use cases

- Preparing simple graphics for legacy web systems that require GIF format.
- Reducing the file size of static icons or logos for faster web page loading.
- Converting images with specific transparency requirements for consistent UI display.

## Frequently asked questions

### Can I convert multiple images at once?

No, this tool currently supports processing one PNG image file at a time.

### What does the dithering option do?

Dithering helps simulate colors that are not in the limited GIF palette by creating patterns of pixels, resulting in smoother gradients.

### How do I keep the background transparent?

Select the 'Preserve Transparency' option in the Transparency Handling dropdown menu.

### Is there a limit to the file size?

Yes, the maximum file size for uploads is 50 MB.

### Why would I reduce the color count?

Reducing the color count can significantly decrease the file size of your GIF, making it load faster on websites.

## Related tools

- [Batch Image Convert](https://elysiatools.com/en/tools/batch-convert): Convert multiple images to different formats with quality settings and batch processing
- [Convert GIF to APNG](https://elysiatools.com/en/tools/gif-to-apng): Convert animated GIF images to APNG (Animated Portable Network Graphics) format with better quality and transparency support
- [Convert GIF to PNG](https://elysiatools.com/en/tools/gif-to-png): Convert GIF images to PNG format with support for both single-frame and multi-frame animations
- [Batch Image Convert](https://elysiatools.com/en/tools/image-batch-convert): Convert multiple image files between different formats like JPG, PNG, WebP, AVIF, TIFF, GIF with quality settings and batch processing
- [Image Resizer](https://elysiatools.com/en/tools/image-resize): Professional image resizing tool with multiple resize methods, aspect ratio preservation, and format conversion, supporting GIF/Animated WebP/APNG and JPEG/PNG/WEBP.
- [Image Scaling](https://elysiatools.com/en/tools/image-scaling): Apply scaling transformation to images with visual matrix representation. Supports uniform and non-uniform scaling with real-time preview.
- [Image Custom Matrix](https://elysiatools.com/en/tools/image-custom-matrix): Apply custom 2x2 transformation matrix to images. Input any four matrix values \[a, b; c, d\] to create unique transformations. Great for learning linear algebra and image processing.
- [Image Translation](https://elysiatools.com/en/tools/image-translation): Apply translation transformation to move images horizontally and vertically. Visualize the translation matrix and see how pixel coordinates shift.

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Go Samples](https://elysiatools.com/en/samples/web-image-processing-go): Web Go image processing examples including image reading/saving, image resizing, and format conversion
- [Web Image Processing TypeScript Samples](https://elysiatools.com/en/samples/web-image-processing-typescript): Web TypeScript image processing examples including image read/save, scaling, and format conversion
- [macOS Image Processing Objective-C Samples](https://elysiatools.com/en/samples/macos-image-processing-objectivec): macOS Objective-C image processing examples including image reading/saving, image scaling, and format conversion

## Related content

- [GIF Creation and Optimization for Deliverable Animation](https://elysiatools.com/en/hubs/gif-creation-and-optimization): Build an animated GIF from video clips or still images, cut its weight with color reduction, resizing, and compression, and tune playback speed and looping until it fits the delivery budget.
