Skip to content
Server-sideDeleted in 30 minutes

Convert GIF to PDF

PDF is a page description format, and a page does not animate. So the useful thing to know before converting is what happens to a GIF that has frames: the first one becomes the page, and the rest are not carried. For a static GIF that is no loss at all, and the result is a document you can email, print or file where an image would have been refused.

Use this without the search next time. Prathom Workbench puts Prathom's tools in your toolbar.

Add to Chrome — free
GIFPDF

Drop your GIF file here, or click to browse

Up to 50 MB. Deleted automatically after 30 minutes.

What it does

  • The first frame becomes a single PDF page
  • Palette colors embedded as they are, with no further reduction
  • Pixel dimensions mapped to the page rather than resampled

How to use GIF to PDF

  1. 1

    Upload the GIF

    Static or animated. You do not need to know which; if it has frames, the first is used.

  2. 2

    The frame becomes a page

    The image is placed on a page sized to it, so nothing is cropped and nothing is stretched to a paper size you did not ask for.

  3. 3

    Check it before printing

    A GIF is often small in pixel terms because it was made for a screen. Enlarged onto paper it can look soft, and no conversion can add detail that was never captured.

How it works

The GIF is decoded and its first frame is taken. A one-page PDF is then built with a page box matching the frame's pixel dimensions, and the image is placed to fill it. The palette colors are embedded as they are; nothing is re-quantized on the way in, because the destination has no palette limit to squeeze into.

Sizing the page to the image rather than to a paper standard is deliberate. Fitting a 1600 by 900 chart onto A4 would either letterbox it or crop it, and both are decisions better left to whoever prints it.

Why a GIF becomes a PDF at all

Almost always because something refuses images. Mail filters strip them, case management systems accept documents only, and a printed appendix wants a page rather than an attachment. PDF is the format those systems agree on, and wrapping the image in one is the cheapest way through.

The animation question

This is the only surprising part of the conversion. GIF is the one common image format that carries a timed sequence, and PDF is a page format with no equivalent. The first frame is used because it is the frame a viewer shows before playback, so the output matches the still preview people already associate with the file.

What is not changed

Resolution, color and aspect ratio. A PDF cannot add detail, so a small GIF makes a small page that will look soft when enlarged. If the result is destined for print, start from the highest-resolution source you have rather than from a screen-sized GIF.

An animation becomes one page

A GIF may hold many frames and a PDF page holds one picture, so this takes the first frame. For a still GIF — a diagram, a logo, a screenshot — that is the whole file and nothing is lost.

For an animation it is a single moment, which is occasionally what you want and usually a surprise.

The other thing to expect is that the image will look exactly as it did. GIF holds at most 256 colors per frame, and putting it into a PDF does not add any. A photograph saved as a GIF was already banded, and the PDF faithfully reproduces the banding.

Examples

A chart for a report appendix

q3-chart.gif - 1600x900, 64-color palette, 88 KB
q3-chart.pdf - one page, 1600x900 points, 92 KB

A flat chart is exactly what both formats handle well, so the page is a faithful copy and the file barely grows. It can now be attached where a GIF would be stripped or refused.

An animated reaction GIF

loop.gif - 480x270, 42 frames, 1.9 MB
loop.pdf - one page, first frame only, 44 KB

The other 41 frames are gone, and the size drop is entirely that. If the motion is the point, a PDF is the wrong destination; keep the GIF or convert it to a video format instead.

Frequently asked questions

What happens to an animated GIF?

Only the first frame becomes the PDF page. A PDF page is a static description of marks on paper and has no way to hold a timed sequence, so the remaining frames are not carried across. This is usually obvious in the result but occasionally surprising, because many GIFs on the web are animated without looking it in a thumbnail. If the animation matters, do not convert to PDF.

Will the image be resized to A4?

No. The page is sized to the image rather than the image being fitted to a paper size, so nothing is cropped and the proportions are unchanged. That means a wide screenshot produces a wide page, which is often what you want for an appendix or an attachment. Your printer will apply its own scaling when the page does not match the loaded paper.

Does converting to PDF improve the image?

It cannot. A PDF made from a GIF contains the same pixels the GIF contained, at the same resolution, with the same palette. What changes is the container and what that container is accepted by: PDFs pass through mail systems, document management and print workflows that reject image files. If the source is soft or small, the PDF will be soft or small too.