GIF を PNG に変換
下のエリアに GIF ファイルをドロップすると PNG ファイルが得られます。変換はお使いの端末上で行われるため、アップロードは発生せず、ブラウザのメモリが許す限りサイズや枚数の制限もありません。
ここに画像をドロップ
Ctrl/⌘ Vスクリーンショットやコピーした画像を貼り付け
対応形式: GIF
値を下げるほどファイルは小さくなります。写真なら 75 が扱いやすい既定値です。
100% ブラウザ内処理 ファイルは一切アップロードされません。
なぜ GIF を PNG に変換するのか
できあがる PNG ファイルは、元の GIF より大きくなります。PNG の幅広い互換性と扱いやすさを得るための代償です。
PNG は可逆形式なので、変換によって新たな圧縮ノイズが加わることはありません。GIF ファイルに残っているディテールはそのまま引き継がれます。
PNG は多くの画像編集ソフトやデザインツールが前提としている形式です。そのままウェブに載せるのではなく、この先も編集を続ける場合には現実的な選択肢になります。
GIF is a format from 1987 that survived on the strength of one feature nothing else had for a long time: it moved. For a still image it is comprehensively outclassed — it cannot hold more than 256 colours and its transparency is crude. Converting a still GIF to PNG is almost always an upgrade in capability, though as with any conversion it cannot add back what the source never had.
Before you convert
The 256-colour ceiling is baked in and stays
A GIF holds a palette of at most 256 colours, chosen when the file was made. Every smooth gradient in the source was already approximated with dithering — that speckled, grainy look across skies and shadows. PNG can hold sixteen million colours, but there are only 256 arriving. The dithering pattern comes across faithfully as part of the picture.
Jagged edges do not smooth out
This is the one that surprises people. GIF transparency is a single on/off flag per pixel — a pixel is either fully visible or fully gone, with nothing in between, which is why GIF logos have those stair-stepped edges. PNG has a proper 8-bit alpha channel with 256 levels of partial transparency, so it is fully capable of a smooth edge. But the conversion only carries over the two states that exist in the source. Getting a soft edge means re-cutting it in an editor; no format change will do it for you.
Animation stops at frame one
If the GIF moves, you get its first frame. That frame is often not the one you would have picked — many animations open on a blank or near-blank state. If you wanted to keep the motion, animated WebP is the modern equivalent and needs a different kind of tool than a still image converter.
What carries over
- All 256 colours, exactly
- Transparent areas, as on/off
- Room to edit without further loss
What does not
- Animation beyond the first frame
- Usually some file size — PNG may be larger
GIF と PNG の比較
| 項目 | GIF | PNG |
|---|---|---|
| 圧縮方式 | 可逆 | 可逆 |
| 透過 | 対応 | 対応 |
| 一般的なファイルサイズ | 同等の JPEG のおよそ 200-400% | 同等の JPEG のおよそ 300-500% |
| 互換性 | 数十年前のソフトも含め、どこでも開けます | 数十年前のソフトも含め、どこでも開けます |
| 主な入手元 | ページ容量を最適化しているウェブサイト | スクリーンショット、ロゴ、図版 |
よくある質問
GIF ファイルはどこかにアップロードされますか?
いいえ。デコーダーとエンコーダーはこのページ内で動く WebAssembly モジュールです。形式を初めて使う際はネットワークタブにコーデックの取得が表示されることがありますが、ファイルを含む通信はありません。対応ブラウザでは一度使ったコーデックがキャッシュされ、以後は同じ変換をオフラインでも実行できます。
ファイルサイズや枚数の制限はありますか?
当サイト側では設けていません。実際の上限は端末のメモリです。変換中は画像を非圧縮で保持する必要があるためです。一般的なノートパソコンなら、1 億画素程度までは問題なく変換できます。
PNG に変換すると画質は落ちますか?
PNG は可逆形式のため、すべてのピクセルがそのまま保たれます。その代わりファイルは元より大きくなるのが一般的です。データを一切失わないことの対価です。
スマートフォンでも使えますか?
はい。同じ WebAssembly モジュールがモバイルブラウザでも動作します。スマートフォンの CPU は非力なためデスクトップより時間がかかり、非常に大きな画像ではメモリの上限に達しやすくなります。
アニメーション GIF はどうなりますか?
最初の 1 コマだけが変換されます。PNG は静止画の形式なので、残りのコマを収める場所がありません。アニメーションを保ちたい場合は、静止画変換ではなく動画への変換が必要です。
なぜ PNG のほうが元より大きくなるのですか?
PNG は可逆形式なので、ピクセルを近似せずすべて正確に保存します。写真の場合、非可逆の元ファイルより数倍大きくなるのが普通です。PNG が本領を発揮するのはスクリーンショット、ロゴ、線画、そして透過が必要な画像であって、写真ではありません。