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.
How it works
Images → PDF
- Each JPEG's size and EXIF orientation are read from its header.
- 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).
- “Fit” scales the image to show all of it, centered; “Fill” covers the area inside the margins and crops what overflows.
- 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.
| DPI | A4 page | US Letter page |
|---|---|---|
| 72 | 595 × 842 | 612 × 792 |
| 96 | 794 × 1,123 | 816 × 1,056 |
| 150 | 1,240 × 1,754 | 1,275 × 1,650 |
| 200 | 1,654 × 2,339 | 1,700 × 2,200 |
| 300 | 2,480 × 3,508 | 2,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
- Images: JPG, PNG, WebP and GIF (first frame only). HEIC photos need converting first. Up to 200 images, 50 MB each.
- Encrypted PDFs can't be opened for PDF → Images; remove the password first with Unlock PDF.
- Forms and annotations are drawn as they look in the file; interactive parts (links, fillable fields) become plain pixels in the images.
- Memory: pages are limited to about 40 megapixels, and finished images stay in your browser until you download them. Converting hundreds of pages at 300 dpi to PNG can use several gigabytes — use JPG, a lower DPI or fewer pages on phones.
- Rendering uses PDF.js; rare files with unusual fonts or effects may look slightly different from Adobe Acrobat.
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
More free Northlane tools
- Merge PDFCombine or split PDFs
- Compress imageCompress to a target size
- HEIC to JPGConvert iPhone photos
- PPI calculatorCalculate pixel density, physical dimensions and compare two displays.
- Lorem ipsum generatorGenerate Latin-style or English placeholder paragraphs, words and characters.
- Username generatorGenerate illustrative names, usernames and team names with offline word lists.
- Keyword density checkerMeasure word frequency and percentage of total words in pasted text.
- Readability checkerEstimate six English readability scores with sentence and syllable statistics.
- Passphrase generatorGenerate a memorable passphrase from a supplied or built-in word list.
- Time zone converterConvert a date and time between IANA zones with daylight-saving rules.
- All toolsBrowse the full collection