How to Convert PDF to High Quality PNG
Quality in a PDF-to-PNG conversion is decided by one number: the DPI you render at. PNG itself is lossless, so nothing degrades after the render — but the render fixes the resolution permanently. Pick the DPI first, then everything else follows.
Pick Your DPI
Pixel dimensions below are for a US Letter page (8.5 × 11 inches). The arithmetic is simply inches × DPI = pixels, so an A4 page (8.27 × 11.69 inches) at 300 DPI comes out at 2480 × 3508.
| DPI | Letter page, in pixels | When to use it |
|---|---|---|
| 72–96 DPI | 612 × 792 – 816 × 1056 | On-screen preview, email attachment, quick reference image. |
| 150 DPI | 1275 × 1650 | The screen default. Slide decks, documentation, web pages. Text is comfortably readable. |
| 300 DPI | 2550 × 3300 | The print standard. Use this whenever the PNG might be printed or dropped into a print layout. |
| 600 DPI | 5100 × 6600 | OCR of small type, fine line art, archival masters. Large files, real render time. |
If you are unsure, use 300 DPI. It is large enough to print, large enough to crop into, and small enough to email. Render once at the highest resolution you might ever need and downscale copies from it — downscaling a 300 DPI PNG to screen size looks excellent, while upscaling a 96 DPI PNG to print size never does.
Why DPI Is the Only Setting That Really Matters
A PDF page is a set of drawing instructions measured in points, where 72 points equal one inch. Text and vector graphics have no resolution of their own — the renderer draws them at whatever size you ask for. DPI is how you ask.
That is why a PDF-to-PNG conversion behaves differently from, say, a PNG to JPG conversion. There is no quality slider to get wrong, because PNG stores every pixel exactly. There is only the question of how many pixels to make. Get that right and the conversion is as sharp as the source allows; get it wrong and no amount of post-processing will rescue it.
The One Exception: Scanned PDFs
If your PDF came from a scanner or a phone camera, its pages are not vectors — they are photographs of paper, embedded at a fixed resolution. Rendering such a page at 600 DPI when the embedded scan is 200 DPI produces a file three times larger with no additional detail; you have enlarged pixels, not revealed them. The embedded image's own resolution is a hard ceiling. Match your render DPI to it and stop there.
Choose a Color Mode
Most tools default to 24-bit RGB, which is the right answer for nearly every page. The alternatives are worth knowing because two of them can meaningfully shrink your files.
RGB — the default
8 bits per channel, 16.7 million colors. Correct for anything with color: charts, logos, photographs, colored headings.
Grayscale — for scanned or black-and-white text
One channel instead of three. Files are substantially smaller, and scanned text loses the faint color fringing that scanners introduce. Use it for contracts, book pages, and anything you plan to run through OCR.
Indexed color (PNG-8) — for flat diagrams
A palette of at most 256 colors. Excellent for line drawings, schematics, and flat-color diagrams, where it can cut file size by more than half with no visible change. Avoid it for gradients and photographs, which will band.
CMYK — not available in PNG
Print-ready PDFs often carry CMYK colors, but the PNG format has no CMYK mode. Every rasterizer converts to RGB on the way out, and saturated colors can shift noticeably. If a printer asked for the file, send the PDF, not a PNG of it.
One more knob worth leaving alone: anti-aliasing. It smooths the jagged edges of text and curves, and it should stay on for any page a human will read. Turn it off only when you need pixel-exact line art, or when you are feeding a 1-bit black-and-white image to an OCR engine that expects hard edges.
Pick a Tool
This site's browser converter — first page, 144 DPI
The PDF to PNG converter renders the first page at 2× scale, which works out to 144 DPI — a 1224 × 1584 PNG for a Letter page. That is sharp on a retina screen and plenty for a slide, a ticket attachment, or a quick reference image. It runs entirely in your browser, so the PDF is never uploaded, which matters when the document is a contract or a medical record. It is not the tool for a 300 DPI print master or a 40-page document.
pdftoppm — the fastest way to do it properly
Part of Poppler, available on every Linux distribution and through Homebrew on macOS. It renders every page of input.pdf to numbered PNGs at 300 DPI:
pdftoppm -png -r 300 input.pdf page
Add -gray for grayscale output, or -f 1 -l 1 to render only the first page.
Ghostscript — the most control
Exposes the color mode as a device and the anti-aliasing as an explicit setting:
gs -dNOPAUSE -dBATCH -sDEVICE=png16m -r300 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile=page-%03d.png input.pdf
Swap png16m (24-bit RGB) for pnggray, png256, or pngalpha to change color mode.
ImageMagick — convenient, with one trap
magick -density 300 input.pdf output.png
The -density flag must come before the input file. Put it after and ImageMagick rasterizes at the default 72 DPI and then merely tags the result — a blurry PNG that claims to be 300 DPI. This is the single most common cause of a disappointing PDF-to-PNG conversion. ImageMagick delegates PDF rendering to Ghostscript anyway, so on a large job you may as well call Ghostscript directly.
Mistakes That Cost You Quality
- Screenshotting the PDF viewer. A screenshot captures your display, not the document — roughly 96 DPI, plus whatever zoom level the viewer happened to be at. Always render from the file.
- Upscaling the PNG afterwards. Enlarging a small render invents pixels by interpolation. Re-render from the PDF at the DPI you actually need instead.
- Passing through JPG on the way.Converting PDF to JPG and then JPG to PNG bakes JPG's compression halos permanently into a lossless container. Go straight to PNG.
- Putting
-densityafter the filename in ImageMagick. See above — it silently produces a 72 DPI render. - Rendering a scan above its native resolution. Bigger file, identical detail.
- Going past 600 DPI “to be safe.” A Letter page at 1200 DPI is 10200 × 13200 pixels — about 135 megapixels, or roughly 400 MB of uncompressed RGB before PNG compression. Most viewers will struggle to open it, and no printer will use the extra detail.
When JPG Is the Better Answer
PNG wins on text, tables, diagrams, and line art, because lossless compression keeps every edge exactly where the renderer put it. But PNG compresses photographs badly — a photo-heavy page rendered at 300 DPI can easily be five to ten times larger as PNG than as JPG, for a difference no one will see. If the page is essentially a photograph, use the PDF to JPG converter at 90% quality or higher. If the page mixes photographs with text you need to stay crisp, PNG is still the safer choice.
Convert a PDF Page to PNG Now
Drop in a PDF and get the first page back as a lossless 144 DPI PNG. Free, private, and entirely in your browser — the file is never uploaded.
Open the PDF to PNG ConverterRelated Conversions
Frequently Asked Questions
What DPI should I use to convert PDF to PNG?
300 DPI if the PNG will be printed or placed in a print layout. 150 DPI if it will only ever be viewed on a screen — slides, documentation, a web page. 600 DPI only for OCR of small type, fine line art, or archival masters. Above 600 DPI you are almost always just making a larger file, not a better image.
Does converting PDF to PNG lose quality?
PNG compression itself is lossless, so nothing is lost after the render. What you do lose is scalability: a PDF describing text and vectors can be drawn at any size, and the moment you rasterize it you freeze it at one resolution. Choose the DPI for the largest size you will ever need, because you cannot get the detail back later by enlarging the PNG.
Why does my PDF to PNG conversion look blurry?
Almost always one of three causes. You rendered at too low a DPI (a screenshot of a PDF viewer captures roughly 96 DPI). You upscaled the PNG after rendering, which invents pixels rather than adding detail. Or the PDF is a scan, so its pages are already raster images and rendering above the scan's own resolution enlarges pixels without revealing anything new. The fix for the first two is to re-render from the PDF at a higher DPI.
Should I convert PDF to PNG or JPG?
PNG for pages with text, tables, diagrams, or line art — its lossless compression keeps edges crisp, while JPG's lossy compression leaves visible halos around dark text on white. JPG for pages that are mostly photographs, where the file will be several times smaller with no meaningful difference. If a page mixes both and you care about the text, choose PNG.
How do I convert every page of a PDF, not just the first?
Browser-based converters, including the one on this site, render the first page. For a multi-page document use a command-line rasterizer: pdftoppm writes one numbered PNG per page in a single command, and Ghostscript does the same with an output filename template. Both let you set the DPI explicitly.
Can I keep a transparent background?
Only if the PDF itself has no opaque background, which is uncommon — most PDFs paint a white page first. When the page is genuinely transparent, Ghostscript's pngalpha device preserves the alpha channel. Standard RGB devices flatten it onto white.
Related Reading
- How to batch convert images without losing quality — the same discipline applied to a whole folder at once.
- How to convert images without quality loss — lossy vs lossless formats explained.
.gear
Gear that pairs with the converter
Imaging gear we'd reach for in the same workflow — shooting, offloading, digitizing, and editing the files you convert here.
.sd-card
SanDisk Extreme PRO SDXC Card
Fast UHS-I card for cameras that shoot the HEIC, RAW, and TIFF files you're converting — quick offloads, no buffer stalls.
.storage
Samsung T7 Shield Portable SSD
Rugged external SSD for photo libraries and batch-conversion output — keeps originals safe before you compress anything.
.ingest
Anker USB-C SD Card Reader
Pulls photos straight off SD and microSD cards into your laptop — the first step of every convert-and-share workflow.
.scanner
Epson Perfection V600 Photo Scanner
Flatbed photo and film scanner for digitizing prints, slides, and negatives into TIFF or PNG masters worth archiving.
.editing
Logitech MX Master 3S Mouse
Precision mouse with app-specific scroll and buttons — a big upgrade for cropping, masking, and culling large photo sets.
.color
Calibrite Display SL Calibrator
Monitor calibrator so the colors you see while comparing formats and quality settings are the colors everyone else gets.
As an Amazon Associate this site earns from qualifying purchases. Links are sponsored.