Skip to content
cliplimeClipLime

Convert PNG to PDF

Screenshots and graphics stay pixel-exact, and transparent areas show the page colour you choose. Done on your device.

Runs on your device, nothing is uploaded

or drop files here

PNG files, with or without transparency. Other picture types work too. Nothing is uploaded.

At a glance

What it does
Turns PNG screenshots, diagrams, logos and scans into PDF pages, pixel for pixel.
Quality
This page starts on Original quality. A PNG without transparency goes in as its own compressed data, so every pixel in the PDF is the one in the file.
Transparency
Clear parts are kept as a mask over the page colour, which is white unless you choose another. A PNG with almost no clear pixels is flattened onto the page colour.
Colours and size
Grey and palette PNGs stay grey or palette, which keeps them small. A colour profile in the PNG is carried into the PDF when the PNG is copied as it is.
PNG photos
A photograph saved as PNG makes a very large PDF. Smaller file saves such photos as JPG and keeps screenshots and graphics lossless.
Not copied
Text notes and other metadata inside a PNG are not copied into the PDF, and an animated PNG gives only its first picture.
Privacy
Built on your device. Your files are never uploaded.

How to do it

  1. 1

    Add your PNG files

    Choose PNG files or drop them on the page. Each one becomes a page. Pictures in other formats can be added to the same PDF.

  2. 2

    Choose the page and the page colour

    For screenshots, Same as the image gives pages that match the picture. For documents, pick A4 or Letter. The page colour shows through any clear parts of a picture, so pick it before you create the PDF.

  3. 3

    Keep Original quality, or choose Smaller file

    Original quality is lossless. Choose Smaller file if a picture is really a photograph, because PNG photos make very large PDFs. Flat graphics stay lossless either way.

  4. 4

    Create and download

    Press Create PDF and check the pages. The details tell you how each PNG was stored and whether any pixels were changed.

How a PNG goes into a PDF without loss

A PNG stores each row of pixels after a small prediction step, and then compresses the result with deflate. A PDF has a filter, FlateDecode with PNG predictors, that reads exactly that. So for most PNGs the compressed data can be copied into the PDF as it is. Nothing is decoded and nothing is rounded, which is why the pixels in the PDF are the pixels in the file.

This works for grey PNGs, palette PNGs and colour PNGs with 8 or 16 bits per channel, as long as they are not interlaced. Palette PNGs stay palette pictures and grey PNGs stay grey, so a flat graphic does not grow. A colour profile inside the PNG is carried into the PDF with the picture.

Some PNGs cannot be copied directly: those with an alpha channel or a transparent colour, interlaced ones, animated ones and ones that record a rotation. They are decoded and stored again, still without loss, so the pixels are the same, but the PDF can be bigger or smaller than the PNG file. Only the first picture of an animated PNG is used. Text notes and other metadata in the PNG are not copied.

Transparency: what the PDF does with it

A PNG can have clear and half clear pixels. A PDF has no such thing as a transparent picture on its own, so ClipLime stores the colour of the picture and its clear parts as two separate pictures: the colours, and a grey picture used as a soft mask. The page itself is filled with the page colour, and a PDF viewer lets that colour show through wherever the mask says the picture is clear. Soft edges and shadows keep their softness. Opaque pixels are stored exactly. Half clear pixels look the same over any colour to within one step out of 255, a rounding that comes from the way browsers hold transparent pictures, and the colour values hidden under fully clear pixels are not kept.

Pick the page colour to suit where the PDF will be used: white for printing, or a dark colour for a dark presentation. The swatches cover white, light grey, grey, black and cream, and the colour box takes any other.

If a picture has only a few clear pixels, fewer than one in a thousand, such as a screenshot with rounded window corners, it is flattened onto the page colour instead. That gives a simpler, smaller file that looks the same.

Screenshots and graphics

A screenshot of 1920 by 1080 pixels with the page size set to Same as the image and 200 DPI becomes a page of 9.6 by 5.4 inches, about 244 by 137 mm, and each screen pixel stays one picture pixel. The same screenshot on a portrait A4 page is drawn at about 232 DPI and has white bands above and below it. Both are sharp, but the page that follows the picture wastes no space.

A small picture on a big page is enlarged, and enlarging cannot add detail. If a result looks soft, the picture is too small for the page. The tool warns when a picture would print below 100 DPI. Use a smaller page, the Same as the image size, or a bigger source picture.

A very large screenshot, such as a 4K capture of 3840 pixels across, is more than a page can show. With Smaller file it is reduced to the chosen DPI and kept lossless, which keeps text readable but loses fine detail. Choose Original quality if you need every pixel.

PNG photos and big PDFs

PNG is lossless, and the noise in a photograph does not compress well without loss. The same photo as a PNG is typically several times bigger than a JPG, and a PDF built from it is as big as the PNG. That is not a fault of the PDF. It is the price of keeping every pixel.

Smaller file looks at the pixels of each PNG. If the picture is a photograph, it is reduced to the chosen resolution and saved as JPG at quality 84. If it is flat, such as a screenshot, a logo or a chart, or it has transparency, it stays lossless. A picture is never made bigger: if saving it again would not make it smaller, the PNG data goes in as it is. The details after building tell you what happened to each picture.

Questions people ask

Is a PNG still lossless after converting it to PDF?

Yes with Original quality, which is where this page starts. A PNG without transparency is copied into the PDF as its own compressed data. With Smaller file, flat graphics and pictures with transparency stay lossless, but a photograph is saved as JPG.

Will the transparent parts of my PNG stay transparent?

They stay see-through in the PDF, so the page colour shows through them. White is the default, and you can pick another colour. A PNG with almost no clear pixels is flattened onto the page colour instead.

Why is my PDF from a PNG photo so large?

Because a PNG keeps every pixel, and photographs do not compress well without loss. Choose Smaller file to save photos as JPG at the resolution a page can show. Flat graphics stay lossless.

Does the PDF keep the text notes or EXIF data from my PNG?

No. Only the picture and its colour profile are copied. Text notes and other metadata in the PNG are left out of the PDF.

Why does my screenshot look blurry in the PDF?

The picture is probably smaller than the page, so it was enlarged to fit. Choose the Same as the image page size, or a smaller page, and check the warning about pictures under 100 DPI.

Can I convert many PNG files into one PDF?

Yes. Each file becomes a page in the order shown. You can drag them into order, turn or remove any of them, and add more at any time.

Guides that help

All PDF guides →