Convert PDF to JPG

PDFTurn every page of a PDF into a JPG or PNG at 72, 150 or 300 DPI, in your browser: free, no upload, no watermark, and protected files work too.

Your PDF is converted on this device and never leaves it. Nothing you open is ever uploaded. There is no server to upload it to.

What this does

It turns the pages of a PDF into image files: JPG by default, PNG if you prefer, at the resolution you choose. Convert the whole document or only the pages you name. One page downloads as a single image; several arrive together in a zip, named report-page-01.jpg, report-page-02.jpg and so on, padded so they sort in page order in every file manager.

The pages are drawn by Mozilla’s PDF renderer, the same engine Firefox uses to open PDFs, running inside your browser, and encoded on your own processor. Nothing is uploaded, which matters for a tool like this: the PDF you need as a JPG is usually on its way into an upload form somewhere, and the fewer places it has been before that, the better.

How to use it

  1. Drop your PDF onto the tool, or press “Choose a PDF”. If it is protected with an open password, you will be asked for it.
  2. Pick the format and the resolution. The line above the button answers back before you commit: how many images, and the exact pixel size of the first, such as “Page 1 comes out at 1240 × 1754 pixels”.
  3. To convert only some pages, choose “Only these” and list them, such as 1-3, 7. Then press “Convert to JPG” and download.

JPG or PNG: what the numbers say

JPG is the format people ask for, and for photographs it is the right one. For a page of text it often is not, and this is measurable rather than a matter of taste. These are two A4 pages converted by this tool, one a page of report text with a table, one mostly a photograph:

Page Resolution JPG PNG
Text and a table 150 DPI 206 kB 125 kB
Text and a table 300 DPI 518 kB 285 kB
Mostly photograph 150 DPI 99.9 kB 757 kB
Mostly photograph 300 DPI 352 kB 862 kB

The reason is how each format compresses. PNG is lossless and excels at large flat areas and sharp edges, which is exactly what text on white paper is. JPG is built for the smooth gradients of photographs, and spends bytes blurring the edges of letters that PNG stores exactly. So: text, forms and diagrams make better PNGs; photos and scans make better JPGs; and when a form insists on JPG, JPG is what it gets.

How the JPG setting was chosen

The obvious way to make a JPG in a browser is to ask the page’s canvas for one, which uses the browser’s built-in encoder. This tool uses mozjpeg instead, the same encoder this site’s JPEG quality benchmark measures, and the setting was tested before it was fixed. On eight test pages (report text, photographs, a chart, a form and a table), mozjpeg at quality 88 on the standard quantisation tables matched or beat the browser encoder’s image quality, as measured by SSIM, on every page, while producing files 6 to 18% smaller.

The test also caught a trap worth knowing about. mozjpeg’s own default tables, and its habit of switching off chroma subsampling at quality 90 and above, made photo pages a third larger than the browser’s files for no visible gain. The defaults are tuned for photographs viewed as photographs, not for photographs sitting on a page, and the measurement is the only reason this page does not use them.

Which resolution, in pixels

PDF pages are measured in points, 72 to the inch, so the resolution decides the pixel size directly:

Page 72 DPI 150 DPI 300 DPI
A4 595 × 842 1240 × 1754 2480 × 3508
US Letter 612 × 792 1275 × 1650 2550 × 3300

One limit applies above that. Browsers cannot draw arbitrarily large images, and when asked to they tend to fail silently, handing back a blank page. The tightest limit in common use, on iPhones and iPads, is about 16.8 million pixels, so a page that would be larger than that, an A3 poster at 300 DPI say, is drawn at the highest resolution that fits, and the tool tells you when that has happened rather than giving you a white rectangle.

Limitations

Images are pictures of text, not text. A JPG of a page cannot be searched or copied from. If you need the words, keep the PDF.

Links and form fields become part of the picture. Filled-in forms come out looking as they do in a viewer; nothing in the image is clickable or editable.

One PDF at a time. Convert one document, download, and drop the next; to turn several PDFs into one set of images, merge them first.

Frequently asked questions

How do I convert a PDF to JPG?

Drop the PDF onto the tool, pick JPG and a resolution, and press "Convert to JPG". Every page becomes its own image; one page downloads as a single JPG, several arrive together in one zip, named so they sort in page order. The line above the button tells you how many images you will get and how big the first one is before anything is converted.

Which resolution should I choose?

150 DPI suits almost everything on a screen: an A4 page comes out at 1240 × 1754 pixels, sharp enough to read small print when zoomed. Choose 300 DPI (2480 × 3508 for A4) when the image will be printed or someone needs to zoom far in, and 72 DPI for a small preview. Resolution is the setting that matters; the JPEG quality is fixed at a level measured to look clean on text and photos alike.

Should I convert to JPG or PNG?

It depends on what is on the page, and the answer surprises people. For a page of text, PNG is usually the smaller file as well as the sharper one: in our measurement a text page at 150 DPI was 125 kB as PNG and 206 kB as JPG. For a page that is mostly photograph, JPG wins by a mile, 99.9 kB against 757 kB. Use JPG when a website or form insists on it, or when the pages are photos or scans.

Can I convert a password-protected PDF to JPG?

Yes, if you know the password. A file that opens in your viewer without asking anything converts straight away; a file that asks for a password to open will ask for it here too, and the password is used inside this tab to read the file and goes nowhere else.

Can I convert just one page of a PDF?

Yes. Choose "Only these" and type the page, such as 3, or a set of pages the way a print dialog takes them: 2-5, 7, 12- for page twelve onwards. One page downloads as a single image named after the document and the page.

Is it safe to convert a PDF to JPG online?

It depends where the converting happens. Most converter sites upload your document to their server, and the PDFs people turn into images are often the ones they are about to send somewhere official: a passport scan, a signed form, a payslip. This tool draws the pages in your browser; there is no server that could receive the file, and the network panel will show you nothing carrying it leaves.