PNG to GIF Converter

Turn one PNG into a GIF, or a set of them into a looping animation, entirely in your browser. You choose the order, the frame timing and the width, and nothing is sent to a server.

  • 免費
  • 無需註冊
  • 無水印
  • 在瀏覽器裏運行

PNG to GIF

轉換器是編譯成 WebAssembly 的 ffmpeg。你選第一個文件時它會下載一次(約 30 MB),之後就留在瀏覽器緩存裏。

幀按顯示的順序播放,用箭頭調整先後。所有幀都跟隨第一張圖的形狀,更小的圖會居中放在白底上。

文件在你自己的瀏覽器裏處理,不會上傳。引擎本身有 30 MB,只在第一次使用時下載,之後都從瀏覽器緩存裏取。

PNG to GIF 怎麼用

  1. 1Drop your .png files onto the box above, or click it to pick them. A single file is fine, and so are thirty.
  2. 2Put them in the order you want with the arrows, then pick a frame time and an output width.
  3. 3Press create, watch the GIF play in the page, then download it.

Two different jobs behind one search

People type "png to gif" meaning one of two things, and this tool covers both without asking you to decide up front. The first is plain format conversion: you have a single image and something on the other end will only accept a .gif. Drop one file, convert png to gif, and you get one still GIF back.

The second is animation. You have a numbered sequence of exported frames, a set of screenshots, or a few photographs, and you want them to play in a loop. Drop them all in, arrange them, and the same tool writes a single animated GIF. Nothing changes about how you use the page; the number of files you give it decides what comes out.

The trade you are making

GIF is an old format and it shows in two places. It holds a maximum of 256 colours per frame, so anything with a gradient or a photographic subject will band visibly. It also stores transparency as a yes or no per pixel rather than as a range, so the soft edges a PNG can describe collapse into hard ones.

Both are properties of the format and no converter avoids them. What this one does is limit the damage: the palette is computed from your actual images instead of a generic one, and semi-transparent areas are composited onto white so a logo does not come out with a black halo. Every frame is normalised to the shape of the first image, with smaller frames centred rather than stretched.

When to reach for MP4 instead

If the frames are photographs or rendered video, a short MP4 will look better and be a fraction of the size, and every modern chat app plays one inline. GIF earns its place where autoplay in a plain image tag is required, where the recipient's software is old, or where the picture is flat graphics and screenshots, which is exactly the content the 256 colour limit was designed around.

Everything happens in your browser. Files are never sent to a server and nothing is stored, and the page keeps working once the encoder has been fetched.

常見問題

Can I convert a single PNG, or do I need several?
One is enough. A single image produces a still GIF, which is what you want when some old forum, signature field or ancient piece of software insists on the format. Add more files and the same tool writes them as frames of one looping animation instead.
Does the transparency survive?
Partly, and this is the honest catch. GIF stores transparency as a single on or off flag per pixel, while PNG stores 256 levels. Hard edges come through fine; a soft drop shadow or a feathered edge turns into a jagged fringe. Frames are placed on white where a PNG was see-through, so text and logos stay readable.
Why does my GIF look worse than the PNGs?
Because GIF allows at most 256 colours in a frame, and a photograph or a gradient contains far more. The palette is built from your own images rather than a fixed one, which keeps the result as close as the format permits, but banding on smooth gradients is unavoidable. If the pictures are photographs, MP4 is the better destination.
What size will the file be?
Larger than you expect. GIF is an inefficient way to store moving pictures, so ten full-width frames can run to several megabytes. The output width control is the lever that matters most; 480 pixels is a good default for anything going into a chat or a document.
Are my images uploaded?
No. They are decoded and encoded by your own browser. The one thing that crosses the network is the encoder itself, about 30 MB, fetched the first time you use it and cached after that.

更多免費工具