PDF to PNG: How to Convert on Mac, Online & CLI (2026)
Need to convert PDF to PNG? This complete guide walks through every method — Preview, online converters, Adobe Acrobat, and pdftoppm — plus DPI, quality, and batch tips.
PDF to PNG: How to Convert on Mac, Online & CLI (2026)
You need to turn a PDF into a PNG image — maybe for a presentation slide, a blog thumbnail, a design mockup, or a document preview. Whatever the reason, PDF to PNG is one of the most common file conversions on the planet, and yet most guides skip the details that actually matter: DPI, transparency, privacy, and batch handling.
This guide covers every practical way to convert PDF to PNG in 2026 — Preview, online tools, Adobe Acrobat, and the command line — plus how to pick the right resolution and keep output sizes under control.
Why Convert PDF to PNG?
PDF is a container format. It can hold text, vectors, raster images, forms, and layout metadata — all in one file. PNG, by contrast, is a single raster image. Converting a PDF page to PNG "flattens" everything you see into a pixel grid.
People convert PDF to PNG for a handful of reliable reasons:
- Embedding in presentations or documents. PowerPoint, Keynote, Google Slides, and Notion all handle PNG cleanly. PDF embedding is finicky or broken in many of them.
- Web publishing. Browsers render PNG inline. PDFs require a viewer.
- Design and mockup work. Designers pull PDF pages into Figma, Sketch, or Photoshop as PNGs for reference or compositing.
- Thumbnails and previews. A PNG preview loads faster and works in any gallery or file browser.
- Archival snapshots. Once a PDF is a PNG, no one can edit the text or accidentally reflow the layout.
- Sharing on platforms that block PDFs. Some chat apps and social networks won't accept PDF uploads but will happily take PNG.
PDF to PNG vs PDF to JPG: Which Should You Pick?
This is the question that trips most people up. Both are raster formats, both open everywhere — so what's the difference?
PNG is lossless and supports transparency. Every pixel in a PNG is stored exactly as rendered. If your PDF has transparent regions, a logo on a white background, or sharp edges between text and page color, PNG preserves them perfectly. The tradeoff is file size — PNG files are typically 2–5× larger than equivalent JPGs.
JPG is lossy and smaller. JPG throws away data your eyes don't easily notice, which is great for photographs but bad for text and sharp graphics. Text-heavy PDF pages exported as JPG often show "ringing" artifacts around letters.
Here's the practical rule:
| Use case | Best format |
|---|---|
| Text-heavy documents, contracts, reports | PNG (text stays crisp) |
| Screenshots, UI mockups, diagrams | PNG (sharp edges, transparency) |
| Scanned photo-style pages, magazine layouts | JPG (smaller files, photo content) |
| Web thumbnails where size matters | JPG (bandwidth) |
| Design mockups with transparency | PNG (alpha channel) |
| Archival / legal snapshots | PNG (lossless) |
If you're on the fence and specifically want JPG output instead, we have a companion guide: PDF to JPG: The Complete 2026 Guide. For everything else, PNG is the safe default.
Method 1: Convert PDF to PNG on Mac with Preview
macOS ships with Preview, and Preview can export PDF pages to PNG without any extra software. It's the fastest way if you're on a Mac and have one or a handful of pages.
Step-by-step:
- Open your PDF in Preview (double-click the file, or right-click and choose Open With → Preview).
- In the sidebar, click the page you want to convert. If the sidebar isn't visible, go to View → Thumbnails.
- Go to File → Export… (not "Export as PDF" — just "Export").
- In the dialog, click the Format dropdown and choose PNG.
- Set the Resolution slider. The default 150 pixels/inch is fine for screen use; bump it to 300 pixels/inch for print or 600 pixels/inch if you need to zoom in on fine detail.
- Name the file and click Save.
That exports the currently selected page as a PNG. If your PDF has 20 pages and you want all of them as individual PNGs, Preview is not the right tool — it exports one page at a time. Skip ahead to Method 4 (command line) or the batch section below.
A quick note on resolution: Preview's "Resolution" field controls the DPI at which the PDF page is rasterized. Higher DPI = larger PNG dimensions and bigger files. A standard US Letter page at 150 DPI becomes a 1275×1650 pixel PNG; at 300 DPI it's 2550×3300 pixels. Always pick the lowest DPI that still looks sharp for your use case, because PNGs scale up in file size fast.
Method 2: Online PDF to PNG Converters
Online converters are the most popular route for one-off conversions because there's nothing to install. Search for "pdf to png" and you'll find dozens: Smallpdf, iLovePDF, Adobe's free online tool, ILovePDF, PDF2Go, and many others.
The pros are real: zero install, works on any OS, supports multi-page conversion into a ZIP, and the free tier is enough for occasional use.
But here's what most online tools don't advertise:
- Your file gets uploaded to someone else's server. That's a dealbreaker for contracts, medical records, financial documents, or anything with PII. "We delete files after an hour" is a policy, not a technical guarantee.
- File size caps. Most free tiers top out at 20–50 MB per upload.
- Rate limits. Do more than a few conversions and you'll hit a paywall or CAPTCHA.
- Output quality varies wildly. Some tools rasterize at a low default DPI and give you blurry PNGs with no way to override.
- Ads, trackers, and newsletter popups.
If the PDF contains anything sensitive, don't use an online converter. Use Preview, Acrobat, or the command line. For a non-sensitive, one-off conversion of a public document, online tools are fine.
Method 3: Adobe Acrobat
If you already pay for Adobe Acrobat Pro, it's the most feature-complete PDF to PNG converter available. Here's the workflow:
- Open the PDF in Acrobat Pro.
- Go to File → Export To → Image → PNG.
- In the Save As dialog, click Settings… to choose color model (RGB, Grayscale, Monochrome), resolution (72–2400 DPI), and whether to export all pages or a range.
- Click Save.
Acrobat exports every page as an individually numbered PNG (e.g., document_Page_1.png, document_Page_2.png…). The resolution control is far more granular than Preview's, and Acrobat handles transparency, color profiles, and embedded fonts correctly even in complex PDFs.
The downsides: Acrobat Pro is a paid subscription (around $20/month), and it's overkill if you just need to convert one page. Adobe also offers a free web tool at adobe.com/acrobat/online/pdf-to-png.html that uses the same rendering engine but uploads your file to Adobe's servers — same privacy tradeoffs as any other online converter.
Method 4: Command Line with pdftoppm (Power Users & Batch)
If you need to convert many PDFs, automate the process, or integrate conversion into a script, the command line is the way. The best tool is pdftoppm, part of the Poppler utilities. It's fast, scriptable, handles every edge case, and respects your DPI settings precisely.
Install on macOS:
brew install poppler
Install on Ubuntu/Debian:
sudo apt install poppler-utils
Convert a single PDF to PNG:
pdftoppm -png -r 300 input.pdf output
This produces output-1.png, output-2.png, etc., one PNG per page, at 300 DPI. Breakdown:
-png— output PNG format (instead of the default PPM).-r 300— render at 300 DPI. Use 150 for screen, 300 for print, 600 for max sharpness.input.pdf— source file.output— output filename prefix (page numbers get appended automatically).
Convert only specific pages:
pdftoppm -png -r 300 -f 1 -l 3 input.pdf output
The -f (first) and -l (last) flags limit the page range. The command above converts pages 1–3 only.
Convert one page to a single file (no suffix):
pdftoppm -png -r 300 -f 1 -l 1 -singlefile input.pdf output
The -singlefile flag produces output.png with no page number.
Batch convert every PDF in a folder:
for f in *.pdf; do pdftoppm -png -r 300 "$f" "${f%.pdf}"; done
Drop that in your terminal inside a folder of PDFs and it'll spit out numbered PNGs for every file. Scales effortlessly to hundreds of documents and is how I personally handle anything beyond 5 pages.
ImageMagick is another option (magick convert -density 300 input.pdf output.png), but it has a reputation for being slower than pdftoppm and can require editing its security policy to allow PDF processing. Stick with pdftoppm if you can.
DPI, Quality, and File Size: What to Actually Pick
The single most common mistake in PDF to PNG conversion is cranking the DPI too high "just to be safe" and ending up with 50 MB PNG files that nobody can email.
A decision framework:
- 72–96 DPI — Web thumbnails, small previews, anywhere size matters more than detail. A page ends up around 600×800 pixels.
- 150 DPI — The right default for most on-screen uses: slides, docs, blog embeds. Sharp enough to read fine print when you zoom in once.
- 300 DPI — Print quality. Use this for anything that will be physically printed or that needs to survive heavy zooming. Output files get big — typically 1–5 MB per letter-size page.
- 600 DPI — Archival or OCR inputs only. Files are huge (5–20 MB per page). Overkill for almost any viewing use.
Remember that PNG doesn't have a "quality" slider the way JPG does. All "quality" in PNG output comes from the DPI at which you rasterize the source PDF. Everything else is bit-for-bit lossless.
When to Compress PNGs After Conversion
Here's the part nobody mentions. A 10-page PDF converted at 300 DPI can easily produce 30–80 MB of PNG files. If you're sending them over email, uploading them to a CMS, or embedding them in a deck, you'll hit size limits fast.
The good news: PNGs compress very well, often by 50–80%, with zero visible quality loss. PNG compression tools remove metadata, optimize the palette, and apply better DEFLATE strategies than the default exporters use.
This is exactly what Compresto does on macOS. Drop your freshly exported PNGs into Compresto, pick a compression level, and the app strips out unnecessary data and re-encodes each image with an optimized codec. A 6 MB PNG routinely shrinks to 1.5 MB without any visible difference. It's hardware-accelerated, runs 100% locally (no uploads), and handles batches of hundreds of files at once.
If you specifically want to learn more about PNG compression, our compress PNG guide walks through both the theory and the practical workflow.
While we're on the topic, if your source PDFs are also too big, check out reduce PDF file size or how to compress PDF on Mac first — compressing the PDF before conversion can dramatically reduce your PNG output sizes too.
Batch PDF to PNG Conversion
For more than a few files, you have three realistic options:
- pdftoppm in a shell loop (Method 4 above). Fastest, most controllable. The one-liner in the command line section handles any number of PDFs in parallel if you want — just add
&and await. - Adobe Acrobat Action Wizard. In Acrobat Pro, you can create an "Action" that runs Export to Image on every PDF in a folder. Click-heavy to set up, easy to re-run.
- Automator on macOS. Create a Quick Action with "Render PDF Pages as Images" set to PNG. Drop it on any folder of PDFs for one-click conversion. No code, no subscriptions — just slower than the CLI for large jobs.
Once the PNGs are generated, pipe them through Compresto for the optimization step and you'll cut total output size by roughly half without touching quality.
PDF to PNG FAQ
Q: Does PDF to PNG preserve text as selectable text?
No. PNG is a raster format — every character becomes pixels. If you need selectable or searchable text, keep the PDF or run OCR on the resulting PNGs.
Q: What DPI should I use for PDF to PNG?
150 DPI for on-screen use, 300 DPI for print. Go higher only if you specifically need to zoom in on fine detail, and be prepared for files 4× larger.
Q: Why is my PNG output huge compared to the original PDF?
Because PDF is a container that can store vector graphics and compressed text, while PNG has to store every pixel. A 200 KB PDF at 300 DPI can easily become a 5 MB PNG. To shrink the output, lower the DPI or compress the resulting PNGs with a tool like Compresto.
Q: Can I convert PDF to PNG with transparency?
Yes, but only if the source PDF has transparent regions (it usually doesn't). pdftoppm has a -transp flag that preserves transparency where present. Preview and Acrobat render onto a white background by default.
Q: Is it safe to use an online PDF to PNG converter?
Only if your document contains nothing sensitive. Online converters upload your file to a third-party server. For contracts, medical records, internal docs, or anything with personal information, use Preview, Acrobat, or pdftoppm instead — all of which process files locally.
Q: What's the difference between PDF to PNG and PDF to JPG?
PNG is lossless and supports transparency; JPG is lossy and smaller. Use PNG for text-heavy documents, UI mockups, and anywhere you need crisp edges. Use JPG for photo-style pages where file size matters more. Our PDF to JPG guide covers the JPG path in full.
Q: How do I convert a multi-page PDF to a single PNG?
You can't combine all pages into one PNG natively — each page becomes its own image. You can stitch them vertically afterwards with ImageMagick: magick convert page-*.png -append combined.png.
Wrapping Up
PDF to PNG conversion seems simple until you start caring about resolution, batch handling, privacy, and output size. Here's the quick decision guide:
- One page, on a Mac, no fuss → Preview's File → Export.
- Sensitive files, many pages, manual work → Adobe Acrobat Pro.
- Batch, scripted, or many files → pdftoppm on the command line.
- One-off, non-sensitive, quick → An online converter is fine.
- After conversion, to cut file sizes → Compresto.
Whichever method you pick, remember that the exported PNGs will almost always benefit from a compression pass. Native macOS tools don't optimize PNG output, and online converters rarely do either. Running the results through Compresto cuts file sizes roughly in half with zero visible quality loss, 100% locally, and scales from single files to thousands at once. It's free to download and works natively on Apple Silicon and Intel Macs.
Ready to clean up your converted PNGs? Download Compresto for macOS →