Skip to content

GIF to PDF converter

GIF → PDF made a one-page 1,757 byte PDF from our two-frame GIF, using only the red first frame.

  • Converted with Image engine · nothing stored
  • Free: 5 conversions a day · 5 MB each
  • Higher limits →

From real runs

What you get — and what changes

  • First frame Kept

    The first GIF frame became the image on the PDF page and rendered as red in our pixel check.

  • Later frames Lost

    The second animation frame and timing data were removed before the PDF was written.

  • PDF page count Changed

    The animated input became a single PDF page, not one page per animation frame.

  • Selectable text Lost

    Labels drawn into the GIF frame remain image pixels inside the PDF, with no text layer.

  • Page size Changed

    The 64×48 GIF became a 48×36 pt PDF page in the local API run.

  • File size Changed

    The 542 byte GIF became a 1,757 byte PDF after page and image wrapper overhead.

Sample conversions

Animated status badge

Input
A 64×48 GIF with a red first frame, green second frame, looping metadata, and short durations.
Output
A one-page PDF showing the red frame. PyMuPDF found no text, and the green frame was absent.

GIF diagram for an email attachment

Input
A small animated diagram where later frames reveal steps in a process.
Output
A static PDF page of the first state only. A document with each frame exported separately would be needed for the full sequence.

A real GIF → PDF run

We converted our GIF sample (16 KB) with Image engine on 2026-10-20. It took 23 ms and produced a 32 KB PDF file, 2.1× larger than the input. The engine raised 1 warning, listed below.

Input · sample.gif · 16 KB

1200 × 800 px, GIF87a

Width
1,200
Height
800
Encoding
GIF87a

Output · sample.pdf · 32 KB

PDF 1.4, 1 page, no text layer, 1 image object

Version
1.4
Pages
1
Images
1
Text layer
no
  • Image metadata stripped from output.

Is your file a scan?

GIF → PDF gives you a still page, not recognized text. For screen-recorded forms or menus, capture the important frame and use a text extraction workflow.

Options and when to change them

background
Set a matte color if the first GIF frame contains transparent pixels that need predictable paper output.
width
Resize the first frame before placing it on the PDF page.
height
Use with width when the PDF page should be based on an exact raster size.
fit
Choose contain or cover when resizing into a fixed page raster before PDF creation.

Do it yourself

Pillow 11

bash
from PIL import Image, ImageSequence

im = Image.open("in.gif")
first = next(ImageSequence.Iterator(im)).convert("RGB")
first.save("out.pdf")

This writes a still image PDF and deliberately ignores every frame after the first.

GIF to PDF by API or MCP

The HTTP API and the MCP server run the exact engine this page uses (Image engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=gif&to=pdf.

curl
curl -X POST https://filetypeconverters.com/api/v1/convert \
  -H "Authorization: Bearer $FTC_API_KEY" \
  -F "file=@input.gif" -F "from=gif" -F "to=pdf" \
  -F 'options={"dpi":96}' \
  --output output.pdf

Options this engine accepts for GIF → PDF

KeyApplies toTypeDefault
dpiReading GIFnumber96
widthWriting PDFnumber0
heightWriting PDFnumber0
fitWriting PDFcontain · cover · fillcontain
qualityWriting PDFnumber90
backgroundWriting PDFstring#ffffff
stripMetadataWriting PDFbooleantrue
API reference

When this is the wrong conversion

  • Use animation-aware export if each GIF frame should become a PDF page.
  • Use GIF → WebP with an animation-capable tool when playback matters more than document wrapping.
  • Use OCR after selecting a frame if words inside the GIF need to be searchable.

GIF to PDF questions

Does GIF → PDF create one page per frame?

No. The tested API produced one PDF page from the first frame only.

Will text labels in the GIF be searchable in the PDF?

No. PyMuPDF extracted zero text from the output because the label was part of the image.

Why is my PDF larger than the GIF?

A PDF has page structure and embedded image data. Our 542 byte GIF became a 1,757 byte single-page PDF.