PDF to JPG

Save PDF pages as JPG or PNG images, for example to send them in a chat, post them, or upload them to a form that only accepts pictures.

Your PDF file is processed on this device and never uploaded to a server.

How to use it

  1. Choose a PDF file. Its page count appears right away.
  2. Leave Pages empty to convert every page, or type page numbers such as 1-3, 5.
  3. Choose the format and resolution. The pixel size of the first page is shown below them.
  4. Press Convert to images, then download the images one by one or all of them in a ZIP.

How PDF to JPG works

A PDF stores each page as drawing instructions: text in a given font, lines, and photos placed at a given size. To turn a page into a picture, it is drawn on a browser canvas by pdf.js, Mozilla's open-source library that is also the PDF viewer built into Firefox, and the canvas is saved as JPG or PNG. Pages are done one at a time and each canvas is freed as soon as it is saved, so documents with hundreds of pages still work on a phone.

Working out the image size

PDF page sizes are measured in points, and 72 points make one inch. The width of the image in pixels is the page width in inches times the DPI. US Letter paper is 8.5 × 11 inches, so at 150 DPI the image is 8.5 × 150 = 1,275 pixels by 11 × 150 = 1,650 pixels. Each time you double the DPI the pixel count goes up four times, and the file size grows by roughly as much.

Paper72 DPI150 DPI300 DPI
Letter (8.5 × 11 in)612 × 7921,275 × 1,6502,550 × 3,300
Legal (8.5 × 14 in)612 × 1,0081,275 × 2,1002,550 × 4,200
A4 (210 × 297 mm)595 × 8421,240 × 1,7542,480 × 3,508

JPG or PNG

JPG throws away fine detail the eye hardly notices, which keeps files small. At 85% quality black text on white stays sharp; faint smudges around the letters only show when you zoom in. PNG keeps every pixel exactly, which suits tables with tiny print or images you will edit further, but the files are several times larger, especially for pages with photos.

The DPI is also written into the file (the JFIF header in a JPG, the pHYs chunk in a PNG). That is why a 300 DPI image inserted into Word or sent to a printer comes out at the size of the original page instead of enlarged.

Limits

  • One page is capped at 16.7 million pixels (4096 × 4096), the canvas limit of Safari on iPhone and iPad. Letter or A4 at 300 DPI (about 8.5 million pixels) fits. Tabloid (11 × 17 in) at 300 DPI is just over, so it is made at 299 DPI and marked in the results.
  • Fonts that are not embedded in the PDF, such as Arial in some older documents, are drawn with a similar font from your device, so their shapes can differ slightly from the original.
  • Transparent areas get a white background.
  • The images contain no selectable or searchable text. Keep the original PDF if you still need the text.

Questions

Is my PDF uploaded?
No. The pages are drawn by the browser on your own device and no file is sent to a server, so it is safe for private documents such as IDs, certificates or pay slips.
Which resolution should I choose?
150 DPI is enough for viewing on a phone or laptop and for sending in a chat. Choose 300 DPI if the images will be printed or small text must stay readable when zoomed in. 72 DPI gives the smallest files, good for previews.
JPG or PNG?
For ordinary documents a JPG at 85% quality is hard to tell from the original and much smaller. Choose PNG if you will edit the images further or the pages have very small print in tables.
How do I convert only some pages?
Type the page numbers in Pages: 2 for page 2 only, 1-3, 5 for pages 1 to 3 and 5, or 4- for page 4 to the end.
Why was a page made at a lower DPI?
Very large pages, such as an A1 drawing at 300 DPI, would become more than 69 million pixels. Phone browsers refuse a canvas that big, so that page is made at the highest DPI that fits and is marked in the results.
Can I convert a password-protected PDF?
A PDF that asks for a password when you open it cannot be read here. Open it with its password in a PDF app, save a copy without protection, then choose that copy.