F FileShrink

Convert PNG to PDF — wrap a lossless image into a document

Drop a PNG below and get a single-page PDF at the image’s native resolution. The PNG bytes are embedded losslessly and nothing is uploaded.

Your file is processed entirely in your browser. Nothing is uploaded.

PNG is the go-to format for screenshots, logos, diagrams, and anything with crisp edges or transparency. When a workflow needs that same content as a PDF — because a portal requires PDF uploads, because a legal archive standardizes on PDF, or because a print service accepts nothing else — you need a converter that preserves the PNG exactly and hands it back as a one-page PDF. This is not about adding text or changing the image; it is about repackaging the content into the container the receiving system expects.

This converter uses pdf-lib, a pure-JavaScript library that runs entirely in your browser. It reads your PNG, embeds the exact bytes into a new PDF document, sets the page size to match the image, and hands you a PDF to download. Because the PNG embedding in pdf-lib preserves the full alpha channel, any transparency in your PNG carries over into the PDF — which is useful for logos and screenshots you plan to composite over PDF backgrounds. The entire process runs locally, no upload, no server.

How to convert PNG to PDF in 4 steps

  1. 1

    Select your PNG file

    Drop the file into the dropzone or click to browse. Any PNG is accepted, including 8-bit, 24-bit, and 32-bit-with-alpha variants.

  2. 2

    Let pdf-lib embed the PNG

    The library creates a new PDF, adds a single page at the PNG’s exact resolution, and embeds the image bytes losslessly with the alpha channel preserved.

  3. 3

    Verify the result

    The result panel shows the size of the generated PDF. Expect it to weigh roughly the same as the source PNG plus a small amount of PDF metadata.

  4. 4

    Download the PDF

    Save the PDF to your device and use it wherever PNG upload is not accepted.

PNG vs PDF: image versus document

PNG is a raster image format — it carries a rectangular grid of pixels with an optional alpha channel and very little extra metadata. PDF is a document container — it can hold multiple pages of mixed content: text, images, vector paths, fonts, form fields, annotations. Converting PNG to PDF does not change the visual content at all; it just wraps the pixels in a PDF container so receiving systems see a “document” instead of an “image”. The resulting PDF has one page sized to match the PNG’s resolution, and the PNG’s full alpha channel is preserved inside it. When you need the exact image content but packaged as a PDF, this is the cleanest way to get there.

When should you convert PNG to PDF?

Archiving screenshots as legal documents

Compliance archives often require PDFs for consistent page rendering over decades. Converting a PNG screenshot to PDF makes it archive-ready without touching the content.

Submitting logos to a print service

Professional print shops typically want vector art or PDFs. If all you have is a high-resolution PNG logo, wrapping it in a PDF is a reasonable handoff format.

Uploading diagrams to a portal that requires PDFs

Technical documentation systems often require PDF uploads. Wrapping a PNG diagram is faster than re-exporting from the original source.

Preserving transparency in a document workflow

Because pdf-lib preserves the PNG alpha channel, you can wrap a transparent logo and composite it over colored PDF pages in a PDF editor later.

Frequently asked questions

Does the conversion affect the PNG quality?
No. pdf-lib embeds your PNG bytes into the PDF without modifying or re-encoding anything. The image inside the PDF is pixel-identical to the source PNG, and the alpha channel is preserved exactly.
Is transparency preserved?
Yes. PNG’s alpha channel carries into the embedded image inside the PDF. If you open the PDF in a viewer that honors transparency (Acrobat, Preview, Foxit), you will see the transparent regions as expected.
How big will the PDF be compared to the PNG?
Almost the same. pdf-lib adds a few hundred bytes of PDF structure around the PNG data, so a 5 MB PNG becomes roughly a 5 MB PDF. There is no compression magic happening either way.
Can I combine multiple PNGs into one PDF?
Not with this tool — it produces a single-page PDF from a single PNG. A multi-image merge tool is on our roadmap.
Is my PNG uploaded?
No. Everything runs in your browser through pdf-lib. The PNG is read locally, embedded locally, and the resulting PDF is produced locally. Nothing is ever uploaded, logged, or stored on a server.

Related conversions