inyourbrowser.com

Image to PDF

Image to PDF is a PDF tool that combines JPEG, PNG, WebP, or GIF files into a single PDF document. It lets you reorder pages with arrow buttons, sizes each page to match its source image, and produces a finished PDF for download. The tool runs in your browser.

Drop images here or click to browse

JPEG, PNG, WebP, GIF. Add multiple to combine into one PDF

How to convert images to PDF

  1. Drop your image files onto the upload area, or click to browse and select them.
  2. Use the arrow buttons to arrange the images in the order you want them to appear in the PDF.
  3. Click the convert button and wait while your browser builds the PDF.
  4. Download the finished PDF directly to your device.

Common uses

  • Combining several scanned document photos into a single PDF for submission, then compressing the PDF to meet file size limits
  • Converting a series of screenshots into a shareable PDF report; crop the screenshots first to cut away toolbars and borders
  • Assembling a photo portfolio or presentation as a multi-page PDF that opens in any PDF viewer

Technical specification

  • Algorithm or formula: pdf-lib creates a new PDF document, embeds each image via embedJpg or embedPng, and adds a page sized to the image. JPEGs are embedded without re-encoding after their metadata segments (EXIF including GPS, XMP, IPTC, comments, C2PA, thumbnails) are removed. PNGs are embedded as pixels only. An EXIF orientation of 90, 180, or 270 degrees in a JPEG or PNG is applied by rotating the page; mirrored, animated, or incomplete PNGs are redrawn as PNG through the Canvas API. WebP, GIF, mirrored JPEGs, and JPEGs or PNGs that cannot be read directly are first re-encoded to JPEG through the Canvas API, with transparent areas filled white.
  • Browser API or library: pdf-lib 1.17 (lazy-loaded) through the site's pdf-ops helper, which saves the PDF with no document properties and a random file ID. The site's image-metadata helper removes the JPEG metadata. Canvas 2D API for WebP and GIF preprocessing.
  • Input limits: Each image up to 50 MB, 50 megapixels, and 10,000 pixels on its longest side. No hard cap on image count; practical limit is device memory.
  • Output: Single PDF (.pdf) document with one image per page, downloaded as a blob.
  • Known limitations: No OCR or text layer is added (output is image-only PDF). Each page follows its image's EXIF orientation (applied by rotating the page, or by redrawing a mirrored image), so mixed portrait and landscape inputs produce mixed-page PDFs.

Frequently asked questions

Which image formats can I convert to PDF?
JPEG, PNG, WebP, and GIF are all supported. WebP and GIF are converted to JPEG internally before embedding, so they display correctly in all PDF viewers. JPEG has no transparency, so their transparent areas become white.
Is there a limit on how many images I can add?
There is no hard limit. The practical constraint is your device's available memory. Most modern devices handle dozens of large images without difficulty.
Where does image processing happen?
All processing runs in your browser using pdf-lib. Our servers are not involved at any point.
What is the page size in the output PDF?
Each page is sized to match its source image exactly, so the PDF preserves the original dimensions without scaling or cropping.

Related tools

Merge PDF
Combine multiple PDF files into one downloadable PDF. Drop in your files and reorder them with arrows. Runs in your browser.
Compress PDF
Reduce PDF file size in your browser. Lossless optimisation or image re-rendering.
PDF to Image
Convert PDF pages to JPEG or PNG images. Download individually or all at once.
Compress image
Reduce JPEG, PNG and WebP size with a quality slider. Compression runs in your browser.

Reviewed and tested September 30, 2026.