PNG to PDF
Turn one PNG or a whole folder of them into a single PDF, one image per page, on your own machine.
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
- 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.
- 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.
- 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.
- 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.
- 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?
Does the conversion lose any quality?
What happens to transparent areas?
Can I search the text in the finished PDF?
Why is the PDF bigger than the PNGs I added?
Can I mix JPGs in with the PNGs?
Will an animated PNG work?
Can I put more than one image on a page?
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.