Convert GIF to PDF

Converting GIF to PDF puts the picture on a page that any form, printer or archive will accept, without re-compressing it: the PDF holds exactly the pixels the GIF held. Drop the file above and it converts on your own machine. An animated GIF becomes a still — a PDF page cannot move.

  • Where it runs In your browser. The file is never uploaded.
  • Lossless Nothing is discarded. The PDF holds exactly what the GIF held.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Only the first frame is converted; an animated GIF becomes a still image.

Up to 100 files at once. Mixed formats are fine.

Why a GIF has to become a PDF at all

Almost nobody converts a GIF to a PDF because they want a PDF. They do it because something on the other end insists: a government upload form that lists exactly three accepted extensions, a print shop whose intake only takes PDF, a case-management system, a university submission portal. The picture is fine; the container is wrong.

That framing decides what a good conversion looks like here. Nothing needs to be improved, resized or optimised — the file simply has to arrive in a wrapper the other side will open, with the contents unchanged. This page does that and stops.

The animation question, answered first

A PDF page has no timeline. It describes marks on a fixed sheet, which is precisely why it prints identically everywhere, and that same property means a moving image has nowhere to live in it. An animated GIF converted to PDF becomes one still frame — there is no setting, on any tool, that changes this.

If what you actually need is to keep the motion and get out of the GIF format, the target is a video: GIF to MP4 keeps every frame, plays everywhere, and is usually a fraction of the size because video codecs handle repeated frames far better than GIF ever could.

Nothing is re-compressed on the way in

A GIF holds at most 256 colours, chosen when the file was made. Those colours are read out and written into the PDF as they are, with no second lossy pass over them, so the conversion cannot introduce blocking, banding or soft edges. A screenshot of text stays crisp; a line drawing keeps its hard black.

What it also cannot do is put back what GIF already discarded. If the original was a photograph reduced to 256 colours years ago, the banding in the sky is baked into the file and the PDF will show it faithfully. Converting to PDF is a change of container, not a restoration.

Page size: fit the image, or fit the paper

The default makes the page the exact dimensions of the picture. No white border, no letterboxing, no decision about paper — which is the right answer for an upload, where the file is going to be looked at on a screen and the form does not care about A4.

Choose A4 or US Letter when the PDF is genuinely going to be printed or filed alongside other paper-sized documents. The image is then centred on the sheet, and it is scaled down if it does not fit but never scaled up. That last rule is deliberate: enlarging a 200-pixel logo to fill an A4 page would turn a sharp mark into a blurry one, and a small picture centred on a large page is the honest result.

Adding a margin, and when it matters

A margin puts empty space around the picture. On the default page size it grows the page; on A4 it shrinks the room the image is given. It is worth setting when the document is going to a printer, because most printers cannot put ink right up to the edge of the sheet and will otherwise crop into your image.

For anything that stays on a screen, leave it at zero. A margin on an upload is just white space the reviewer has to scroll past.

Transparency becomes white, in practice

GIF supports a single transparent colour rather than a real alpha channel — a pixel is either fully see-through or fully opaque. That transparency is carried into the PDF, but there is no such thing as a transparent page, so what you see when you open the file is the picture sitting on white.

For a logo or a diagram that is almost always right. The case where it bites is a light-coloured mark drawn to sit on a dark website: on the white page it disappears. Put it on its intended background colour before converting rather than after.

Converting a folder of GIFs at once

Drop up to a hundred at a time. Each one converts separately with its own progress, keeps its filename with the extension swapped, and the whole batch comes back as a single ZIP. Because the work runs on your machine there is no upload to wait through and no queue behind other people.

Each GIF becomes its own one-page PDF. Assembling them into a single multi-page document is a separate step — convert them all here first, then merge the PDFs in one go.

Nothing about the file is sent anywhere

