How to Turn a PDF Into Images (JPG/PNG)
Convert PDF pages to high-resolution JPG or PNG images right in your browser. Free PDF to image converter for social media, thumbnails, and presentations.
When to Convert PDF to Images
You need a PDF page as a social media graphic for a post or story. A slide deck needs its slides extracted as individual images for a website gallery or CMS. A PDF document has a diagram you want to embed in a blog post as a standalone image. A client wants a thumbnail preview of a multi-page PDF to show in an email or on a product page.
Converting PDF pages to images rasterizes the page content into a fixed-resolution bitmap. The output is a standard JPEG or PNG file that any image viewer, browser, social platform, or document editor can display. Unlike a PDF, an image requires no special viewer and embeds directly in web pages, emails, and apps.
How the Conversion Works
The PDF to Images Converter renders PDF pages as images in your browser:
- Upload a PDF: the file stays in browser memory and is never sent to a server.
- Pick the output format: JPEG (smaller files, white background, no transparency) or PNG (larger files, supports transparency, lossless).
- Set the resolution: enter a DPI value. Higher values produce larger, sharper images. Values of 72, 150, and 300 are common.
- Choose pages: convert all pages, a specific range like
1-5, or individual pages like3. - Download: each page becomes a separate image file, named by page number
(
page-1.jpg,page-2.jpg, and so on).
The tool uses the browser's built-in PDF rendering engine to draw each page onto a canvas, then exports the canvas as a JPEG or PNG. No server round-trip, no upload.
Choosing Resolution (DPI)
Resolution controls pixel dimensions. A US Letter page (8.5 × 11 inches) rendered at different DPI values:
| Use Case | DPI | Pixel Dimensions | Approx. File Size | |---|---|---|---| | Thumbnail or quick preview | 72 | 612 × 792 | 50-150 KB | | Blog post or social media | 150 | 1275 × 1650 | 200-600 KB | | Print or archival | 300 | 2550 × 3300 | 1-3 MB | | OCR input for text extraction | 300 | 2550 × 3300 | 1-3 MB |
For most web uses, 150 DPI is the sweet spot. Text stays readable, images look sharp, and the file size is reasonable for loading in a browser. Going to 300 DPI quadruples the pixel count and file size but offers no visible improvement on a screen. Reserve 300 DPI for print, archival, or when feeding the image into an OCR pipeline.
JPEG vs. PNG
The choice depends on what is on the page and what you are doing with the image.
Choose JPEG when:
- The page background is white (most documents).
- You want the smallest file size.
- The page contains photos or gradient-heavy graphics. JPEG compression handles these well.
- You are posting to social media or embedding in a web page.
Choose PNG when:
- The PDF has transparent elements that you need to preserve.
- The page is text-heavy and you want zero compression artifacts around sharp letter edges. JPEG can introduce visible fuzz around text.
- You are doing further image processing and need lossless quality as the starting point.
- File size is not a concern.
If you are unsure, start with JPEG at 150 DPI. It covers the vast majority of use cases.
Converting All Pages vs. Selected Pages
- All pages: the tool generates one image per page. A 20-page PDF produces 20 images. This is what you want for slide decks, portfolios, or batch processing.
- Page range: enter
1-5to get images for pages 1 through 5. Use this for extracting a chapter or section. - Single page: enter
3to get just page 3 as an image.
The output filenames include the page number so you can identify each one, even when converting all pages.
Handling Orientation Issues
PDF viewers often auto-rotate pages for display, but the underlying page may be stored in a different orientation than what you see on screen. The converted image reflects the stored orientation, not the displayed one.
If an image comes out rotated, use the Image Rotate Tool to fix it. Rotate 90 degrees clockwise or counterclockwise and re-save.
Post-Conversion Tasks
Images from PDF conversion often need follow-up processing:
- Compress for web: a 300 DPI PNG from a letter-size page might be 3 MB. That is too large for a web page. Use the Image Compressor to reduce the file size while keeping it visually acceptable.
- Crop margins: PDF pages often have generous margins. Use the Image Cropper to trim empty space around the content.
- Resize for specific dimensions: if you need exact pixel dimensions (for a social media template, for example), use the Image Resizer.
- Convert format: if you chose JPEG but later need PNG, or vice versa, use the Image Converter.
Command-Line Alternatives
Several free tools convert PDF pages to images from the terminal:
# pdftoppm (poppler-utils), converts to PPM/PNG/JPEG
sudo apt install poppler-utils # Linux
brew install poppler # macOS
pdftoppm -jpeg -r 150 document.pdf output-prefix
# ImageMagick, more format control
convert -density 150 document.pdf output-%03d.jpg
# Ghostscript, highest quality control
gs -dNOPAUSE -dBATCH -sDEVICE=jpeg -r150 \
-sOutputFile=page-%03d.jpg document.pdf
For batch processing dozens of PDFs, these CLI tools are faster and more scriptable than a browser.
Try it yourself: open the PDF to Images Converter. Upload a PDF. Set resolution to 150 DPI and format to JPEG. Convert all pages. Download page 1 and open it in an image viewer. It renders as a sharp image suitable for a blog post or social media post. Try converting the same page at 300 DPI and compare the file sizes. Open both at normal viewing size on your screen; they should look nearly identical despite the large size difference.