PNG to PDF Converter
Add PNG screenshots or graphics, set the page order and size, and download one PDF with every pixel kept — built in your browser, nothing uploaded.
- Free
- No account
- Runs in your browser
- Nothing uploaded
Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy
What is PNG to PDF Converter?
This PNG to PDF converter puts one or many PNG images into a single PDF, one image per page, without losing a pixel. It suits the files PNG is used for — screenshots, diagrams, charts, scanned line art, logos — when they need to travel as one document: a bug report, a set of slides exported as images, a design proof.
PNG is a lossless format, and it stays lossless here. The PDF is built in your browser with the open-source pdf-lib library, which decodes each PNG to its pixels and stores them in the PDF with lossless Deflate compression — the image in the PDF has exactly the pixel values of the PNG. JPG files can be added too; they are copied into the PDF unchanged.
Transparency works the way you would expect on paper. The PNG's alpha channel is stored as a soft mask, so transparent and semi-transparent areas let the page underneath show through — and a PDF page is white. A logo on a transparent background therefore appears on white, with its soft edges intact rather than a hard outline or a black box.
The PDF can come out larger or smaller than the PNG files, because the pixels are compressed again rather than copied. It grows when the PNGs were tightly optimised: pdf-lib stores every PNG as full 8-bit RGB, so palette PNGs (graphics saved with few colours) and greyscale PNGs are expanded to three colour channels, and its Deflate compression skips the per-row filters PNG uses to shrink photographic images. It can shrink when the PNGs were saved with light compression, as many screenshot tools and browsers do. A 16-bit PNG is stored at 8 bits per channel. If size matters more than exactness, convert photographs to JPG first — JPG files go into a PDF without growing.
Page size "Fit to image" makes each page exactly the size of its picture at 96 pixels per inch — 1920 × 1080 px becomes 1440 × 810 pt (20 × 11.25 in) — so nothing is resized. Very large images are scaled down so no page exceeds 200 in (14,400 pt) on a side, the largest page size PDF viewers accept. A4 and US Letter give uniform, printable pages: each image is scaled down to fit inside the margin (none, 0.25 in or 0.5 in) and centred, never enlarged. "Auto" orientation turns the page landscape for wide images.
No upload is involved at any point. The files are read into your browser's memory, the PDF is assembled there and handed back as a download; you can confirm in your browser's developer tools under Network that no request carries your images. Up to 200 images of up to 50 MB each fit in one PDF.
1. Each file's leading bytes are checked for the PNG or JPG signature, so a renamed file of another type is caught and named. 2. Each PNG is decoded to 8-bit RGBA pixels. The RGB values are stored as a Deflate-compressed image; if any pixel is not fully opaque, the alpha values are stored as a soft mask (SMask) so the white page shows through. 3. JPG files are copied into the PDF unchanged. An animated PNG is drawn on a canvas and its first frame is stored. 4. Page size: Fit to image = image pixels × 0.75 pt (96 DPI) plus the margin, scaled down if a side would pass 14,400 pt (200 in); A4 is 595.28 × 841.89 pt and Letter 612 × 792 pt, swapped to landscape when Auto and the image is wider than tall. The image is scaled by min(available width ÷ image width, available height ÷ image height, 1) and centred. 5. Pages follow the list order; one file is saved under its own name with .pdf, several as images.pdf.
| In the PDF | |
|---|---|
| Pixel colours (8-bit) | Kept exactly |
| Transparency | Kept as a soft mask; the white page shows through |
| 16-bit colour depth | Reduced to 8 bits per channel |
| Palette or greyscale storage | Expanded to RGB (bigger file, same look) |
| Animation (APNG) | First frame only |
| Metadata, gamma and colour profile chunks | Not kept |
Worked examples
- logo.png, 400 × 400 px with a transparent background, Fit to image → logo.pdf, one 300 × 300 pt page; the transparent areas show the white page.
- Five 1920 × 1080 px screenshots, A4, Auto, no margin → images.pdf with five landscape A4 pages.
- A 100 × 100 px icon on US Letter, Portrait, Large margin → the icon stays 75 × 75 pt (its 96 DPI size), centred on the page, not blown up.
- chart.png whose bytes are really a WebP → refused: "chart.png" is actually a WebP file, not PNG or JPG.
How to use PNG to PDF Converter
- Click "Choose PNG images", drop files onto the box, or paste a screenshot with Ctrl+V (Cmd+V on a Mac).
- Put the images in page order with the up and down arrows under "Pages go in this order".
- Choose a Page size (Fit to image, A4 or US Letter), an Orientation and a Margin.
- Click "Create PDF", then "Download".
Common errors
- "… is actually a WebP file, not PNG or JPG" — images saved from websites are often WebP whatever their name. Use JPG to PDF, which accepts WebP and converts it first.
- "… is not a recognisable PNG or JPG file" — the file is not an image, or it is damaged. Re-export it from the app that made it.
- "… is empty (0 bytes)" — the file did not finish downloading or copying. Get it again.
- The PDF is much larger than the PNGs — expected for palette and greyscale PNGs, which are stored as full RGB. For photos, convert to JPG first if size matters.
- "No PDF was created" — one image could not be read; the message above it names the file. Remove or replace it and click Create PDF again.
FAQ
How do I convert PNG to PDF without losing quality?
Add the PNG files here and click "Create PDF". The PNG pixels are stored in the PDF losslessly, so the image is exactly as sharp as the original — nothing is re-compressed as JPG.
What happens to a transparent PNG background in a PDF?
Transparency is kept as a soft mask, so the page shows through — and a PDF page is white, so transparent areas look white. Soft, semi-transparent edges stay smooth.
Why is my PDF bigger (or smaller) than the PNG files?
The pixels are compressed again when they go into the PDF. Palette and greyscale PNGs are expanded to full 8-bit RGB and PNG's row filters are not used, which can make the PDF bigger; lightly compressed PNGs, such as many screenshots, can come out smaller. Either way the picture is pixel-for-pixel identical.
Can I combine multiple PNG screenshots into one PDF?
Yes. Add up to 200 images, arrange them with the up and down arrows, and click "Create PDF" — each screenshot becomes one page, saved as images.pdf.
Are my PNG files uploaded anywhere?
No. The PDF is assembled in your browser and the files never leave your device. Your browser's developer tools (Network tab) show that no request carries them.
Can I add JPG images to the same PDF?
Yes. JPG files are accepted alongside PNG and are copied into the PDF unchanged, so photos and screenshots can share one document.
Does PNG to PDF work on a phone?
Yes. It runs in mobile Safari and Chrome; pick the PNGs from your files or photo library and download the PDF when it is ready.
Related tools
- Merge PDFAdd two or more PDFs, put them in the order you want, and download one combined PDF — merged on your own device, never uploaded.
- JPG to PDF ConverterAdd JPG or other images, put them in page order, choose a page size, and download one PDF — built on your own device, nothing uploaded.
- PDF to PNG ConverterPick a PDF, choose pages and a resolution up to 300 DPI, and download each page as a lossless PNG — rendered on your own device, never uploaded.
- Compress PDFChoose a PDF, pick lossless clean-up or strong compression, and see the exact before and after size — compressed on your device, never uploaded.
Prefer AllUtil on Google
One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.