PDF files are great for preserving layout and sharing documents, but they're not always the right format. For thumbnails, preview images, social sharing, or embedding in documents that don't support PDFs, you need the pages as image files. Here's how to convert PDFs to JPG and what to watch for.
Why Convert PDF to JPG?
Thumbnails and previews. Many website builders, document management systems, and CMS platforms can display JPEG images as previews but can't render PDFs inline. Converting the first page to a JPG gives you a visual thumbnail.
Social media sharing. You can't attach a PDF to most social media posts. Convert to images to share the visual content of a document.
Embedding in presentations. PowerPoint and Google Slides accept image files but don't natively embed PDFs. Convert pages to JPG and insert them as images.
Compatibility. JPG is universally supported — every device, browser, and app can open it. PDFs require a viewer.
Extracting charts and diagrams. If a PDF contains charts, infographics, or illustrations you want to reuse, converting to high-resolution JPG extracts them cleanly.
How to Convert PDF to JPG
Use DevZone's PDF to JPG Converter to convert PDF pages to images in your browser — no software installation needed:
- Upload your PDF.
- Choose the quality setting (higher quality = larger file, more detail).
- Select which pages to convert (all pages, or a range).
- Download individual JPG files or a ZIP of all pages.
Key Settings to Understand
DPI (Resolution)
DPI (dots per inch) determines image sharpness. PDF is a vector-based format that can render at any resolution — the higher the DPI, the sharper the output image.
| DPI | Use case |
|---|---|
| 72 DPI | Screen display, thumbnails (small file size) |
| 150 DPI | Screen display with moderate detail |
| 300 DPI | Print-quality — professional use, high-resolution displays |
| 600 DPI | Very high quality — large format printing, archival |
For most web use, 150 DPI is sufficient. For documents you'll print or zoom in on, use 300 DPI.
JPEG Quality
JPEG is a lossy format — compression reduces file size at the cost of image quality. Higher quality means larger files but fewer artifacts.
| Quality | File size | Appearance |
|---|---|---|
| 60% | Small | Visible compression artifacts, acceptable for thumbnails |
| 80% | Medium | Good quality, most web use cases |
| 90–95% | Large | Excellent quality, professional use |
| 100% | Very large | Maximum quality, minimal compression |
For documents with text, use 85%+ quality — JPEG's block artifacts are most visible around sharp edges like letters.
PNG vs JPG Output
If your PDF contains text, diagrams, or line art with transparent backgrounds, consider PNG output instead:
- PNG — lossless, larger files, preserves sharp edges perfectly
- JPG — lossy, smaller files, slightly soft edges around text
For photo-heavy PDFs (photography portfolios, brochures with full-bleed images), JPG is the better choice.
Converting PDFs in Different Environments
macOS — Preview:
Open the PDF in Preview, then File → Export → JPEG. You can set DPI in the resolution field. For multiple pages, you need to export them one at a time from Preview, or use Automator.
Windows — Print to image:
Right-click the PDF in File Explorer, select Print, choose Microsoft Print to PDF (outputs another PDF) or use Windows' built-in Photos app. For batch conversion, a third-party app like Adobe Acrobat Reader is needed.
Command line (Linux/macOS) — Ghostscript:
gs -dNOPAUSE -dBATCH -sDEVICE=jpeg -r300 -dJPEGQ=90 \
-sOutputFile=page-%03d.jpg input.pdf
Command line — pdftoppm (poppler utils):
pdftoppm -jpeg -r 300 -jpegopt quality=90 input.pdf output
# Produces: output-1.jpg, output-2.jpg, etc.
Python — pdf2image library:
from pdf2image import convert_from_path
pages = convert_from_path("document.pdf", dpi=300)
for i, page in enumerate(pages):
page.save(f"page_{i+1}.jpg", "JPEG", quality=90)
What Gets Lost in PDF to JPG Conversion
Converting PDF to JPG is a rasterization process — you're rendering the vector PDF to pixels. As a result:
Text is no longer searchable. The output JPG contains pixels representing letters, not actual text characters. You can't copy or search the text without OCR.
Hyperlinks and interactivity are lost. PDFs can contain clickable links, form fields, and annotations. None of these survive in a JPG.
Scale is fixed. The vector PDF could be printed at any size without quality loss. The JPG has a fixed pixel resolution — zoom in too far and it becomes pixelated.
File size increases. A 1 MB PDF might become a 5 MB JPG at 300 DPI — especially for multi-page documents.
FAQ
Why does the converted image look blurry?
Too low a DPI setting. Try 150 or 300 DPI for sharper output. The default in many tools is 72 DPI, which is fine for small thumbnails but too low for readable text.
Can I convert just one page of a multi-page PDF?
Yes. Most conversion tools let you specify a page range. If you only need the first page for a thumbnail, there's no need to convert the entire document.
Does converting to JPG reduce the file size?
It depends on the DPI and quality settings. At 72 DPI and 70% quality, a JPG will be significantly smaller than the PDF. At 300 DPI and 95% quality, the JPG will likely be larger. Optimize for your use case.
Is it possible to batch convert a folder of PDFs?
Yes, using command-line tools like Ghostscript or pdftoppm, or scripting with Python's pdf2image library. Online tools typically support one PDF at a time.