Method 1: Online Converter (Convertio)
The fastest method that works on any device with a browser. No software to install, no account required.
Step-by-Step
- Open Convertio — go to convertio.com/png-to-pdf in your browser.
- Upload your PNG — click "Choose PNG File" or drag and drop your image onto the upload area. You can upload multiple files to combine them into one PDF.
- Click Convert — the conversion starts immediately. Your PNG is embedded in the PDF at full quality with no compression.
- Download the PDF — once conversion is complete, click the Download button. The file is available for 2 hours.
Why Convertio? Your PNG image is embedded in the PDF without JPEG re-compression, preserving the original lossless quality. The upload is encrypted via HTTPS, and all files are automatically deleted within 2 hours.
Method 2: Windows (Print to PDF)
Windows 10 and 11 include a built-in "Microsoft Print to PDF" virtual printer. You can use it to convert any image — including PNG — to PDF without installing anything.
Using the Print Dialog
- Right-click the PNG file in File Explorer and select Print.
- In the printer dropdown, select Microsoft Print to PDF.
- Choose paper size (A4, Letter, Legal, etc.) from the Paper size dropdown. For standard documents, A4 (210 × 297 mm) or US Letter (8.5 × 11 in) work best.
- Select "Full page photo" in the layout options on the right side. This makes the image fill the entire page without margins. Alternatively, choose a smaller layout to add white margins around the image.
- Check "Fit picture to frame" at the bottom if your image aspect ratio does not match the page — this stretches the image to fill the page (may crop edges). Uncheck it to preserve the original proportions.
- Click Print and choose where to save the PDF file.
Using the Photos App
- Open the PNG image in the Photos app (double-click the file).
- Press Ctrl + P or click the three-dot menu and select Print.
- Select Microsoft Print to PDF as the printer.
- Under Page size, select A4 or Letter. Under Margins, choose Normal (for white borders) or Minimum (for near-edge printing).
- Set Orientation to Portrait or Landscape depending on your image. Windows does not auto-rotate — choose the orientation that matches your image shape.
- Click Print to save.
Custom page sizes: By default, Microsoft Print to PDF only supports standard paper sizes. To add a custom size, open Settings → Bluetooth & Devices → Printers & scanners, scroll to Print Server Properties, and define a new form with your desired dimensions.
Multiple PNGs on Windows
To combine several PNG files into one PDF: select all images in File Explorer, right-click, and choose Print. With "Microsoft Print to PDF" selected, all images will be merged into a single multi-page PDF. Use the sidebar to rearrange pages before printing.
Method 3: Mac (Preview)
macOS includes Preview, a powerful built-in image and PDF viewer that can export any image as PDF.
Export as PDF
- Open the PNG file in Preview (double-click or right-click → Open With → Preview).
- Go to File → Export as PDF.
- Choose a filename and location, then click Save.
Print to PDF (with Page Size Control)
- Open the PNG in Preview.
- Go to File → Print (or press Cmd + P).
- Click Show Details to expand full options. Here you can set Paper Size (A4, US Letter, etc.), Orientation, and Scale (use "Scale to Fit" to fill the page, or set a custom percentage).
- Click the PDF dropdown in the bottom-left corner and select Save as PDF.
The Print method gives you more control over page sizing and margins than the simple "Export as PDF" option, which creates a page exactly matching the image dimensions.
Multiple PNGs on Mac
Select all PNG files in Finder, right-click, and choose Quick Actions → Create PDF. macOS will combine them into a single PDF document. Alternatively, open all images in Preview (select all → Open With → Preview), then go to File → Print → PDF → Save as PDF.
Method 4: iPhone & iPad
iOS has a hidden PDF creation feature using the Print dialog — no app needed. This works on all iPhones running iOS 10 or later.
Using the Print Trick (Pinch-to-Zoom)
- Open the image in the Photos app.
- Tap the Share button (square with an arrow).
- Select Print from the share menu. If you do not see Print, scroll right in the action row.
- On the print preview screen, pinch outward (spread two fingers apart) on the preview thumbnail. This converts the image into a full-screen PDF preview.
- Tap the Share button again on the full-screen PDF preview. From here you can Save to Files, send via email, AirDrop, or share to any app.
Using the Books App
- Open the image in Photos and tap Share.
- Scroll through the apps row and tap Books (Apple Books). If you do not see it, tap More to find it.
- The image is automatically converted to a PDF and saved in your Books library. You can then share it from Books as a PDF file.
Multiple images: Select all images in the Photos app, tap Share → Print, then pinch-to-zoom on the preview. Each image becomes a separate page in one PDF. The pages appear in the order you selected them.
Method 5: Android
Android devices can create PDFs using Chrome's print function or Google Drive.
Using Chrome
- Open the PNG file in Google Chrome (type
file:///sdcard/in the address bar to browse files, or open the image URL). - Tap the three-dot menu → Share → Print.
- Select Save as PDF as the printer.
- Tap the PDF button (or the download icon) to save.
Using Google Drive
- Upload the PNG to Google Drive.
- Open the image in Drive and tap the three-dot menu.
- Select Print → Save as PDF.
Using the Files App
On many Android devices (Samsung, Pixel), the built-in Files app has a "Convert to PDF" option. Open the image, tap the three-dot menu, and look for Convert to PDF or Print.
Method 6: Command Line (ImageMagick)
For developers and power users, ImageMagick provides a fast and scriptable way to convert PNG to PDF from the terminal.
Installation
# Ubuntu / Debian
sudo apt install imagemagick
# Fedora / RHEL
sudo dnf install ImageMagick
# macOS (Homebrew)
brew install imagemagick
# Windows (Chocolatey)
choco install imagemagick
Basic Conversion
magick image.png output.pdf
This embeds the PNG in the PDF at its native resolution. The image data is preserved losslessly.
ImageMagick v6 vs v7: The examples use magick (v7 syntax). If you have ImageMagick 6 installed, use convert instead: convert image.png output.pdf. Check your version with magick --version or convert --version.
With DPI and Page Size
# Convert with 300 DPI for printing
magick image.png -density 300 output.pdf
# Set A4 page size (595x842 points at 72 DPI)
magick image.png -density 300 -page A4 output.pdf
Batch Conversion
# Convert each PNG to a separate PDF
for f in *.png; do
[ -e "$f" ] || continue
magick "$f" "${f%.png}.pdf"
done
Method 7: Python Script
Python offers fast, scriptable PNG-to-PDF conversion via the img2pdf library. Unlike ImageMagick, img2pdf embeds the raw image data directly into the PDF without any re-encoding — making it the fastest lossless option for automation.
Installation
pip install img2pdf
Single Image
import img2pdf
with open("output.pdf", "wb") as f:
f.write(img2pdf.convert("image.png"))
Multiple Images into One PDF
import img2pdf
import glob
images = sorted(glob.glob("*.png"))
with open("combined.pdf", "wb") as f:
f.write(img2pdf.convert(images))
With Custom Page Size (A4)
import img2pdf
# A4 page size: 210mm x 297mm
a4 = (img2pdf.mm_to_pt(210), img2pdf.mm_to_pt(297))
layout = img2pdf.get_layout_fun(a4)
with open("a4_output.pdf", "wb") as f:
f.write(img2pdf.convert("image.png", layout_fun=layout))
Note: img2pdf does not support images with an alpha (transparency) channel. If your PNG has transparency, strip it first with Pillow: Image.open("image.png").convert("RGB").save("image_rgb.png"), then convert.
Combining Multiple PNGs into One PDF
Often you need to merge several PNG images — scanned pages, screenshots, or photos — into a single multi-page PDF document.
Online (Convertio)
Upload all your PNG files at once on convertio.com/png-to-pdf. They will be combined into a single PDF with each image on its own page.
Command Line
# Combine all PNGs in current directory into one PDF
magick *.png combined.pdf
# Specific files in a specific order
magick page1.png page2.png page3.png combined.pdf
# With 300 DPI for print quality
magick *.png -density 300 combined.pdf
Platform Summary
| Platform | How to Combine |
|---|---|
| Online | Upload multiple files to Convertio — merged automatically |
| Windows | Select all → Right-click → Print → Microsoft Print to PDF |
| Mac | Select all → Quick Actions → Create PDF, or open in Preview → Print to PDF |
| iPhone | Select all in Photos → Share → Print → Pinch to zoom |
| Android | Upload to Google Drive or use Chrome Print → Save as PDF |
| CLI | magick *.png combined.pdf |
| Python | img2pdf.convert(["page1.png", "page2.png"]) |
Quality & DPI Tips
When converting PNG to PDF, the most important factors are image resolution (DPI) and whether the tool applies additional compression.
DPI Guide
| DPI | Best For | File Size |
|---|---|---|
| 72 | Screen viewing, email sharing | Smallest |
| 150 | General purpose, web + light printing | Medium |
| 300 | High-quality printing, documents | Large |
| 600 | Professional print, fine detail | Very large |
Preserving Quality
- Avoid JPEG compression inside the PDF. Some tools re-encode the PNG as JPEG when embedding it in the PDF. This introduces compression artifacts. Convertio and ImageMagick preserve the original PNG data.
- Keep the original resolution. Do not downscale the image before conversion unless you specifically need a smaller file. The PDF will use the native pixel dimensions.
- Set DPI explicitly for print. If the PDF is intended for printing, set the DPI to 300 or higher. This tells the printer how large to render the image on paper. A 3000 × 2000 pixel image at 300 DPI prints as 10 × 6.67 inches.
- Check the output file size. If the PDF is much smaller than the original PNG, the tool likely applied lossy compression. A lossless conversion should produce a PDF roughly the same size as the PNG (plus a few KB of PDF overhead).
- Handle transparency carefully. PNG supports alpha transparency, but PDF does not natively display transparent backgrounds the same way. Most tools will render transparent areas as white in the PDF. If your PNG has transparency that matters (e.g., logos), be aware that the background will become white (or whatever the tool’s default is) in the resulting PDF.
Print-ready formula: To figure out what DPI your image supports, divide the pixel dimensions by the desired print size in inches. A 4000 × 3000 px image printed at 8 × 6 inches = 500 DPI — more than enough for high-quality printing.
Prefer the Easy Way?
If you do not want to deal with system settings, print dialogs, or command-line tools — use the converter widget on this page. Upload your PNG, get a PDF back in seconds. Convertio preserves the original image quality and handles all the formatting automatically.