Guide
How to Convert PDF to PNG
Three free methods — browser, desktop, and command line — with tips on picking the right resolution for sharp, lossless images.
Why convert PDF to PNG?
A PDF stores text and vector instructions; a PNG is a fixed grid of pixels. You need to cross that line whenever you want to paste a page into a slide deck, drop a chart into a group chat, use a diagram as a website image, or feed a document page to an image editor. PNG is the right target when edges matter: its lossless compression keeps text and line art crisp, unlike JPEG which adds compression artefacts around sharp transitions.
PNG also supports transparency. If a PDF page has no painted background, you can export it with an alpha channel and layer it on top of any colour without a white rectangle showing through.
Method 1: Free browser tool (fastest)
The PDF to PNG converter on this site runs entirely in your browser. No signup, no file upload, no watermark. Here is how to use it:
- Open the converter and drag your PDF onto the drop zone — or click to browse, or paste with Ctrl+V (⌘V on Mac). You can add up to 20 files at once.
- Pick a resolution. 150 DPI is the default and works for anything displayed on screen. Choose 300 DPI if the PNG will be printed or cropped, or 72 DPI for quick thumbnails. There is a 600 DPI option for archival-quality output.
- Set a page range if you only need part of the document. Type something like
1-3, 8, 12-to skip the rest. - Download. Each page appears as a thumbnail with its own download button. Use Copy to put a single page on the clipboard, or grab the whole batch as a ZIP.
Because the converter uses Mozilla's pdf.js — the same engine Firefox uses to display PDFs — the output matches what a browser renders. Your file never leaves your device: pdf.js parses and paints it inside the tab, so there is nothing to upload and nothing to wait for.
Method 2: macOS Preview
If you are on a Mac and only need one or two pages exported, Preview handles it without any extra software:
- Open the PDF in Preview (it is the default handler for PDFs on macOS).
- Go to File → Export. In the Format dropdown, choose PNG.
- Set the resolution. Preview defaults to 72 DPI. For a sharper image, bump it to 150 or 300.
- Click Save. Preview exports the currently visible page.
The limitation: Preview exports one page at a time. If you have a 40-page document, you would need to select each page in the sidebar and export individually. For multi-page jobs, the browser tool above is faster.
Method 3: Command line (Ghostscript)
For batch work or scripts, Ghostscript converts PDFs to PNGs from the terminal. It is available on Linux, macOS (via Homebrew), and Windows:
gs -sDEVICE=png16m -r300 -o output-%03d.png input.pdf-sDEVICE=png16mselects 24-bit RGB PNG output. Usepngalphafor transparent backgrounds.-r300sets the resolution to 300 DPI. Change to-r150or-r600as needed.-o output-%03d.pngwrites each page to a numbered file:output-001.png,output-002.png, and so on.
Ghostscript is powerful but requires installation and a terminal. For a one-off conversion, the browser method takes less time than typing the command.
What DPI should you use?
DPI (dots per inch) controls how many pixels each inch of the PDF page becomes. Higher DPI means a sharper image but a larger file:
| DPI | A4 page size | Best for |
|---|---|---|
| 72 | 595 × 842 px | Quick previews, web thumbnails |
| 150 | 1240 × 1754 px | On-screen reading, slides, chat |
| 300 | 2480 × 3508 px | Print, cropping, zoom |
| 600 | 4960 × 7016 px | Archival scans, fine print |
Start at 150 DPI. If the result looks soft when you zoom in, go to 300. Going higher than 300 rarely adds visible detail unless the PDF contains tiny print or intricate diagrams.
PNG vs JPG: which format to export?
PNG uses lossless compression — every pixel is exact, which keeps text and line art sharp. The trade-off is a larger file. JPG uses lossy compression that produces smaller files but blurs edges, especially around text.
Use PNG for documents with text, tables, screenshots, or any content with hard edges. Use JPG for photo-heavy PDFs where a smaller file matters more than pixel-perfect fidelity. This site offers both: PDF to PNG for lossless output and PDF to JPG for smaller files.
Common questions
Can I convert a multi-page PDF into separate PNGs?
Yes. Every method above exports each page as its own PNG file. The browser tool names them document-page-01.png through document-page-40.png (or however many pages the PDF has) and offers a ZIP download for the full set.
Does converting lose quality?
Not if you export to PNG. PNG is lossless, so the output is as sharp as the resolution you chose. At 300 DPI, a converted page is indistinguishable from the original when viewed at normal zoom. Quality loss only happens with lossy formats like JPEG.
Is my file uploaded to a server?
Not with the browser tool on this site. pdf.js renders the PDF inside your browser tab — no data leaves your device. That also means conversion starts instantly, with no upload to wait through.
Can I get a PNG with a transparent background?
Yes. In the browser tool, tick Transparent background before converting. The output will be a 32-bit PNG with an alpha channel. With Ghostscript, use the pngalpha device instead of png16m.
Ready to convert?
Drop your PDF into the free PDF to PNG converter — no signup, no install, every page exported at up to 600 DPI. Need a different output? PDF to JPG gives you smaller files, and Compress PDF shrinks the PDF itself.