PDF to PNG
Save PDF pages as PNG images with no loss. Text and thin lines stay sharp. The file never leaves your device.
https://flxcode.com/pdf-to-png/
or drop a PDF here
Up to 200 MB together. Password-protected PDFs can't be opened.
Your files never leave this device. There is no upload, no account and no watermark. How we count
Problem or idea? Email us
How to use it
- Choose a PDF or drop it on the box.
- Pick the resolution and the pages. 150 dpi is a good start; use 300 dpi for print or small text.
- Press Convert to PNG. One page is one image; several pages come as pdf-pages.zip, and each image has its own link.
Worked example: pixels and memory per page
A browser keeps a drawn page as 4 bytes per pixel (red, green, blue and see-through) until it is saved. That is the memory one page needs while it is drawn, before the PNG is packed.
| Page | Pixels | Megapixels | Memory while drawing |
|---|---|---|---|
| Letter at 72 dpi | 612 × 792 | 0.5 MP | 1.8 MB |
| A4 at 150 dpi | 1240 × 1754 | 2.2 MP | 8.3 MB |
| Letter at 300 dpi | 2550 × 3300 | 8.4 MP | 32.1 MB |
The PNG file itself is smaller than this, because PNG packs flat areas well. A page of plain text is small. A page that is a photo or a scan is much bigger.
Worked example: names in a long file
The number in the file name has as many digits as the last page needs, with a minimum of two. This keeps page 2 in front of page 10 when a folder is sorted by name.
| File has | Page | File name |
|---|---|---|
| 9 pages | 3 | page-03.png |
| 12 pages | 3 | page-03.png |
| 120 pages | 3 | page-003.png |
| 120 pages | 120 | page-120.png |
Numbers this uses
- Resolution: 72, 150 or 300 dpi. Pixels = page points × dpi ÷ 72, so a Letter page (612 × 792 pt) is 1275 × 1650 pixels at 150 dpi.
- Largest page: 25 million pixels. Bigger pages are drawn smaller and the page says so.
- Memory while drawing: 4 bytes per pixel. A Letter page at 300 dpi needs about 32 MB for a moment.
- Background: white. PNG could keep a see-through page, but PDF pages are normally printed on white, so the image matches what you see.
- Limit: 200 MB for the PDF and 300 MB of images per run. Output names: page-01.png and so on, and pdf-pages.zip.
What happens to your file
pdf.js (Mozilla, Apache-2.0) opens the PDF in a worker in this tab. Each chosen page is drawn on a canvas and written as a PNG by the browser. No page goes to a server, and nothing about the pages is stored. The PDF may make it fetch a fixed font or decoder file from this site; that request does not contain your file or its name.
This matters for a PDF with a contract, a statement or an ID in it. Converters that upload the file keep a copy on their side for a while. This page has no upload step, so there is nothing to keep.
Counts of events such as "merge" or "download" are kept without cookies, and never a file name, size or page count (details). The PDF code is pdf-lib (MIT licence) and pdf.js (Apache-2.0 licence): open source used on this site.
PNG, file size and when to pick JPG
- PNG packs flat colour very well and photos badly. A text page is small. A scanned page or a photo page can be 5 MB or more at 300 dpi; PDF to JPG makes those smaller.
- The images are pictures. The words can't be selected. Use PDF to Text for the words.
- Many long pages at 300 dpi add up. The run stops with a message if the images together pass 300 MB.
FAQ
How do I convert a PDF to PNG?
Choose the PDF, pick the resolution and press Convert to PNG. One page downloads as a PNG; more pages download as a zip, and each image also has its own link.
Is PNG better than JPG for a PDF?
For text, tables, charts and line art, yes: PNG is lossless, so edges stay clean. For photos, JPG makes a much smaller file with no visible loss at 90 percent.
What resolution gives a clear PNG?
150 dpi for the screen. 300 dpi for print or for pages with small letters. A Letter page is 1275 × 1650 pixels at 150 dpi and 2550 × 3300 at 300 dpi.
Does the PNG keep a transparent background?
No. The page is drawn on white, which is how it prints. If you need a see-through background, remove the white in an image editor afterwards.
Why is my PNG so big?
Pictures and scans do not pack well in PNG. A page with a photo at 300 dpi can be several MB. Use 150 dpi or the JPG tool for those pages.
Can I get every page as its own PNG?
Yes. Leave the pages box blank. You get pdf-pages.zip with page-01.png, page-02.png and so on, plus a link for each image.
What if a page is very large, like a poster?
A page is drawn at no more than 25 million pixels. A 24 × 36 inch poster at 300 dpi would be 77 million, so it is scaled down and the page tells you. Use a lower dpi to choose the size yourself.
Is my PDF uploaded?
No. The page reads the file with your browser and builds the result in this tab. There is no server step. To check it, open the page, wait a second, choose a file, then switch to airplane mode and run the job. It still works. The one exception is the pdf.js reader on pages with previews, images or text: for a PDF with unusual fonts or image types it may load a fixed font or decoder file from this site first. That request does not contain your file or its name.
More from FLXCode
PDF to JPGNew
Turn PDF pages into JPG images at 72, 150 or 300 dpi. Runs in your browser, nothing is uploaded.
PDF to TextNew
Copy the text out of a PDF or save it as .txt. Needs a text layer; scans need OCR. Nothing is uploaded.
PNG to PDFNew
Turn PNG screenshots and images into a PDF in your browser. Keeps transparency. Nothing is uploaded.
Merge PDFNew
Combine PDF files into one, in the order you choose. It runs in your browser and nothing is uploaded.