PDF to Images

Convert each PDF page into a PNG or JPEG image.

How to Use

1

Upload your PDF

Click Choose File or drag in a PDF file. PDF.js parses it entirely in your browser.

2

Set resolution scale

Scale 1.0 (72 DPI) for web use, 2.0 (144 DPI) for retina, or 3.0 (216 DPI) for print review.

3

Select output format

PNG for text and graphics, JPEG for smaller files with photographic pages.

4

Download all page images

Processing completes then downloads a ZIP with sequentially named images (page-1.png, etc.).

How PDF to Image Works

Each page of your PDF is rendered onto an HTML5 canvas using PDF.js at your chosen scale, then exported as PNG or JPEG. Higher scale values produce sharper images but larger file sizes. All processing happens locally — your PDF is never uploaded.

Real-World Examples & Use Cases

Presentation Slides

Convert PDF report pages into images for importing into PowerPoint, Keynote, or Google Slides as image slides. Conference speakers, trainers, and educators use PDF-to-image as a bridge between static documents and presentation tools.

Social Media Publishing

Sharing PDF infographics and data visualizations as standalone images on LinkedIn carousels, Instagram, and Twitter requires image files. Marketing teams convert report pages and survey findings into PNG images for social distribution.

OCR Input Preparation

OCR tools and machine learning pipelines accept image files as input. Converting PDF pages to high-resolution PNGs produces standardized input for text recognition, form extraction, and document classification workflows.

Thumbnail Generation

Document management systems, e-signature platforms, and digital library portals show page preview thumbnails. Converting PDF pages to images at scale 0.5-1.0 produces fast, lightweight previews for web interfaces.

How It Works

PDF rendering: pdfjsLib.getDocument(bytes) loads the PDF. page.getViewport({scale}) sets output dimensions. page.render({canvasContext, viewport}) rasterizes. canvas.toDataURL exports the image. Resolution = scale x 72 DPI (scale 2 = 144 DPI). A4 at scale 2 = 1190x1684 pixels.

Frequently Asked Questions

What scale factor should I use?
Scale 1.0 = 72 DPI for thumbnails; 1.5 for standard screens; 2.0 for retina displays; 3.0 for print review. For social media, scale 2.0-2.5 provides sharp images without excessive file sizes.
How many pages can this tool handle?
Practical limit is ~50-100 pages at scale 2.0 on a typical device with 8 GB RAM. Very large PDFs at high scale factors are best handled by server-side tools.
Are the converted images text-searchable?
No. Images are raster pixels, not character data. For searchable output, you need OCR post-processing to add a text layer to the image.
PNG or JPEG — which should I choose?
PNG for documents with text, tables, and diagrams (lossless, crisp edges). JPEG for photographic pages (smaller files, slight artifacts around sharp edges).
Is my PDF uploaded anywhere?
No. PDF.js runs entirely in your browser. Your PDF is processed in local memory and images are downloaded directly. No document data leaves your device.

Related Tools

Explore other tools in this category.

Looking for something else?