Image to PDF

Put a set of images into one PDF — one page each, in the order you choose, without the pictures leaving your browser.

Runs on your devicePDFWorkingNo account needed

What this tool does

Image to PDF builds a new document from the pictures you add, one page per image, in a single pass. Everything you select goes into the same PDF rather than being converted file by file, so a folder of scans comes back as one document. Order is either the order the files arrived in or file name A to Z, sorted naturally, which puts 2 before 10 instead of the other way round.

Page size decides the shape of the result. Fit the page to each image never resamples the picture: at the default margin of zero the page is exactly the picture, and raising the margin grows the sheet around it instead of shrinking what is drawn. The catch is that one image pixel becomes one PDF point, so a 4000-pixel-wide photo produces a page around 1.4 metres across — fine on a screen, useless at a printer. Choosing A4, US Letter, A3 or A5 instead scales each picture to fit inside the page and centres it, and Match each image turns the sheet to landscape when the picture is wider than it is tall. The page background colour applies either way, and it is what shows through wherever a PNG is transparent.

Format support is narrower than the file picker suggests, and how a picture gets in matters as much as whether it does. A JPEG is the one format copied in untouched: its compressed bytes become the page, so nothing is decoded and nothing is re-encoded. A PNG is not copied — pdf-lib decodes it to pixels and deflates them again as full-colour RGB, which keeps every 8-bit sample but rebuilds the page data, reduces a 16-bit PNG to 8 bits per channel, and leaves a greyscale or palette screenshot noticeably heavier than the file it came from. Anything else the browser can display — WebP, GIF, BMP, AVIF — is painted onto a canvas and handed on as a PNG, so it takes that same route, and an animated GIF or WebP contributes only its first frame. HEIC and TIFF are refused outright, with a message naming the file that stopped the run, because no browser can decode either one and the browser is all this tool has.

The whole conversion runs in this tab using pdf-lib, reading the images from disk into memory, and no file is uploaded. That boundary also explains what is missing. There is no text recognition, so a PDF built from scans is a stack of pictures and nothing in it is searchable. No picture is ever downsampled on the way in, so the document weighs at least what the images weighed and frequently a little more. A JPEG's EXIF orientation tag is ignored, so a phone photo that relies on that tag to sit upright arrives on its side. And an animated PNG stops the run outright, with an error from pdf-lib that does not say which file caused it.

How to use it

  1. Add your images. The picker takes anything the browser calls an image, as many as you like. Files that are not images are quietly skipped, and a selection with none left in it is refused.
  2. Choose how the page is sized. Fit the page to each image never resizes the picture; a margin only makes the sheet bigger around it. A4, US Letter, A3 or A5 scales each picture to fit and centres it, with Match each image switching to landscape for wide pictures.
  3. Set the margin, background and order. The margin is in millimetres and applies on all four sides. The background colour fills the page behind the picture and shows through transparent PNGs. Order is as added, or file name A to Z.
  4. Name it and convert. Leave the name blank and a single image keeps its own; a set is named after the first image with a count of the rest. Progress is reported picture by picture, and a long run can be stopped partway.

Processing & privacy

Runs on your device. Your file is processed directly in this browser.

Common use cases

Sending scanned paperwork as one attachment

A phone camera or a flatbed produces one image per sheet. A scan to PDF conversion collects them in page order, so a landlord or an accountant receives one file instead of nine.

Filing receipts with an expense claim

Most expense systems accept a PDF and refuse loose photographs. Receipts named 01 to 12 go in sorted by name and come back as a numbered document.

Turning screenshots into something readable

Screenshots on A4 with a 10 mm margin read as a document rather than a pile of pictures, and the page background fills the space around narrow captures.

Preparing pictures for a print shop

Choose A4 or A3 rather than fit-to-image. A fixed page size is what a printer expects, while a fit page inherits the picture's pixel dimensions and can be over a metre wide.

Questions

Do the pictures ever leave this tab?
No. The PDF is assembled here with pdf-lib, from files read straight off your disk, and nothing about your images is transmitted or stored. The pdf-lib library itself is fetched from this site the first time you convert, so that one request does need a connection.
Why was my HEIC or TIFF photo rejected?
Because no browser can decode either format, and the browser is the only decoder here. The error names the file that stopped the run. Convert HEIC photos with HEIC Converter first; a TIFF has to be turned into a PNG or JPG elsewhere before it can be used.
Does the conversion reduce the quality of my photos?
A JPEG is untouched, so the bytes in the document are the bytes you started with. A PNG is decoded and re-compressed losslessly — the pixels survive, though a 16-bit PNG arrives at 8 bits per channel. WebP, GIF, BMP and AVIF are redrawn as PNG, which loses nothing visible but keeps only the first frame of anything animated.
Why is the PDF as big as all the pictures together?
Because nothing is downsampled or re-compressed to save room. A JPEG page weighs what the JPEG weighed; a PNG page is stored as deflated full-colour pixels, which can run roughly half again as large when the original was greyscale or palette-based. Shrink the pictures with Image Compressor beforehand, or put the finished file through Compress PDF.
Can I select or search the text in the result?
No. Every page is a picture of a document rather than text, so nothing is selectable and no search will match it. Run the finished file through PDF OCR to add a text layer behind the images.
How do I control which picture comes first?
Set Image order to file name A to Z and give the files a leading number; sorting is natural, so 2 comes before 10. Left on As added, the order is whatever your browser hands over, which a multi-select dialogue does not always make obvious.
My photo came out sideways — why?
The EXIF orientation tag written by phone cameras is not applied; the pixel grid is placed exactly as stored. Straighten the picture with Rotate Image before converting, or turn the finished page with Rotate PDF.
How is this different from JPG to PDF?
The processing is identical — same settings, same output. JPG to PDF and PNG to PDF simply narrow the file picker to one format. Image to PDF accepts a mixed set, which is what you want when a folder holds photos and screenshots together.

Related tools

  • Merge PDF — Combine several PDFs into one document in the order you choose.
  • Split PDF — Split one PDF into separate documents by page range.
  • Compress PDF — Reduce PDF file size while preserving the quality that matters.
  • PDF to JPG — Export every page of a PDF as a JPG image.
  • JPG to PDF — Turn one or many JPG photos into a single PDF.
  • Protect PDF — Add a password and set permissions on a PDF.