keptlocal
Files never leave your browser

PDF to PNG

Upload a PDF and every page renders to a crisp, lossless PNG. Single pages download as one file; multiple pages download as a ZIP. Nothing is uploaded.

Drop a PDF here, or

Files never leave your browser.

Drop a PDF to convert its pages to PNG.

How to convert PDF to PNG

  1. Drop your PDF into the zone above, or click to browse.
  2. Choose a quality setting: Standard (1.5×) for screen viewing and quick sharing, High (2×) for presentations and general print preparation, Best (3×) for maximum sharpness and archival use.
  3. Click Convert to PNG. Pages render one by one — each gets its own Save link. For multi-page PDFs a Download ZIP button also appears so you can grab all pages in one click.

Everything runs in your browser using pdf.js and the Canvas API. No file is sent to a server — open DevTools (F12) → Network while converting to verify zero upload requests.

When to convert PDF to PNG

  • Embedding a PDF page in a document or slide deck — slide software like PowerPoint, Keynote, and Google Slides cannot import PDF pages directly. Export as PNG and insert the image instead.
  • Sharing a single-page document as an image — invoices, certificates, and flyers convert cleanly to PNG for sharing in messaging apps, email, or social media without requiring the recipient to have a PDF viewer.
  • Creating thumbnails and previews — web apps and document management systems often display PDF thumbnails by converting the first page to an image. PNG output is ideal here because it is lossless.
  • Archiving a scanned document as an image — for long-term storage, PNG captures every pixel exactly as the scanner captured it, with no generational quality loss.
  • Preparing PDF content for image editing — when you need to annotate, retouch, or composite a PDF page in Photoshop or GIMP, importing as PNG gives you a pixel-perfect starting canvas.

PNG vs JPG for PDF export: which to choose

PNG uses lossless compression — every pixel in the output exactly matches the corresponding pixel rendered from the PDF. There are no compression artefacts, no blurry edges around text, and no colour shifts. This makes PNG the right choice for documents that contain text, diagrams, line art, charts, and screenshots.

JPG uses lossy compression — it achieves smaller files by discarding some colour detail. For photographic PDFs (a portfolio, a photo book), JPG is fine and produces much smaller files. For anything with crisp text or precise linework, JPG introduces visible ringing and blurring at character edges, which PNG avoids entirely.

As a rule of thumb: if you would be embarrassed to print the output and hand it to someone, use PNG. If the output is for screen sharing only and file size matters, JPG is acceptable.

How it works under the hood

pdf.js — the same library Firefox uses internally to display PDFs — loads the file and renders each page to an off-screen HTML <canvas> element. The scale factor controls how many pixels per PDF point are rendered: at 1× a 72 dpi page renders at 72 pixels per inch; at 2× that doubles to 144 ppi; at 3× you get 216 ppi, which is indistinguishable from the original on any modern screen.

Once a page is painted on the canvas, canvas.toBlob(callback, "image/png") encodes it as a lossless PNG. The Blob is wrapped in an object URL for the download link and, for multi-page documents, added to a JSZip archive for the bulk download.

Limits and what to expect

  • Memory: high-resolution canvases consume significant RAM. A large A3 page at 3× scale can require 200–400 MB of RAM. If the browser tab crashes on a large PDF, reduce the scale to Standard or High.
  • Fonts: pdf.js embeds and renders fonts from the PDF. PDFs that reference system fonts not embedded in the file may render with substituted fonts, which can change text layout slightly. This is a pdf.js limitation, not a keptlocal limitation.
  • Password-protected PDFs: only PDFs openable without a password. Use the Unlock PDF tool first.
  • Very long documents: processing is sequential — each page renders before the next begins. A 100-page document at Best quality may take 30–60 seconds depending on your device's CPU speed.
  • Browser support: Chrome 90+, Firefox 90+, Safari 15+, Edge 90+.

Privacy: what happens to your file

Your PDF is loaded into browser memory and rendered locally. Nothing is sent to a server. PNG files are generated from the canvas and downloaded directly to your device.

For sensitive PDFs — financial statements, medical records, legal documents — this architecture means there is no third-party server to trust. Open the Network tab in DevTools while converting to confirm zero file transfers.

Frequently asked questions

Are my files uploaded to a server?
No. Everything runs in your browser using pdf.js and the Canvas API. Your PDF never leaves your device.
What is the difference between PDF to PNG and PDF to JPG?
PNG is lossless — every pixel is preserved exactly with no compression artefacts. This makes PNG better for PDFs containing text, diagrams, and screenshots. JPG uses lossy compression, producing smaller files at the cost of slight quality loss, which is acceptable for photographic content.
When should I use PNG instead of JPG?
Use PNG when you need to preserve sharp text and crisp lines — presentations, technical diagrams, screenshots, and infographics. Use JPG when file size matters more than pixel-perfect quality — photo-heavy PDFs and web thumbnails.
How large will the output PNG files be?
PNG files are larger than JPGs because they are lossless. A typical A4 page at Standard quality produces a PNG of roughly 500 KB–2 MB depending on content complexity.
Does this work on password-protected PDFs?
Only PDFs openable without a password. Use the Unlock PDF tool first if needed.