How to Convert PNG to PDF

A complete guide to converting PNG images to PDF on every platform. Seven methods: online converter, Windows, macOS, iPhone, Android, command line, and Python — plus tips for combining multiple PNGs and preserving quality.

Convert PNG to PDF

Upload your PNG file — get PDF instantly

PNG PDF

Tap to choose your file

or

Supports M4A, WAV, FLAC, OGG, AAC, WMA, AIFF, OPUS • Max 100 MB

Encrypted upload via HTTPS. Files auto-deleted within 2 hours.

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

  1. Open Convertio — go to convertio.com/png-to-pdf in your browser.
  2. 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.
  3. Click Convert — the conversion starts immediately. Your PNG is embedded in the PDF at full quality with no compression.
  4. 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

  1. Right-click the PNG file in File Explorer and select Print.
  2. In the printer dropdown, select Microsoft Print to PDF.
  3. 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.
  4. 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.
  5. 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.
  6. Click Print and choose where to save the PDF file.

Using the Photos App

  1. Open the PNG image in the Photos app (double-click the file).
  2. Press Ctrl + P or click the three-dot menu and select Print.
  3. Select Microsoft Print to PDF as the printer.
  4. Under Page size, select A4 or Letter. Under Margins, choose Normal (for white borders) or Minimum (for near-edge printing).
  5. Set Orientation to Portrait or Landscape depending on your image. Windows does not auto-rotate — choose the orientation that matches your image shape.
  6. 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

  1. Open the PNG file in Preview (double-click or right-click → Open With → Preview).
  2. Go to File → Export as PDF.
  3. Choose a filename and location, then click Save.

Print to PDF (with Page Size Control)

  1. Open the PNG in Preview.
  2. Go to File → Print (or press Cmd + P).
  3. 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).
  4. 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)

  1. Open the image in the Photos app.
  2. Tap the Share button (square with an arrow).
  3. Select Print from the share menu. If you do not see Print, scroll right in the action row.
  4. 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.
  5. 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

  1. Open the image in Photos and tap Share.
  2. Scroll through the apps row and tap Books (Apple Books). If you do not see it, tap More to find it.
  3. 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

  1. Open the PNG file in Google Chrome (type file:///sdcard/ in the address bar to browse files, or open the image URL).
  2. Tap the three-dot menuSharePrint.
  3. Select Save as PDF as the printer.
  4. Tap the PDF button (or the download icon) to save.

Using Google Drive

  1. Upload the PNG to Google Drive.
  2. Open the image in Drive and tap the three-dot menu.
  3. Select PrintSave 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

Bash
# Ubuntu / Debian
sudo apt install imagemagick

# Fedora / RHEL
sudo dnf install ImageMagick

# macOS (Homebrew)
brew install imagemagick

# Windows (Chocolatey)
choco install imagemagick

Basic Conversion

Bash
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

Bash
# 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

Bash
# 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

Bash
pip install img2pdf

Single Image

Python
import img2pdf

with open("output.pdf", "wb") as f:
    f.write(img2pdf.convert("image.png"))

Multiple Images into One PDF

Python
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)

Python
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

Bash
# 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
OnlineUpload multiple files to Convertio — merged automatically
WindowsSelect all → Right-click → Print → Microsoft Print to PDF
MacSelect all → Quick Actions → Create PDF, or open in Preview → Print to PDF
iPhoneSelect all in Photos → Share → Print → Pinch to zoom
AndroidUpload to Google Drive or use Chrome Print → Save as PDF
CLImagick *.png combined.pdf
Pythonimg2pdf.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
72Screen viewing, email sharingSmallest
150General purpose, web + light printingMedium
300High-quality printing, documentsLarge
600Professional print, fine detailVery 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.

Ready to Convert?

Convert PNG to PDF online — free, no signup

PNG PDF

Tap to choose your file

or

Supports M4A, WAV, FLAC, OGG, AAC, WMA, AIFF, OPUS • Max 100 MB

Frequently Asked Questions

The easiest free method is using an online converter like Convertio.com. Upload your PNG file, click Convert, and download the PDF. No signup or software installation required. You can also use built-in tools on your device: Print to PDF on Windows, Preview on Mac, or the Share menu on iPhone.

Yes. On Convertio.com, upload all your PNG files at once and they will be combined into a single PDF. On Windows, select all images in File Explorer, right-click, choose Print, and select Microsoft Print to PDF. On Mac, select the images in Finder, right-click, and use Quick Actions → Create PDF. On the command line, use magick *.png combined.pdf.

No, if done correctly. PNG is a lossless format, and PDF can embed the image data without additional compression. Convertio preserves the original PNG quality in the resulting PDF. Some other tools may apply JPEG compression inside the PDF, which reduces quality — always check the output file size to verify.

Open the image in Photos, tap the Share button, then select Print. On the print preview screen, use a two-finger pinch-out gesture on the preview image — this creates a PDF. Tap the Share button again to save or send it. Alternatively, visit convertio.com/png-to-pdf in Safari for a one-tap conversion.

On the command line with ImageMagick, specify page size and density: magick input.png -density 300 -page A4 output.pdf. On Windows and Mac, the print dialog lets you choose paper size (A4, Letter, etc.) before saving as PDF. For web sharing, 150 DPI is sufficient. For printing, use 300 DPI or higher.

Back to PNG to PDF Converter