PDF to JPG
Turn the pages of a PDF into JPG images. Pick the resolution and the pages. The file stays on your device.
https://flxcode.com/pdf-to-jpg/
or drop a PDF here
Up to 200 MB together. Password-protected PDFs can't be opened.
Your files never leave this device. There is no upload, no account and no watermark. How we count
Problem or idea? Email us
How to use it
- Choose a PDF, or drop it on the box. The page previews show what is inside.
- Pick the resolution (150 dpi reads well on screen, 300 dpi is for print), the JPG quality, and the pages. Leave the pages box blank for all of them.
- Press Convert to JPG. A single page downloads as one image; several pages come as pdf-pages.zip with a link for each image.
Worked example: how many pixels a page gets
A PDF page is measured in points, 72 to the inch. The page is drawn at the resolution you pick, so pixels = points × dpi ÷ 72. The last row is bigger than the 25 million pixel limit at 300 dpi, so the page is drawn smaller there.
| Page size | 72 dpi | 150 dpi | 300 dpi |
|---|---|---|---|
| US Letter, 8.5 × 11 in | 612 × 792 | 1275 × 1650 | 2550 × 3300 |
| A4, 8.27 × 11.69 in | 595 × 842 | 1240 × 1754 | 2480 × 3508 |
| US Legal, 8.5 × 14 in | 612 × 1008 | 1275 × 2100 | 2550 × 4200 |
| Poster, 24 × 36 in | 1728 × 2592 | 3600 × 5400 | 4082 × 6123 (capped, 170.1 dpi) |
One page is never drawn above 25 million pixels (5000 × 5000). That keeps phones and small laptops from running out of memory, and the page says when it happened.
Worked example: pages and file names
A 12-page file with "2-4, 9" in the pages box gives 4 images. Blank gives all 12. Names are numbered by page, padded so they sort in the right order in a folder.
| PDF page | File name |
|---|---|
| 2 | page-02.jpg |
| 3 | page-03.jpg |
| 4 | page-04.jpg |
| 9 | page-09.jpg |
With more than one image you get pdf-pages.zip, and every image also has its own link. A single page downloads as one image.
Numbers this uses
- Resolution: 72, 150 or 300 dpi (dots per inch). A PDF point is 1/72 inch, so scale = dpi ÷ 72: 150 dpi is 2.083 pixels per point.
- Quality: 50 to 100 percent, default 90. This is the JPG quality setting of the browser; 90 is visually close to the page and much smaller than PNG for photos.
- Largest page: 25 million pixels. A bigger page is drawn smaller and the page tells you.
- Background: white. A PDF page with no background colour would otherwise come out black in a JPG, which has no see-through.
- Limit: 200 MB for the PDF and 300 MB of images per run. Output names: page-01.jpg and so on, and pdf-pages.zip. Your file name is never used.
What happens to your file
The PDF is opened in this tab by pdf.js, the PDF reader of Firefox (Mozilla, Apache-2.0 licence). It runs in a worker file served from this site. Each page is drawn on a canvas in your browser and saved as a JPG. The zip is written by a short piece of code in this page.
No page, file name or size is sent anywhere. The worker, and the fonts or decoders a PDF may need, are fixed files from this site, not a CDN. A file that needs one of them makes a plain request for that file by its fixed address, which says only that the PDF uses that font or image type.
Counts of events such as "merge" or "download" are kept without cookies, and never a file name, size or page count (details). The PDF code is pdf-lib (MIT licence) and pdf.js (Apache-2.0 licence): open source used on this site.
JPG or PNG for a page?
- JPG suits pages with photos. It is smaller, and a little loss is not visible at 90 percent.
- For pages of text, tables or line art use PDF to PNG. It is lossless, so thin lines and small letters stay clean.
- Text in the images is no longer text: you can't select or search it. To get the words, use PDF to Text.
FAQ
How do I convert a PDF to JPG?
Choose the file above, keep 150 dpi, and press Convert to JPG. A one-page PDF gives one image. A longer one gives a zip with page-01.jpg, page-02.jpg and so on. It takes a moment for each page, and a progress bar with a Cancel button shows where it is.
How do I convert only one page, or only some pages?
Type them in the pages box, for example 3 or 2-4, 9. Pages you don't name are faded in the preview and left out. A blank box means every page.
Which resolution should I choose?
150 dpi for reading on a screen or sending in a chat. 300 dpi for printing, or when you must zoom in. 72 dpi for a quick small thumbnail. The table above shows the pixels for each page size.
Why is my JPG blurry?
Usually the resolution was too low for how big you view it. A Letter page at 72 dpi is only 612 × 792 pixels. Use 150 or 300 dpi, and keep the quality at 90 or higher. Text can also look soft in any JPG; PNG keeps it sharp.
Why did a page come out smaller than I asked for?
A page is never drawn above 25 million pixels. A poster at 300 dpi would be 77 million, so it is scaled down to fit and the message names how many pages were affected. Pick a lower dpi to get a predictable size.
Can I do this on my phone?
Yes, in the browser. Phones have less memory, so use 150 dpi or lower for long files. If the browser runs out of memory the page says so instead of freezing.
Can I convert a password-protected PDF?
No. The page tells you the file is protected. Open it in a PDF reader with the password, print it to a new PDF, and use that copy.
Is my PDF uploaded?
No. The page reads the file with your browser and builds the result in this tab. There is no server step. To check it, open the page, wait a second, choose a file, then switch to airplane mode and run the job. It still works. The one exception is the pdf.js reader on pages with previews, images or text: for a PDF with unusual fonts or image types it may load a fixed font or decoder file from this site first. That request does not contain your file or its name.
More from FLXCode
PDF to PNGNew
Turn PDF pages into lossless PNG images at 72, 150 or 300 dpi. Runs in your browser, nothing is uploaded.
PDF to TextNew
Copy the text out of a PDF or save it as .txt. Needs a text layer; scans need OCR. Nothing is uploaded.
JPG to PDFNew
Turn JPG photos into one PDF, one image per page. A4, Letter or fit to image. Nothing is uploaded.
Merge PDFNew
Combine PDF files into one, in the order you choose. It runs in your browser and nothing is uploaded.