PNG to PDF

Turn one PNG or a whole folder of them into a single PDF, one image per page, on your own machine.

Runs on your devicePDFWorkingNo account needed

What this tool does

PNG to PDF writes a new document holding one page per image, and pdf-lib does the embedding. What lands on the page is not the PNG file itself: the library decodes it to raw pixels, stores the colour channels as a Flate-compressed image and splits the alpha channel off into a separate soft mask. No lossy codec is anywhere in that path, so an ordinary eight-bit PNG arrives on the page with the same pixel values it had on disk — none of the softening around sharp edges that makes a lossy encoder the wrong choice for screenshots and line art. What does not survive is the file's own encoding, which is rebuilt rather than carried across.

Transparency survives the trip, which is the part that separates this from converting a photograph. The alpha channel becomes a soft mask on the image, and whatever is transparent shows the Page background colour painted underneath it — white unless you move the swatch. Set that colour deliberately when your images have knocked-out corners or a soft shadow, because it becomes the visible background of the finished page rather than a neutral nothing.

The Page size menu decides the geometry, and its default deserves a warning. Fit the page to each image treats one pixel as one PDF point — a seventy-second of an inch — so the sheet comes out the size of the picture, with any margin added around it rather than eaten out of it. That reads well on screen and holds the image at native resolution, but a 2560-pixel-wide screenshot becomes a page around 900 mm across, which no printer will take without shrinking it first. Choose A4, US Letter, A3 or A5 when the file is going to paper: each image is then scaled to the largest size that fits inside the sheet, proportions kept, centred, with the margin you set in millimetres taken off every edge beforehand.

Two limits are worth knowing before you start. What comes out is a picture of a page, not a document: text inside a screenshot stays a bitmap, so the result cannot be searched or copied from, and PDF OCR is the tool that changes that. And the finished file is normally heavier than the images that went into it, because PNG's per-row filters and its colour palette are discarded and every page stores plain eight-bit RGB samples instead — a compact indexed graphic can come out around three times its original size. Run Compress PDF afterwards if the document has to travel by email. All of it happens in this browser tab through pdf-lib, which this site serves itself: the images are read from disk into memory and the document is handed straight back, with no copy going anywhere.

One format note before you queue a folder up. A 16-bit-per-channel PNG is reduced to 8 bits per channel on the way in, and an embedded colour profile is dropped because each page is written as DeviceRGB, so a wide-gamut export can shift slightly. Animated PNGs are refused outright rather than flattened to their first frame.

How to use it

  1. Add your PNG files. The file dialogue is filtered to PNG and takes as many as you like at once. Every image becomes one page of a single document rather than a file of its own.
  2. Set the order. As added keeps the sequence you dropped them in. File name A → Z sorts numerically, so shot-2 lands before shot-10 instead of after it.
  3. Choose a page size. Fit the page to each image keeps native pixel dimensions and grows the sheet outward by the margin. A4, US Letter, A3 and A5 scale the image to fit instead, and the Orientation menu appears only for those — Match each image turns the sheet landscape when the picture is wider than it is tall.
  4. Set the margin and the background. The margin is read in millimetres and applies to all four edges of every page. The background colour fills the whole sheet, so it is also what shows through any transparent pixels.
  5. Name the output and save. Left blank, one image keeps its own name with .pdf on the end, while several produce something like shot-01-and-4-more.pdf. Type a name without an extension and .pdf is added for you.

Processing & privacy

Runs on your device. Your file is processed directly in this browser.

Common use cases

Sending a run of screen captures as one file

Going from screenshot to PDF is the usual reason people land here: a single attachment in a fixed order beats a folder of loose images someone has to open one at a time.

Circulating exported design frames for review

Frames exported as PNG reach the page with their pixel values intact and their edges hard, and one image per page gives reviewers something they can page through and mark up.

Filing receipts or forms captured on screen

A dated set of images sorted by file name becomes one record, which document systems and expense tools accept where a pile of separate PNGs is refused.

Making a printable sheet from a diagram

Pick A4, add a margin, and the diagram is centred at the largest size that fits — ready for a printer that would reject the raw pixel dimensions.

Questions

Does anything about my PNGs reach a server?
No. pdf-lib is served from this site and assembles the document inside this browser tab, so the PNGs are read from your own disk and the finished PDF never leaves it. Once that library has loaded, a conversion needs no network at all.
Does the conversion lose any quality?
No lossy step is involved: the pixels are decoded and re-compressed with Flate, which is reversible, so a standard eight-bit PNG is pixel-for-pixel the one you added. Two things do change in the rebuild — 16-bit channels are reduced to 8 bits, and an embedded colour profile is not carried over, since the page is written as DeviceRGB.
What happens to transparent areas?
They show the Page background colour, which is white until you change it. The alpha channel is kept as a soft mask over the image, but a PDF page is opaque, so something is always visible behind it.
Can I search the text in the finished PDF?
No. A screenshot of text is still an image once it is on the page, and no text layer is added. Run PDF OCR on the result when the words need to be selectable.
Why is the PDF bigger than the PNGs I added?
Because each image is rebuilt rather than copied across. The filters and palette that make a PNG small are thrown away, and the page stores plain RGB samples under Flate, which for a flat few-colour graphic can treble the size. Compress PDF will bring the result down when size matters more than fidelity.
Can I mix JPGs in with the PNGs?
The file dialogue offers PNG only, but that filter stops at the dialogue: a JPG dropped onto the drop zone is accepted and embedded as it stands, because this tool, JPG to PDF and Image to PDF are one converter behind three pickers. Image to PDF is the one that says so on the tin, and the safer place to mix formats deliberately.
Will an animated PNG work?
No. An APNG is rejected with “Animated PNGs are not supported”, because the decoder returns one frame per animation step and only a single still can be placed on a page. Save the frame you want as an ordinary PNG first; the APNG Converter handles the animation itself but converts between animated formats rather than giving you a still.
Can I put more than one image on a page?
Not here. Each image gets its own page, in the order you set. Run N-up PDF over the finished document when you want several of them arranged on a single sheet.

Related tools

  • Merge PDF — Combine several PDFs into one document in the order you choose.
  • Split PDF — Split one PDF into separate documents by page range.
  • Compress PDF — Reduce PDF file size while preserving the quality that matters.
  • PDF to JPG — Export every page of a PDF as a JPG image.
  • JPG to PDF — Turn one or many JPG photos into a single PDF.
  • Protect PDF — Add a password and set permissions on a PDF.