Images to PDF Converter – JPG, PNG to PDF | TempScript
100% browser-based • Images never leave your device

Images to PDF Converter

Combine JPG, PNG and WebP images into a single PDF. Upload multiple images, drag to reorder them, choose a page size and orientation, set margins, and download the result. Everything runs locally in your browser — no uploads, no sign-up.

Images to PDF converter tool

Private by design. Images are read from your device and embedded into the PDF entirely in the browser using pdf-lib and the HTML5 Canvas API. Nothing is uploaded, stored, or logged anywhere.

Drop images here

or click to browse — JPG, PNG and WebP are supported

You can select multiple files at once. Up to 100 images, ~150 MB total.

Images to PDF converter with a grid of uploaded images and PDF page settings
Upload images, set the page size and margins, then download a single PDF.

How to use the Images to PDF converter

  1. Add images. Drag JPG, PNG or WebP files onto the drop zone, or click Choose images. You can add more at any time.
  2. Set the order. Drag any image card to move it, use the up and down arrows, or click Reverse order or Sort by name.
  3. Choose page settings. Pick a page size (A4, Letter, Legal, A3, A5 or Fit to image), orientation (portrait or landscape), and adjust the margins.
  4. Preview the layout. The page preview shows a rough layout of how each page will look with your chosen settings.
  5. Convert and download. Click Convert to PDF. A progress bar shows the embedding step. The PDF downloads automatically when ready.

Key features and benefits

Multiple images

Upload up to 100 images at once. Each becomes a page in the final PDF, in the order you choose.

Drag to reorder

Pick up any image card and drop it into a new position. Up/down arrows provide a keyboard-friendly alternative.

Flexible page sizes

Choose A4, Letter, Legal, A3, A5, or "Fit to image" for pages that match each image's own dimensions.

Margins & orientation

Set the margins with a slider and toggle portrait or landscape. The preview updates as you change settings.

Fully private

Images are read from disk and embedded directly. Nothing is uploaded, stored, or logged anywhere.

Responsive layout

Images grid and settings panel sit side by side on desktop and stack neatly on mobile.

Privacy and limitations

  • Fully client-side. Images are read via the File API and embedded with pdf-lib entirely inside your browser. No content is transmitted to any server.
  • No tracking. The tool does not record which images you upload or what settings you choose. There is no analytics on file content.
  • No automatic saving. Images are held in memory only. Reloading the page clears everything.
  • Input formats. Any image the browser can decode works. That includes JPG, PNG, WebP, GIF (first frame) and BMP. Images are embedded as JPEG or PNG in the output.
  • Memory limits. Total size is bounded by your browser's available memory. Files up to about 150 MB in total work well. Larger jobs may be slow.
  • EXIF orientation. Most modern browsers apply the EXIF orientation automatically when drawing an image, so rotated photos usually appear correctly. If a photo looks sideways, rotate it first in an image editor.

Frequently asked questions

Are my images uploaded to a server?
No. All processing happens locally in your browser using the pdf-lib JavaScript library and the HTML5 Canvas API. Your images never leave your device.
What image formats are supported?
JPG, PNG and WebP are the primary formats. Any image format that your browser can decode is supported on input, and everything is embedded as JPEG or PNG inside the PDF.
What is the difference between A4 and Letter?
A4 is 210 by 297 millimetres and is the standard in most countries. Letter is 8.5 by 11 inches (216 by 279 millimetres) and is the standard in the United States and Canada. Choose the one that matches the paper you will print on.
What does "Fit to image" do?
Instead of forcing every image onto a fixed page size, "Fit to image" creates a page for each image that matches the image's own dimensions. This is useful for screenshots or artwork where you want the PDF page to be exactly the size of the image.
Will the image quality be preserved?
Yes. Images are embedded at their original resolution. You can optionally re-encode them at a chosen JPEG quality to reduce file size, but by default the original data is preserved.
Is there a limit on the number of images?
You can add up to 100 images. Total size is limited by your browser's available memory. Large images or very many images can make the browser slow, so keep the total under about 150 MB for the best experience.

A practical guide to converting images to PDF

PDF is the universal format for sharing documents that need to look the same everywhere. When you have a series of images — scanned pages, receipts, artwork, or screenshots — combining them into a single PDF makes them easier to file, email, print and archive. A browser-based converter that runs on your device is often the fastest and most private way to do it.

Why PDF instead of a folder of images

A folder of images is awkward to share and easy to get out of order. A PDF, by contrast, is a single file with a defined page order. It opens identically on any device, preserves the exact layout, and can be printed without additional setup. Most email clients, cloud drives and document management systems treat PDFs as first-class citizens, which makes them the practical choice for anything that will be reviewed, submitted or stored.

Page sizes and when to use each

  • A4 (210 × 297 mm). The standard for most of the world. The right default unless you have a specific reason to pick something else.
  • Letter (8.5 × 11 in). The US and Canadian standard. Slightly wider and shorter than A4.
  • Legal (8.5 × 14 in). Used for contracts and legal filings in the US.
  • A3 (297 × 420 mm). Twice the area of A4. Useful for posters and detailed plans.
  • A5 (148 × 210 mm). Half of A4. Good for booklets and notebooks.
  • Fit to image. Creates a page for each image that matches the image's own size, without any padding. Best for screenshots and artwork.

Portrait vs. landscape

Orientation controls whether the long edge of the page is vertical (portrait) or horizontal (landscape). For scanned text documents, portrait is almost always correct. For wide photos, screenshots or diagrams, landscape often fits better. The orientation applies to all pages at once in this tool, so choose the one that matches the majority of your images.

Margins, resolution and file size

Margins add a blank border around each image. They are useful when a page will be printed and you want to avoid the edges being clipped by the printer. For on-screen viewing, zero margins give the largest image. When it comes to file size, the biggest factor is the resolution of the source images. A 4000-pixel-wide photo embedded at full resolution can be several megabytes on its own; re-encoding at a lower quality dramatically reduces the size with little visible difference on screen.

Common pitfalls

  • Mixing page sizes. If you need every page to be the same size, do not use "Fit to image". Use A4 or Letter instead so the pages align.
  • Very high-resolution scans. A 600 dpi A4 scan is roughly 5000 × 7000 pixels. Embedded as-is, this can produce a PDF of 50 MB or more. Downscale first if the PDF will only be viewed on a screen.
  • Upside-down or sideways photos. Most browsers apply EXIF orientation automatically, but if a photo still looks wrong, rotate it in an image editor before uploading.
  • Losing the original. Converting to PDF does not change your source images. Keep them if you might want to edit or reprocess later.

About this tool

This Images to PDF converter is part of the TempScript free online tools collection. It runs entirely in your browser, requires no account, and never sends your files anywhere. If you work with images and documents regularly, you may also find our PDF merger and PDF compressor useful.

© 2026 TempScript. All rights reserved.