Menu
Advertisement

Convert PDF to JPG Images

Turn the pages of a PDF into pictures. Choose the pages and the resolution, then download. Runs in your browser.

By Nethanel Bar, Co-founder & CEO

Last updated

Advertisement

Ready to actually learn to code?

Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.

What is a PDF to JPG converter?

A PDF to JPG converter draws the pages of a PDF as pictures. It is useful when you need a page as an image: for a slide, a social post, a chat message or a form that only takes JPG.

You choose the resolution: Screen (72 dpi) for small files, Standard (150 dpi) for most jobs, High (300 dpi) for print or detail. All pages are selected when the file opens, and you can pick pages by clicking them or by typing ranges such as 1-3, 5. Pages are drawn on a white background. You can also pick PNG instead of JPG.

The pages are drawn in your browser. Your files are never uploaded: the work happens in your browser, so nothing leaves your device. There is no sign-up and no watermark. A PDF that needs a password to open asks for it, and the password stays in your browser.

What you can learn from turning PDF into images

  • A PDF describes a page with text, shapes and pictures, not pixels. Turning it into a JPG is called rendering, and the dpi decides how many pixels you get.
  • Dpi means dots per inch. A page is about 8.3 by 11.7 inches, so 150 dpi gives roughly 1240 by 1750 pixels and 300 dpi gives four times as many pixels.
  • JPG is lossy and made for photos, while PNG is lossless and better for text and line art. The format changes the file size and the sharpness of edges.
  • Once a page is an image, its text is no longer text. You cannot select it, and a search will not find it.
  • Rendering pages is a short loop in code, and the Python example below does it with PyMuPDF.

How to convert a PDF to JPG

  1. Open your PDF

    Drop the file on the page or choose it from your device. If it needs a password, type it when asked.

  2. Pick format and resolution

    Choose JPG (or PNG) and Screen, Standard or High resolution.

  3. Select the pages

    All pages are selected at first. Click pages to turn them off or on, or type ranges like 1-3, 5.

  4. Convert and download

    Press Convert to JPG. One page downloads as an image and several pages as a ZIP.

Resolution quick reference

Pick the resolution by what you will do with the image.

ResolutionPixels for a full A4 pageUse it for
Screen (72 dpi)About 600 by 840Thumbnails, quick previews, small files
Standard (150 dpi)About 1240 by 1750Sharing, slides, social posts, most uses
High (300 dpi)About 2480 by 3500Printing, zooming in, fine detail

PDF to JPG examples

A cover page for a post

Settings

Format: JPG Resolution: Standard (150 dpi) Pages: 1

One page means one image downloads, with no ZIP.

A whole document as images

Settings

Format: JPG Resolution: Screen (72 dpi) Pages: all

Several pages come as a ZIP, one image per page. 72 dpi keeps the ZIP small.

A page to print at full detail

Settings

Format: JPG Resolution: High (300 dpi) Pages: 2-3

300 dpi gives enough pixels for a sharp print. Expect bigger files.

Do the same in Python

Python (PyMuPDF)
import pymupdf
doc = pymupdf.open("report.pdf")for page in doc:    pix = page.get_pixmap(dpi=150)    pix.save(f"page-{page.number + 1}.jpg")

Each page is rendered to a pixmap at 150 dpi and saved as a numbered JPG, like the Standard setting.

Common PDF to JPG mistakes

  • Picking 72 dpi and then wondering why text looks soft. Use 150 or 300 dpi for anything you read closely.
  • Using JPG for a page of small text or line art. Edges show blur, so choose PNG.
  • Expecting to copy text from the image. A picture of a page has no selectable text.
  • Converting every page when you need one. Clear the selection and click only the pages you want.
  • Expecting a transparent background. Pages are drawn on white.

PDF to JPG FAQ

How do I convert a PDF to a JPG?

Open the PDF, pick the pages and a resolution, and press Convert to JPG. The images are made in your browser.

Can I convert only some pages?

Yes. Click the pages you want or type ranges such as 1-3, 5. All pages are selected when the file opens.

Which resolution should I choose?

Standard (150 dpi) suits most uses. Use High (300 dpi) for printing or detail, and Screen (72 dpi) for small files.

Why do I get a ZIP file?

Several pages come as a ZIP with one image per page. A single page downloads as one image.

Is my PDF uploaded to a server?

No. The pages are drawn in your browser, so the file stays on your device.

Can I convert a PDF with a password?

Yes, if you know it. The tool asks for the password and opens the file, and the password stays in your browser.

Why is the background white?

Pages are drawn on a white background, so the images have no transparency.

Can I get PNG instead of JPG?

Yes. Change the format to PNG before you convert.

Other developer tools

Coddy programming languages illustration

Learn to code with Coddy

Get started