The conversion is done by code running in your browser tab, on your own processor. The GIF is never uploaded, so there is no server copy to be retained, no account to create and no daily count to run out of. Watching the network tab while you convert is the honest way to confirm it: nothing carrying the file goes out.

That matters more than it sounds for exactly the documents that end up as PDFs — scans of correspondence, forms with names on them, photographs of paperwork. The most reliable way to keep a file private is not to send it.

How to turn a GIF into a PDF page

  1. Drop your GIF onto this page — a whole folder works too.
  2. Leave the page size on "fit to image", or pick A4 or US Letter.
  3. Download the PDF, or the whole batch as one ZIP.

GIF and PDF: a picture against a document

GIF compared with PDF
GIFPDF
Full nameGraphics Interchange FormatPortable Document Format
File extension.gif.pdf
Media typeimage/gifapplication/pdf
CompressionLossless — nothing is discardedEither, depending on the setting
First published19871993
Published byCompuServeAdobe
SpecificationGIF89aISO 32000-2
LicensingOpen standardOpen standard
Standing todayLegacy, still read everywhereCurrent
Bit depth8
Colour it can describeindexed paletteRGB, CMYK, greyscale
Largest image65,535 px per side
Opens in a browserEvery browserEvery browser
Considered insteadWebP, MP4DOCX, HTML

What survives

Nothing is discarded. GIF and PDF both store their content losslessly, so the conversion is a change of packaging rather than a change of quality, and it can be repeated without accumulating damage.

Transparency survives. Both GIF and PDF store an alpha channel, so a cut-out stays cut out and nothing is filled in behind it.

Opening the result

GIF dates from 1987 and is largely superseded. PDF is what current software writes, so the conversion is as much about staying readable as about the file itself.

The usual programs do not overlap: GIF opens in GIMP, Adobe Photoshop and ImageMagick, PDF in Adobe Acrobat, Preview and LibreOffice Draw — so whoever receives the result needs something from the second list.

What each format is for

The two are aimed at different work: GIF at the web, PDF at handing a finished file over, print and archiving. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.

GIF is CompuServe's format, published in 1987. It records 8 bits per channel.

PDF comes from Adobe and dates from 1993, specified as ISO 32000-2. Adobe Acrobat, Preview and LibreOffice Draw all read it.

GIF to PDF: animation, transparency and page size

Are my GIF files uploaded anywhere?

No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is pdf-lib, a PDF writer that runs entirely in JavaScript; your browser fetches it once and caches it.

Does the animation survive as a PDF?

No, and nothing can make it. A PDF page is a static page: it has no frame rate and no timeline. An animated GIF becomes a single still image in the PDF. If the motion matters, convert the GIF to MP4 instead and keep the PDF for the still.

Is converting GIF to PDF lossless?

Yes. The picture is decoded and written into the PDF without any lossy compression step, so what you see in the PDF is pixel for pixel what was in the GIF. GIF is limited to 256 colours to begin with, and the PDF inherits exactly those.

What happens to a transparent background?

It is preserved in the image data, but a PDF page is white underneath, so a transparent GIF looks as though it has a white background when you open it. That is usually what people want; if it is not, put the GIF on the colour you need before converting.

Can I choose A4 instead of the image size?

Yes. The default makes the page exactly the size of the picture, which is right for an upload. Choosing A4 or US Letter centres the image on a real paper size instead, and it is never enlarged to fill the sheet — a small icon stays small and sharp rather than being blown up.

Can I put several GIFs into one PDF?

Not from this page — each GIF becomes its own single-page PDF, and a batch comes back as a ZIP of them. To assemble one document, convert them here and then merge the PDFs.

Are my files uploaded to convert them?

No. The whole conversion runs inside your browser using your own machine, so the GIF never leaves the device. That also means there is no queue and no daily allowance. The one ceiling is ours: 100 MB a file, a hundred files to a batch.

More about these formats

Where these figures come from

The claims this page makes about GIF and PDF are checkable, and these are the documents that settle them.