Runs in your browser with pdf-lib
Image to PDF Converter — JPG, PNG and phone photos to PDF, the right way up
Add JPG, PNG, WebP and other pictures, drag them into order and turn any that are sideways. Phone photos come out upright, JPEG and PNG files go in without losing quality, and you get one PDF or a PDF for each picture.
- Original quality kept
- Phone photos upright
- One PDF or one per image
- Not uploaded to our server
Convert images to PDF
Add pictures, put them in order and turn any that are sideways, then create one PDF or one for each.
Drop your images here
JPG, PNG, WebP, GIF, BMP, AVIF or HEIC, up to 50 MB each
Page settings
Remembered on this deviceYour PDF is ready
You changed something. Click Create PDF again to update the file.
Your images, in page order
Drag the dotted handle or use the arrows to change the order. Turn sideways photos with Left or Right.
Next steps
More tools for your images and PDFs.
What this tool does
Your pictures, as pages in the order you choose.
Receipts, scanned pages, ID photos or a set of screenshots become one tidy PDF you can email, upload or print.
What you get
- JPG, PNG, WebP, GIF, BMP and AVIF pictures, and HEIC or TIFF in browsers that can open them.
- Phone photos the right way up, using the orientation the camera saved with them.
- JPEG and PNG files put in as they are, so nothing is lost, or Smaller and Smallest options for a lighter file.
- Order by dragging, the arrows, file name or date; turn any picture left or right; Undo after removing one.
- A4, Letter, Legal or the size of each picture, with each page turned to match its picture.
- One PDF with every picture, or a PDF for each, downloaded together in one ZIP.
What it can't do
- Make the text in a photo searchable. Run the PDF through PDF OCR to Text for that.
- Keep a GIF's animation. The first frame is used; GIF to PDF can use every frame.
- Crop, straighten or clean up a photo of a page. Do that in your camera or an image editor first.
- Open pictures over 50 MB or 60 megapixels, or HEIC in browsers other than Safari.
How to turn images into a PDF in three steps
Add, arrange, create.
Add your images
Drop them on the box or press Select images. They are sorted by file name, and you can add more at any time.
Arrange them
- Drag the handle, or use the arrows or Sort.
- Turn sideways photos with Left or Right.
- Choose page size, margin and quality.
Create and download
Press Create PDF, look at the first pages, name the file and press Download PDF.
Which settings for your images
Common jobs and what to choose for each.
| Your images | What you need | What to set |
|---|---|---|
| Phone photos of a document | One PDF to submit online | A4, Match each image, Fit the page, Smaller file if the form has a size limit. |
| Front and back of an ID card | Both sides, sharp, in one file | A4, Normal margin, Original quality, front first. |
| Receipts for an expense claim | One file per receipt | Make: A PDF for each image (ZIP), Smaller file. |
| Screenshots or designs | Pages exactly the size of each picture | Page size Same as the image, no margin. |
| Photos for a print album | Full pages without white edges | Fill the page, no margin, Original quality. |
| Hundreds of scanned pages | A file small enough to email | Smallest file, then Compress PDF if it is still too big. |
Build notes
How images become PDF pages in the browser
I wrote up how to convert images to PDF with JavaScript in the browser: reading the files, placing each picture on a page and saving the PDF, without uploading anything.
How to Convert Images to PDF in the Browser Using JavaScript
A tutorial on laying out images on PDF pages with JavaScript, entirely on your own device.
The details
How each picture is placed on its page
What happens to quality, orientation and size.
Original quality
JPEG and PNG files go into the PDF exactly as they are, with no second compression. Other formats are drawn by your browser and saved as JPEG at high quality, or PNG when they have see-through parts.
Upright photos
A phone often saves a photo sideways with a note saying which way is up. That note is read, so the page shows the photo the way your gallery does; Left and Right turn it further.
Smaller files
Smaller file resizes pictures to at most 2400 pixels on the long side and saves them as JPEG at 82%; Smallest uses 1600 pixels and 70%. Both are still sharp on A4.
Fit, fill or screen size
Fit the page shows the whole picture as large as it fits. Fill the page covers the area inside the margins and crops the edges. Screen size uses 96 pixels per inch and only shrinks pictures that are too big.
Page size and turning
With Match each image, a wide picture gets a landscape page and a tall one a portrait page. Same as the image makes each page the picture's size at 96 pixels per inch, plus the margin.
A PDF for each image
Each picture becomes its own one-page PDF, named after the picture, and all of them come in one ZIP, so your browser doesn't block a stream of downloads.
When something doesn't work as expected
What usually causes it, and what to do.
An iPhone photo won't open
It is HEIC, which only Safari can open.
Use Safari, or set the camera to Most Compatible so it saves JPG.
A photo is sideways
It was saved sideways without a note saying which way is up.
Press Left or Right on its card before you create the PDF.
The PDF is too big
Modern phone photos are 3 to 8 MB each, and Original keeps them that way.
Choose Smaller file or Smallest file, then create the PDF again.
The order is wrong
Images are sorted by file name when added, and names like IMG_10 come after IMG_9.
Use Sort, Oldest first, or drag the cards into place.
White edges around photos
The photo's shape isn't the page's shape, and Fit shows all of it.
Choose Fill the page with no margin, or Same as the image.
Getting the result you actually want
A few habits that make a real difference.
Check the order first
The card number is the page number; Sort sets them all at once.
Keep Match each image
Mixed portrait and landscape photos each get the right page.
Original for documents
Small text stays readable; use Smaller file only for size limits.
Shoot pages flat and lit
A straight, bright photo makes a cleaner page than any setting.
Open one full size
Click a card to check it is the right way up and sharp enough.
Name the PDF
Type a clear name before you download; it is used for the ZIP too.
Common questions about Image to PDF
If something's not covered here, the sections above likely have it.
How do I convert JPG to PDF?
Add your JPG files (or PNG, WebP, HEIC and others), drag them into order, choose the page size and click Create PDF. You get one PDF with a page for each picture, or a PDF for each image in a ZIP. JPG photos are placed with their original quality unless you pick a smaller file.
Which image formats can I convert?
JPG, JPEG, PNG, WebP, GIF, BMP and AVIF in any current browser. HEIC photos from iPhones and TIFF files open in Safari; in other browsers, save them as JPG first. An animated GIF gives its first frame.
Will my photos lose quality?
Not with Original quality: JPEG and PNG files go into the PDF exactly as they are, without being compressed again. Other formats are saved at high quality. Smaller file and Smallest file resize and compress on purpose, for a lighter PDF.
Why are my phone photos the right way up?
Phones often save a photo sideways with a note saying which way is up. The tool reads that note, so each page shows the photo as your gallery does. If one is still wrong, press Left or Right on its card.
Can I make one PDF per image?
Yes. Set Make to A PDF for each image. Each picture becomes a one-page PDF named after it, and all of them download together in one ZIP file.
How do I change the order of the pages?
The number on each card is its page. Drag a card by its dotted handle, use the arrow buttons, or choose Sort to order by file name or by the file date. Images are sorted by file name when you add them.
How many images can I add, and how large?
Up to 300 images at a time, each up to 50 MB and 60 megapixels. Very large batches depend on your device's memory; Smaller file keeps the PDF light.
Are my images uploaded?
No. The page loads its PDF engine from our server, then reads your images and makes the PDF in your browser. They are not uploaded to our server, and Start over or closing the tab clears them.