PNG to PDF
Screenshots and diagrams into a PDF, losslessly, so every edge stays sharp.
Runs entirely in your browser
Loading the tool…
Your files are opened by this page and never uploaded. Nothing in the page sends them anywhere, and it keeps working with the network off.
Drag an image to move it. The bin drops one, and the arrows nudge it along. Top left becomes page one.
- —Pages
- —PDF size
- —Re-encoded
| JPEGs | Placed exactly as they are, never re-encoded |
|---|---|
| PNG and WebP | Converted to JPEG, because a PDF cannot carry them |
Most PNGs are screenshots, diagrams, charts and scanned forms: pictures of sharp edges and text. Many converters turn each one into a JPEG on the way into the PDF, which leaves a grey haze round every letter. Here a PNG goes in as its own pixels and the PDF stores them losslessly, so the page in the PDF is the screenshot, exactly.
Transparency survives too. A logo or a diagram with a see-through background is placed with its transparency intact, so on a white page it looks as it did on screen, and it keeps its edges if the PDF is later put over something else. Choose a paper size, or Fit to make each page exactly the size of its picture.
Lossless costs size: a PDF of PNG screenshots is about as large as the PNGs were. If that is too big to send, Compress PDF can trade some sharpness for size afterwards; doing it that way round means you choose the trade.
How to use it
- Choose your PNGs, as many as you like. They are read here and never uploaded.
- Drag them into order: each one becomes a page.
- Pick a paper size and margin, or Fit for pages the size of each image.
- Download the PDF.
Questions
Does converting a PNG to PDF lose quality?
Not here. The PNG's pixels are put into the PDF and compressed losslessly, the same kind of compression PNG itself uses, so every pixel is exactly as it was. Most converters re-save the image as JPEG first, which is where the blur comes from.
Will the transparent background stay transparent?
Yes. The transparency goes in as a mask beside the picture, which every PDF viewer understands. On a white page it looks the same; on a coloured background or in an editor the see-through parts stay see-through.
Why is the PDF as big as the PNGs?
Because nothing was thrown away. A PDF of lossless images cannot be much smaller than the lossless images. To make it smaller, compress it afterwards and choose how much detail to give up.
Can I mix PNGs and JPGs?
Yes, in one go and in any order. JPEGs go in untouched as JPEG, PNGs as lossless pixels, so neither loses anything.
Is my file uploaded?
No. It is read and rebuilt in this tab by WebAssembly, and the page is served with a rule that forbids it from opening a connection anywhere. Turn the network off once the page has loaded and it works the same, which is the way to check it rather than take it on trust.
Other pictures into a PDF
The same tool, with a page of its own for each kind of picture.
Your data stays on your device
Everything above runs inside your browser as WebAssembly compiled from Rust. Nothing you type is uploaded, logged or stored on a server. You can load this page once, go offline, and it still works.
This page makes no requests at all, to anywhere. That is not a promise in the copy: it is a Content-Security-Policy header your browser enforces, and connect-src on it is none. Open the network tab and watch nothing happen.