N

Runs in your browser · nothing is uploaded

JPG to PDF & PDF to JPG

Turn JPG, PNG, WebP or GIF images into a single PDF — in your order, on A4, US Letter or image-sized pages — or turn PDF pages into JPG or PNG images. JPEGs go in without re-compression.

How it works

Images → PDF

  1. Each JPEG's size and EXIF orientation are read from its header.
  2. The page is A4 (595.28 × 841.89 pt), US Letter (612 × 792 pt) or the image's own size; “Auto” turns it landscape for wide images. Margins are 18 pt (0.25 in) or 36 pt (0.5 in).
  3. “Fit” scales the image to show all of it, centred; “Fill” covers the area inside the margins and crops what overflows.
  4. pdf-lib embeds the JPEG unchanged and draws it with a transformation matrix that applies any rotation or mirroring.

Worked example

A 4,032 × 3,024 phone photo on A4, Auto orientation, small margin, Fit: the page turns landscape (841.9 × 595.3 pt), and the photo is drawn 745.7 × 559.3 pt, 48.1 pt from the left and 18 pt from the bottom.

PDF → Images

Pages are drawn one at a time with PDF.js at your DPI (pixels = points × DPI ÷ 72) on a white background, including form-field values and annotation appearances. Each page is encoded as JPG or PNG, then its canvas is released before the next one, so long documents don't pile up in memory.

Image size in pixels by DPI
DPIA4 pageUS Letter page
72595 × 842612 × 792
96794 × 1,123816 × 1,056
1501,240 × 1,7541,275 × 1,650
2001,654 × 2,3391,700 × 2,200
3002,480 × 3,5082,550 × 3,300

A4 is 210 × 297 mm (ISO 216); US Letter is 8.5 × 11 in; a PDF point is 1/72 inch (ISO 32000). Checked 2026-10-07.

Limitations, plainly

Frequently asked questions

How do I convert JPG to PDF?+

On the Images → PDF tab, add your JPG (or PNG, WebP, GIF) images, put them in order, choose a page size and margin, and press Create PDF. Each image becomes one page of a single PDF, which downloads straight away.

Does converting JPG to PDF reduce the quality?+

No. JPEGs are placed inside the PDF exactly as they are — the same bytes, not re-compressed. PNGs are stored losslessly. Only WebP and GIF are converted by your browser first (to PNG, or to JPEG at quality 92 if they have no transparency).

Why are my phone photos sideways in other converters?+

Phones often save photos unrotated and add an EXIF “orientation” tag. This tool reads that tag and turns the image on the PDF page to match what you see — without re-encoding the photo.

How do I convert a PDF to JPG?+

On the PDF → Images tab, open the PDF, choose JPG or PNG, a resolution and which pages, then press Convert. One page gives one image download; several pages can be downloaded one by one or together as a ZIP.

What resolution should I use for PDF to JPG?+

150 dpi suits screens and sharing (an A4 page becomes 1,240 × 1,754 pixels). Use 300 dpi for printing (2,480 × 3,508 for A4). 72 dpi gives the smallest files. Pages are limited to about 40 megapixels to protect your browser's memory.

What page size is “Fit image”?+

Each page takes the size of its image, at 96 pixels per inch (1 pixel = 0.75 point), plus any margin. A 1,200 × 800 pixel photo with no margin gives a 12.5 × 8.3 inch page.

Are my images or PDFs uploaded?+

No. Images are read, and PDF pages are drawn, entirely in your browser. Nothing is sent anywhere.