# PDF to Image Converter

> Convert each page of a PDF into a JPG or PNG image at 72, 150 or 300 dpi. Pages are drawn with PDF.js in your browser; the PDF is never sent to a server.

Use it online (free, runs in your browser): https://directory.milunir.com/pdf-tools/pdf-converters/pdf-to-image-converter/

To turn a PDF into images, open the PDF, pick JPG or PNG and a resolution, and download one image per page. Pixel size is the page size in points times dpi ÷ 72, so a US Letter page at 150 dpi becomes 1275 × 1650 pixels.

Many places that accept a picture refuse a PDF: chat apps, social posts, some job and visa portals, and slide decks that need a page as an image. This converter draws every page of the PDF with PDF.js, the renderer Firefox uses, and saves each one as a JPG or PNG file. You choose the resolution: 72 dpi for screens, 150 dpi for sharp reading, or 300 dpi for print. It shows a preview of page 1, its pixel size and the total size of the images. A PDF with more than 50 pages is converted 50 pages at a time to stay within browser memory, and password-protected files must be unlocked first.

## How to use

1. **Choose the PDF**: Press Choose PDF or drop a .pdf file on the box. Files up to 50 MB work.
2. **Pick the format and resolution**: JPG gives small files for sharing; PNG keeps text edges crisp. Choose Screen 72 dpi, Sharp 150 dpi or Print 300 dpi.
3. **Limit pages if needed**: Under More options, First page only converts just the cover, and the JPG quality slider trades size for detail.
4. **Download the images**: Page 1 shows as a preview. Each page has its own download button, named after the PDF with its page number.

## Examples

### A one-page letter as a JPG

- Save as: JPG
- Resolution: Sharp 150 dpi
- Pages: All pages
- JPG quality: 90
- PDF file: fixture:text-1page-letter.pdf

Result: Images: 1 image, JPG Page 1 size: 1275 × 1650 px Total size: 23 KB

A US Letter page is 612 × 792 points, or 8.5 × 11 inches. At 150 dpi that is 1275 × 1650 pixels, sharp enough to read on a phone and small enough to attach to a message.

### Letter, A4 and landscape pages to PNG

- Save as: PNG
- Resolution: Screen 72 dpi
- Pages: All pages
- JPG quality: 90
- PDF file: fixture:three-pages-mixed.pdf

Result: Images: 3 images, PNG Page 1 size: 612 × 792 px Total size: 51 KB

Each page is drawn at its own size: at 72 dpi a point becomes a pixel, so the Letter page is 612 × 792, the A4 page 595 × 842 and the landscape page 842 × 595. Three PNG files are made, one per page.

### Cover page for print at 300 dpi

- Save as: JPG
- Resolution: Print 300 dpi
- Pages: First page only
- JPG quality: 80
- PDF file: fixture:three-pages-mixed.pdf

Result: Images: 1 image, JPG Page 1 size: 2550 × 3300 px Total size: 68 KB

Only the first page is converted. At 300 dpi, the usual print resolution, an 8.5 × 11 inch page becomes 2550 × 3300 pixels.

## How it works

`pixel width = round(page width in points × dpi ÷ 72), pixel height = round(page height in points × dpi ÷ 72)`

- `points`: the page size stored in the PDF, 72 points to the inch
- `dpi`: the resolution picked: 72, 150 or 300 dots per inch

PDF.js reads the page's drawing instructions (text, vector shapes and embedded images) and paints them onto a white canvas scaled by dpi ÷ 72. The canvas is then saved by the browser as a JPG at the chosen quality or as a lossless PNG. Fonts that the PDF does not embed are drawn with similar fonts installed on your device, so letter shapes can differ slightly from the original.

Sources:

- [ISO 32000-2:2020 Document management — Portable document format — Part 2: PDF 2.0](https://www.iso.org/standard/75839.html), ISO
- [HTML Standard: the canvas element, toBlob()](https://html.spec.whatwg.org/multipage/canvas.html#dom-canvas-toblob), WHATWG

## When not to use it

- To edit the words on a page; an image has no text you can change.
- To make a scanned PDF searchable; that needs OCR.
- To shrink a PDF for email; compressing the PDF keeps it as one file.

## Common mistakes

- Choosing 72 dpi for a page that will be printed, which looks blurry on paper.
- Saving a text-heavy page as JPG at low quality, which smudges small letters.
- Picking 300 dpi for a 50-page file meant for a phone, which makes huge downloads.

## Questions

### What resolution should I use to convert a PDF to JPG?

Use 150 dpi for reading on a screen or sending in a chat: a Letter page becomes 1275 × 1650 pixels. Use 300 dpi when the image will be printed or zoomed, such as a signed form; it has four times as many pixels and a larger file. 72 dpi suits thumbnails only.

### Why does text look different in the image than in the PDF?

When a PDF uses a standard font such as Helvetica without embedding it, the page names the font but does not include it. The browser then draws a similar font installed on your device. Letters stay readable, but spacing can shift slightly. PDFs with embedded fonts look the same as in a PDF reader.

### Should I convert a PDF to PNG or JPG?

PNG is lossless, so text, lines and charts keep sharp edges, and it suits pages dropped into slides or documentation. JPG makes much smaller files and suits photos or pages sent by message. For a scanned photo page JPG is usually fine; for a page of small print PNG is safer.

## Popular conversions

- [PDF to JPG: One JPG Picture per Page](https://directory.milunir.com/pdf-tools/pdf-converters/pdf-to-image-converter/pdf-to-jpg/)
- [PDF to PNG for Sharp Text and Line Art](https://directory.milunir.com/pdf-tools/pdf-converters/pdf-to-image-converter/pdf-to-png/)
