PixelSquishBlog

Transparent GIF to JPG: why the background turns white

2026-11-11

You convert a GIF sticker or a small logo to JPG, and the see-through background comes back solid white. If the GIF was animated, the movement is gone too. Both are expected, and both have a simple explanation — plus a one-click alternative when white is not what you wanted.

How GIF transparency works

A GIF stores at most 256 colours in a table, and it can mark one entry of that table as "transparent". Every pixel using that entry is fully see-through; every other pixel is fully solid. There's no in-between — no soft, half-transparent edge as in a PNG.

JPG has nothing comparable. It stores a colour for every pixel and has no channel for transparency. So when a transparent GIF becomes a JPG, something has to go into those empty pixels.

What our converter puts there

On GIF to JPG, the canvas is painted pure white first, and the GIF is drawn on top. Wherever the GIF was transparent, the white shows through. We fill with white deliberately: transparent pixels still carry some colour value inside the file, often black, and simply dropping the transparency would expose that — which is how people end up with mysterious black boxes. White is the predictable choice for documents, white web pages and printing.

One side effect to look for: GIFs are often made to sit on a particular background colour, and their edge pixels are blended toward that colour. A GIF designed for a dark page can show a thin dark fringe once it sits on white. That fringe is in the GIF's own pixels, not added by the conversion.

Only the first frame survives

A JPG holds one still picture, so an animated GIF gives you its first frame. If the animation starts on a blank or fading frame, the JPG will be blank or faded too. Our earlier post on getting a still from a GIF covers that in more detail.

Keeping the transparency: switch to PNG on the same page

The GIF to JPG page is our converter with JPG pre-selected; the row of output formats is right there. Choose PNG and every result is redone with the transparent pixels left transparent — the cut-out survives.

The PNG is written as a palette image when that's smaller, and a GIF is a good fit for that: it never has more than 256 colours, so the PNG can usually store it exactly. Pay attention to the quality setting here. At Recommended or High quality the palette budget is 256 colours; at Smaller it drops to 128, which can thin out a colourful GIF. For a straight GIF-to-PNG conversion, stay on Recommended or High.

WebP keeps transparency too, but on this converter only PNG output keeps the transparent background; the other formats are painted white first, exactly like JPG.

When white is fine

If the image is going onto a white page, into a document, or to a printer, the JPG is the lighter and more compatible file, and the white is invisible. Pick PNG when the image will sit on a coloured or photographic background, or when you'll place it in a design later.

Either way, the conversion runs in your browser — a whole batch of GIFs at once, nothing uploaded.

The short version

No sign-up, nothing uploaded — it runs in this tab.

Convert GIF to JPG →
ToolsBlogAboutContactPrivacyTerms