How to Convert JPG to PDF

To convert JPG to PDF, open the JPG to PDF tool, add one or more JPG or PNG images, choose a Page size, Orientation, and Margin (pt), and click Convert to PDF. Each image becomes one page, in the order shown in the list, and the file downloads as converted.pdf. Conversion happens in your browser, so your photos aren't uploaded anywhere.
Try it now
JPG to PDF
Loading tool…
How to convert JPG to PDF step by step
- Add images. Drop JPG or PNG files onto Drop images to convert to PDF, or click to choose them. Each image can be up to 25 MB. You can drop more files later and they're added to the end of the list.
- Arrange the pages. Each image shows a thumbnail with ↑ and ↓ buttons. The top image becomes page 1. Use × to remove an image.
- Choose page settings:
- Page size: A4 (the default), Letter, or Fit to image.
- Orientation: Portrait (the default) or Landscape. This applies to A4 and Letter only.
- Margin (pt): the blank border around each image, in points. The default is 36, and the field accepts 0 to 144. There are 72 points in an inch, so 36 pt is half an inch.
- Convert. Click Convert to PDF. The button reads Converting… while it works.
- Download. A PDF ready panel shows the number of Pages. Click Download to save
converted.pdf, or Reset to clear everything.
How images are placed on the page
Knowing the placement rules helps you pick the right settings:
- Each image is centred on its page.
- Images are scaled down to fit inside the page minus the margins, keeping their proportions. They're never stretched or cropped.
- Images are never scaled up. A small image stays at its native size, with 1 pixel treated as 1 point.
- Fit to image makes each page the same size as its image, measured in points. The margin still applies, so set Margin (pt) to 0 for edge-to-edge pages.
- All pages share one page size and orientation. For a mix of portrait and landscape photos on A4, choose the orientation that suits most of them, or use Fit to image so every page matches its own image.
Worked example: three receipts for an expense claim
You've photographed three receipts on your phone. Each photo is 3,024 × 4,032 pixels, and your finance team wants a single A4 PDF.
Drop in receipt-1.jpg, receipt-2.jpg, and receipt-3.jpg. Keep A4, Portrait, and Margin (pt) at 36, then click Convert to PDF. The panel shows Pages: 3.
Here's what happens on each page. An A4 page is 595.28 × 841.89 points. Taking off 36 points on every side leaves 523.28 × 769.89 points for the image. The photo is scaled to fit that width: 523.28 ÷ 3,024 ≈ 0.173, which makes it about 523 × 698 points. That leaves roughly 72 points (one inch) of space above and below.
Now a different case: a 400 × 300 pixel screenshot on the same A4 settings. Because images aren't enlarged, it stays 400 × 300 points, about 5.6 × 4.2 inches, sitting in the middle of the page. If you'd rather have a page exactly the size of the screenshot, choose Fit to image and set Margin (pt) to 0.
Tips
- Shrink big photos first. Images go into the PDF unchanged, so ten 5 MB photos make a PDF of roughly 50 MB. Run them through the Image Compressor, or reduce their dimensions with the Image Resizer, before converting.
- iPhone photos. If your photos are HEIC files, convert them with HEIC to JPG first. For WebP images, use the Image Converter.
- Use number prefixes in file names (
01-front.jpg,02-back.jpg) so the images arrive in order and need less rearranging. - Combine with existing PDFs. To add your new pages to an existing document, merge them afterwards with Merge PDF. See how to merge PDF files.
Troubleshooting
An image doesn't show up in the list. Files over 25 MB, empty files, and formats other than JPG and PNG are skipped. HEIC, WebP, GIF, and TIFF files need converting first.
"Conversion failed". Usually one image is damaged or isn't really the format its extension claims, such as a WebP renamed to .jpg. Open each image in a photo viewer, re-save any that misbehave as JPG, and try again.
A photo appears sideways. Phones often save photos in one orientation and store a separate "rotate this" tag. Images are embedded as they are stored, so some photos may come out rotated. Rotate the photo in your phone's or computer's photo app, save it, and add it again.
Slow or crashes on a phone. All images are read into memory at once. Dozens of full-resolution photos can overwhelm a low-memory phone. Resize them first or convert in smaller batches, then merge the PDFs.
Other ways to convert JPG to PDF
- Windows "Microsoft Print to PDF". Select images in File Explorer, right-click, choose Print, and pick Microsoft Print to PDF as the printer. It's built in and handles batches, but layout options are limited and images may be cropped by the photo print layouts.
- macOS Preview. Open the images together in Preview, arrange them in the sidebar, and choose File > Print > Save as PDF.
- Chrome. Open an image in a Chrome tab and print it to Save as PDF. It's fine for a single image and awkward for many.
- Adobe Acrobat. Acrobat's Create PDF handles many formats, including TIFF, and adds OCR so text becomes searchable. That's a clear advantage for scanned documents. It's paid, and Adobe's free online converter uploads your images.
Privacy
JPG to PDF uses pdf-lib inside your browser to build the PDF. Your images are read from your device and the PDF is generated and downloaded locally. Nothing is uploaded to Toolstik servers, which makes it suitable for ID cards, receipts, and signed forms.
Going the other way? Our guide on how to convert PDF to JPG covers exporting pages as images, and the best free PDF tools online overview lists the whole toolkit.
Frequently asked questions
Tools in this guide
JPG to PDF
Convert JPG and PNG images to PDF with page size, orientation, and margin controls.
Image Compressor
Compress JPG, PNG, and WebP images in your browser. Batch processing supported.
HEIC to JPG
Convert HEIC and HEIF photos to JPG in your browser. Batch export supported.
Merge PDF
Combine multiple PDF files into one document. Set the file order before merging.
Keep reading
- PDFHow to Convert PDF to JPGConvert PDF to JPG in your browser: export every page as a JPG image, set JPEG quality from 50 to 100%, and download a ZIP. Free, with no uploads.
- PDFHow to Merge PDF Files OnlineMerge PDF files online for free: combine two or more PDFs into one document, set the file order, and download it. Everything runs in your browser.
- PDFBest Free PDF Tools Online: Merge, Compress, Convert & SplitThe best free PDF tools online for merging, splitting, compressing, and converting PDFs, all running in your browser with no uploads, sign-ups, or watermarks.