Open a PDF
Home › PDF conversions › Convert PDF to PNG

Convert PDF to PNG

To convert PDF to PNG, render the page with Preview on Mac (File, Export, PNG), pdftoppm -png on any system, or Acrobat's Export to Image. PDF Viewer on this site does not export pages as PNG; it opens, annotates and OCRs PDFs in your browser without uploading. PNG is the right choice when the page holds text, diagrams or anything that needs crisp edges or transparency.

Why PNG instead of JPG for a PDF page

PNG is lossless: every pixel is stored exactly, so black text on white stays sharp and single-color areas do not get compression noise. It also supports transparency, which matters when you drop a logo or a signature from a PDF onto a slide or a web page. The price is file size: a 300 DPI letter-size page is a few megabytes in PNG, versus a few hundred kilobytes in JPG. For photographs and scans, PDF to JPG is the better trade.

Note that the result is a picture. If you need the words, not the look, use PDF to text; if the source is a scan you want to search, OCR the PDF instead of rendering it.

Try it on your PDFDrop a PDF here to open it in the viewer. Nothing is uploaded.Free, no account, no watermark. The file stays in this browser tab.

Which method for which case

CaseMethodNotes
Mac, one pagePreview, File, Export, PNGAlpha checkbox for transparency, resolution field
Mac, all pagesShortcuts or pdftoppm from HomebrewBatch
Windows, one page, screen qualityOpen in Edge, zoom, Snipping Tool, save PNGFast, limited resolution
Windows, Linux, Mac: all pages, exact DPIpdftoppm -png -r 300Free, fastest, best quality
Transparent backgroundGhostscript pngalpha device, or Preview with AlphaNeeds a PDF with no white background fill
Acrobat ProFile, Export To, Image, PNGSettings for resolution and color space
PhoneScreenshot or an online converterOnline means uploading

Main method: pdftoppm, with Preview and Ghostscript alternatives

  1. Install Poppler: brew install poppler on Mac, your package manager on Linux, or a Windows build of Poppler added to PATH.
  2. Run pdftoppm -png -r 300 report.pdf report.
  3. Collect report-1.png, report-2.png and so on. Add -f 3 -l 3 to export only page 3, or -scale-to 1600 for a fixed pixel width.

Preview (Mac): open the PDF, select the page, File, Export, Format PNG, tick Alpha if you want a transparent background, set Resolution, Save.

Ghostscript, transparent background: gs -sDEVICE=pngalpha -r300 -o page-%d.png input.pdf. ImageMagick's magick -density 300 input.pdf -background none page.png calls Ghostscript and gives the same result. Online tools (Smallpdf, iLovePDF, CloudConvert) return a ZIP of PNGs after uploading the file to their servers; avoid them for confidential pages.

What gets lost

  • Text layer. Search, copy and accessibility are gone; keep the PDF for that.
  • Vector scalability. A PNG is fixed at the DPI you chose; zooming in reveals pixels. Export at 300 DPI or more if the image will be printed or cropped.
  • Links, form fields and annotations are flattened into pixels or dropped.
  • Color management. CMYK PDFs are converted to RGB; brand colors can shift slightly.
  • Transparency only survives if you ask for it (Alpha in Preview, pngalpha in Ghostscript) and the page has no opaque background.

Going back later is covered in PNG to PDF.

Batch export and automation

Exporting one page by hand is fine; exporting every page of fifty files is a job for a script or a built-in automation tool.

  • Windows (PowerShell): Get-ChildItem *.pdf | ForEach-Object { pdftoppm -png -r 200 $_.Name $_.BaseName } writes numbered PNGs next to each PDF.
  • Mac Shortcuts: build a shortcut with Get File, then Make Image from PDF Page, then Save File. Set the DPI in the action's options. Shortcuts can run from the Finder's Quick Actions menu on a selection of PDFs.
  • Mac Automator: the Render PDF Pages as Images action does the same in a folder workflow.
  • Python: the pdf2image package wraps pdftoppm; convert_from_path('file.pdf', dpi=200) returns the pages as images for further processing.

Name output files with zero-padded numbers (page-01, page-02) when the PDF has more than nine pages, otherwise page-10 sorts before page-2 in most file managers.

Check the result

Open a PNG at 100 percent and look at the thinnest lines and the smallest text: if they are fuzzy, raise the DPI. Check the corner of a page meant to be transparent against a dark background. If you rebuilt a PDF from the PNGs, open it in the online PDF viewer and compare it page by page with the original; the thumbnails sidebar shows a missing or duplicated page at once.

Frequently asked questions

How do I convert a PDF to PNG for free?

Preview on Mac exports the current page as PNG from File, Export. pdftoppm -png from the free Poppler tools converts every page on Windows, Mac and Linux.

How to convert PDF to PNG with a transparent background?

Use Ghostscript's pngalpha device or tick Alpha in Preview's export dialog. The PDF page itself must not have a white background drawn on it.

How to convert PDF to PNG on Windows?

For one page, take a screenshot of the PDF in Edge. For all pages at full quality, install Poppler and run pdftoppm -png -r 300 file.pdf out.

What resolution should I use for PDF to PNG?

150 DPI for screens, 300 DPI for print or cropping. Use pdftoppm -scale-to if you need an exact pixel width instead.

Can this PDF viewer export a page as PNG?

No. It opens, annotates and OCRs PDFs in the browser. It can insert a PNG onto a PDF page, but not export pages as images.

PNG or JPG for a PDF page?

PNG for text, diagrams and transparency; JPG for photos and scans where size matters more than pixel-perfect edges.