DEV Community

Cover image for 🏞️ PDF to Images: Any page, any DPI β€” JPG, PNG, WebP or AVIF
Tomaz
Tomaz

Posted on Originally published at tooladda.online

🏞️ PDF to Images: Any page, any DPI β€” JPG, PNG, WebP or AVIF

⚑ 10-second version

Drop a PDF into tooladda.online/pdf-to-images.html, choose which pages and at what DPI, download the images or a ZIP. Rendering happens locally, so a 200-page document doesn't need uploading.

❗ Important

Contracts, statements and reports get converted here. Every page is rasterised in your browser β€” nothing is transmitted.


πŸ” DPI is the only setting that matters β€” pick it deliberately

DPI decides how many pixels each page becomes. Get it wrong and you either get a blurry image or a 40 MB PNG of a text page. An A4 page is 8.27 Γ— 11.69 inches, so:

DPI A4 page becomes Use it for File size
72 595 Γ— 842 px Thumbnails, contact sheets Tiny
96 794 Γ— 1123 px On-screen preview, web embedding Small
150 1240 Γ— 1754 px 🎯 The sensible default β€” sharp on screen, readable text Moderate
300 2480 Γ— 3508 px Printing, OCR, archival Large
600 4960 Γ— 7016 px Fine-detail print work only Very large β€” often 20 MB+ per page

The rule: 150 DPI unless you're printing or running OCR, in which case 300. Above 300 you're generating megabytes with no visible benefit for almost every real use.

And choose the format for the content

Page content Format Why
Text, tables, line drawings PNG Sharp edges stay sharp; JPEG smears them
Photographs, scanned photos JPEG Far smaller, and no visible penalty on continuous tone
Web embedding WebP / AVIF Substantially smaller than both at equal quality

⚠️ Warning

Converting a PDF to images throws away the text layer. The output is a picture of the words, so nothing is searchable, selectable or copyable afterwards. If you actually want the words, use Extract PDF Text instead β€” this tool is for when you need pixels.


🧭 How it works

Diagram


✨ What's inside

### 🎚️ Real DPI control Not "low / medium / high" β€” an actual number, so you can hit an exact pixel size or match a print requirement. ### πŸ“‘ Page selection Convert page 7, or pages 20–35, instead of rendering all 300 and deleting the rest.
### πŸ–ΌοΈ Four output formats PNG for text, JPEG for photos, WebP and AVIF when the images are headed for a website. ### πŸ—œοΈ ZIP for batches A 60-page conversion arrives as one download instead of sixty save dialogs.

πŸ› οΈ Real jobs

Situation Setting
πŸ–ΌοΈ Page image for a slide or blog post 150 DPI, PNG (or WebP for the web)
πŸ–¨οΈ Send a page to a print shop 300 DPI, PNG
πŸ” Feed pages into OCR 300 DPI, PNG β€” OCR accuracy depends heavily on this
πŸ“± Share a page on WhatsApp 150 DPI, JPEG
🎨 Extract artwork from a brochure Highest DPI you need, PNG
πŸ‘€ Quick visual index of a long PDF 72 DPI, JPEG, all pages

πŸ“– Four steps

1.  Open   β†’  tooladda.online/pdf-to-images.html
2.  Drop   β†’  your PDF
3.  Choose β†’  pages, DPI (150 default / 300 for print & OCR), format
4.  Export β†’  individual files or a ZIP
Enter fullscreen mode Exit fullscreen mode

β–Ά Convert now β€” tooladda.online/pdf-to-images.html

πŸ’‘ Tip

Convert one page first at your chosen DPI and look at it full size. Getting the setting wrong on page 1 costs a second; getting it wrong on 200 pages costs a lot of waiting and a large download.


❓ FAQ

Is it free? Page limit?

Free, no watermark, no signup. The limit is your device's memory, not a plan.

Is my PDF uploaded?

No β€” pages are rendered in your browser.

What DPI should I use?

150 for screen use, 300 for printing or OCR. Above 300 mostly just makes bigger files.

Will the text still be selectable?

No. Images are pixels. For selectable text use Extract PDF Text.

JPEG or PNG?

PNG for pages that are mostly text or line art; JPEG for photographic pages. JPEG artefacts cluster on sharp edges, which is exactly what text is.

Can I get back to a PDF afterwards?

Yes β€” Images to PDF. The text layer won't come back, though.


πŸ”¬ Under the hood

  • PDF rendered page-by-page onto a canvas in the browser at your requested scale; no server rasteriser.
  • DPI maps to a canvas scale factor against the page's real point dimensions, so the pixel output is predictable.
  • Encoding to PNG/JPEG/WebP/AVIF handled by the browser's own codecs; ZIP built client-side.
  • Works offline once loaded.

Originally published on ToolAdda, where PDF to Images runs free in your browser β€” nothing is uploaded, nothing leaves your device.

Top comments (0)