GIF to PDF Converter
Turn a GIF, or the first frame of an animated one, into a one-page PDF.
or drop files here
GIF Format
Graphics Interchange Format
A raster image format introduced by CompuServe. It uses LZW compression, a palette of at most 256 colors per frame, and supports simple animation.
- 256-color palette per frame
- lossless LZW compression
- animation
- 1-bit transparency
PDF Format
Portable Document Format
A document format created by Adobe in 1993 and standardized as ISO 32000. It keeps text, fonts, images and layout the same on any device.
- fixed page layout
- embedded fonts
- vector and raster content
- optional encryption and signatures
How to convert GIF to PDF
Follow these steps to convert GIF to PDF online.
Choose your GIF file, or several at once.
Wait while the converter turns each file into PDF.
Download each new PDF file. Your original file isn't changed.
Related Tools
GIF Compressor
Compress and optimize GIF files
GIF to HDR
Convert GIF to HDR format
GIF to ICO
Convert GIF images to ICO format
GIF to JFIF
Convert GIF to JFIF format
GIF to JXL
Convert GIF to JXL format
GIF to MKV
Convert GIF files to MKV format
GIF to MOV
Convert GIF files to MOV format
GIF to PGM
Convert GIF to PGM format
GIF to PPM
Convert GIF to PPM format
GIF to SWF
Convert GIF files to SWF format
GIF to TIF
Convert GIF images to TIF format
GIF to TIFF
Convert GIF images to TIFF format
AI to PDF
Convert AI to PDF format
BMP to PDF
Convert BMP images to PDF documents
PDF Compressor
Compress and optimize PDF files
CR2 to PDF
Convert CR2 images to PDF format
DNG to PDF
Convert DNG images to PDF format
JPG to PDF
Convert JPG images to PDF documents
JPS to PDF
Convert JPS stereo images to PDF format
PSD to PDF
Convert PSD to PDF format
SVG to PDF
Convert SVG to PDF format
TXT to PDF
Convert TXT to PDF in your browser: your text on A4 pages, long lines wrapped, blank lines and indentation kept, in Courier or, when the text needs it, a font for Greek, Cyrillic, Hebrew and Arabic.
XCF to PDF
Convert XCF images to PDF format
XML to PDF
Convert XML to PDF in your browser: any well-formed XML file as an indented listing of its elements, attributes and text on A4 pages. A file that isn't well-formed is refused with the parser's message.
Before converting GIF to PDF
- Only the first frame of an animated GIF goes into the PDF; the animation is not kept.
- Each GIF becomes its own one-page PDF; several files are never merged.
- Page size is the image's pixel count, one point per pixel, with no margin and no choice of paper size.
- The picture is embedded as a lossless PNG; no text layer is added.
Understanding GIF to PDF
What is a GIF file?
GIF was introduced by CompuServe in 1987. GIF89a, from July 1990, added extension blocks for transparency, frame delays, comments and application data. LZW coding compresses each GIF image without loss, and a palette may hold no more than 256 colors. Transparency is done by flagging a single palette color as fully clear, which rules out partial transparency. Many images fit in one GIF, with the pause between them set in hundredths of a second; that is the mechanism behind GIF animation. The media type is image/gif.
License fees for LZW were first demanded by Unisys in 1994. The US patent expired in 2003, with the European and Japanese equivalents lapsing in 2004. GIF displays in every major browser.
Programs that open GIF files
- Windows, Mac and Linux: GIMP exports stills or multilayer animations and opens a GIF's frames as layers. ImageMagick reads GIF.
- Web: GIF shows in Mozilla Firefox and in Google Chrome.
- Mobile: Chrome and Safari display GIF on phones.
GIF and PDF compared
PDF is a document format created by Adobe to keep text, fonts, images and layout the same on any device. A PDF page can hold text, vector graphics and raster images, and images inside it can use lossless Flate compression or JPEG. This page uses the raster option only. Links, bookmarks, form fields and annotations also have a place in PDF, though none is added here. Its media type is application/pdf.
Your browser decodes the GIF, and the first frame goes into the PDF. It is embedded as a lossless PNG. The palette still limits the picture to 256 colors, so nothing is smoothed or recovered. The page takes its width and height from the image, one pixel for one point, with no margin and no sheet size. Transparent pixels stay transparent, stored as a soft mask.
A GIF's other frames, their timing and the loop setting are left out. PDF is a page-based document family, not an animation format. If the motion carries the meaning, such as a process shown step by step, the PDF shows only one moment of it. Nothing recognizes text in the picture, and no metadata is copied.
With only 256 colors available to every GIF image, a photograph saved as GIF has already been reduced, and the PDF keeps it that way. If you have the original image, start from it instead for a better result.
Other ways to convert GIF to PDF
- GIMP: open the GIF, then choose File > Export As and type a filename that ends in .pdf. The PDF dialog offers Layers as pages, which creates a page for each layer, starting from the bottom layer, and GIMP's GIF export page describes an animation as one frame per layer. Frames that depend on earlier ones can look incomplete as separate pages.
- Preview on Mac: open the GIF, choose File > Export and set the format to PDF.
- ImageMagick: run
magick 'animation.gif[0]' still.pdf. The bracketed number picks one image from the sequence, and zero is the first. ImageMagick's format list says PDF needs Ghostscript.
Problems with GIF files
The PDF shows the wrong moment. Only the first frame is exported here, and an animation may start from a blank or partial picture. Use GIMP to choose the frame you want, or ImageMagick with a different bracketed number.
Frames look partial in an editor. Frame disposal controls how each new image covers the one before. In GIMP, choose combine or replace to match the animation before you export layers as pages.
Edges look rough. A GIF cannot hold partial opacity on soft edges, and Gradients can change when GIMP saves a GIF, because that export allows 256 colors at most. The PDF cannot smooth either. Look for the original artwork if you have it.
A comment goes missing. Characters beyond seven-bit ASCII in a GIF comment make GIMP leave the comment out, and this page writes no metadata of its own.
The text is not selectable. A caption in a GIF is a picture of text. Use OCR if you need to search or copy it.
The page size follows the pixels. The PDF page follows the pixel count, not a paper standard, so a small GIF makes a small page and a large one makes a large page.
Frequently Asked Questions
Everything you need to know about our converter
What is the way to make a PDF from a GIF?
Does an animated GIF become a multi-page PDF?
How do I use a later frame instead of the first?
Why is the first frame blank or looks unfinished?
How big is the PDF page?
Can I choose A4 or Letter?
Does the PDF improve the GIF's quality?
What happens to GIF transparency?
Is the text in the PDF searchable?
Can I put several GIFs into one PDF?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.