N

Runs in your browser · nothing is uploaded

JPG to PDF & PDF to JPG

Convert JPG to PDF: turn JPG, PNG, WebP, GIF or iPhone HEIC 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.

Page settings

Auto turns the page landscape for wide images. Small margin = 0.25 in (6.35 mm), large = 0.5 in (12.7 mm).

.pdf

JPEGs are placed in the PDF exactly as they are — no re-compression — and phone-photo rotation (EXIF) is respected. PNGs keep transparency. WebP and GIF (first frame) are converted in your browser first.

Images

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, centered; “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

Can I convert HEIC to PDF?+

Yes. Add iPhone HEIC or HEIF photos on the Images → PDF tab alongside any other images. Each one is decoded to a high-quality JPEG on your device and placed on its own page, the right way up. Nothing is uploaded.

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 combine multiple JPGs into one PDF?+

Add all the images at once (up to 200, 50 MB each), then drag them — or use the arrows — into the order you want. Each image becomes one page, top to bottom, and you get a single PDF.

Should I choose A4 or US Letter?+

Use US Letter (8.5 × 11 in) in the US, Canada and a few other countries, and A4 (210 × 297 mm) almost everywhere else. If the PDF will only be viewed on screen, “Fit image” avoids white borders by making each page the size of its image.

What do the margin options do?+

They add white space around each image: None is 0, Small is 18 points (0.25 in) and Large is 36 points (0.5 in) on every side. A margin helps when the PDF will be printed, since many printers can't print right to the edge.

What's the difference between Fit and Fill?+

On A4 or Letter pages, Fit shows the whole image, scaled to fit inside the margins, which can leave blank bands at the sides or top and bottom. Fill scales the image to cover the whole area inside the margins and crops whatever overflows, so there are no gaps but the edges of the picture are cut off.

Why is my PDF so large?+

Because JPEGs go in unchanged, the PDF is about the size of all your photos added together — full-resolution phone photos can be several MB each. To make it smaller, shrink or compress the images first with the Image Compressor, or run the finished PDF through Compress PDF.

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.

Last updated · Northlane Tools

Guides