Files & Images Runs locally Ready to use Built-in examples No tracking

Image to PDF

Turn images into a PDF in your browser: each image gets a page with automatic landscape/portrait orientation, page size matching the image or unified A4, all processed locally.

A résumé that needs certificates attached, expenses that need receipts filed, an office window that asks for a scanned PDF — when all you have is photos, this is the fiddly step. Put the images in order and each becomes a page, landscape or portrait as it needs to be: A4 with margins for printing, or the image's own dimensions for archiving. Documents and receipts never leave your machine.

On the numbers: in "image size" mode one pixel is 0.75 points, so the print scale is unchanged; "A4" leaves about half an inch of margin so printers do not clip the edge, and scales a large image down rather than up, so nothing blurs. A transparent PNG gets a white background, a GIF keeps only its first frame, and 100 images of up to 30 MB each is the sensible range.

How to use

  1. Select the images in page order.
  2. Choose the page size: the image's own size, or A4 with margins.
  3. Check the page count and the orientation of each page.
  4. Generate and download the PDF.

How it works

Select and compose

Press "choose images" to pick several at once, pick a page layout (per-image size / uniform A4), press compose — the result area lists page count and per-page placement; download to save.

Two page layouts

"Match image size" gives each page the image's own dimensions (1 pixel = 0.75 pt, print proportions unchanged); "uniform A4" scales each image proportionally into the page — landscape stays landscape, portrait stays portrait — ready for printing.

Page order follows selection

Pages follow your selection order in the picker; select numbered files in order, and a wrong order is fixed by re-selecting.

Embedded quality

The PDF embeds the original image data, so on-screen sharpness matches the source; uniform A4 only ever scales down when the image exceeds the page box — never up, never blurry.

Code example

JavaScript One page per image (fit to the page box)

import { PDFDocument } from 'pdf-lib';

const A4 = [595.28, 841.89];             // PDF units are pt; A4 = 210x297mm

async function imagesToPdf(files) {
  const pdf = await PDFDocument.create();
  for (const file of files) {
    const bytes = await file.arrayBuffer();
    const img = file.type === 'image/png' ? await pdf.embedPng(bytes) : await pdf.embedJpg(bytes);
    const page = pdf.addPage(A4);
    // scale to fit the page and centre it (contain); use cover maths to fill the page
    const scale = Math.min(A4[0] / img.width, A4[1] / img.height);
    const w = img.width * scale;
    const h = img.height * scale;
    page.drawImage(img, { x: (A4[0] - w) / 2, y: (A4[1] - h) / 2, width: w, height: h });
  }
  return pdf.save();
}

Python Save a multi-page PDF with Pillow

from PIL import Image

# Pillow writes several images into one multi-page PDF, one page each
imgs = [Image.open(p).convert('RGB') for p in ['1.jpg', '2.jpg', '3.jpg']]
imgs[0].save('out.pdf', save_all=True, append_images=imgs[1:], resolution=150.0)

FAQ

Are images uploaded during conversion?

No. The PDF assembles page by page in the browser — ID and bank-card photos never leave your machine, fundamentally unlike upload-based converters.

How many images per run?

Keep it to 100 images of 30 MB each. Larger sets take a few seconds to compose; per-page details list in the result area for checking before you download.

Does the PDF lose quality?

"Match image size" embeds pixels as-is with zero resampling; uniform A4 only scales down proportionally when needed — aspect ratio intact, no stretching.

Can the composed PDF be split or merged later?

Yes — use this site's PDF merge and split tools. Each page is just an image and interoperates with any other PDF.

What happens to transparent PNGs?

PDF pages default to white, so transparency renders on white. To keep the look, flatten onto your target background color before converting, or accept white.

Why is there a white border in A4 mode?

A4 reserves about half an inch of margin to survive printer clipping, scaling the image into the page box. For full-bleed, choose "match image size".

Does an animated GIF stay animated in the PDF?

No. PDF is a static document — GIFs contribute their first frame only. Keep GIFs as-is or convert to video for sharing.