inyourbrowser.com

JPG to PDF

Convert one or more JPEG images into a PDF file, entirely in your browser. Drop your JPGs, reorder them if needed, and download a PDF where each image fills one page. All processing happens locally in your browser.

Drop images here or click to browse

JPEG, PNG, WebP, GIF — add multiple to combine into one PDF

How it works

The tool uses pdf-lib, a JavaScript PDF library, to create a new PDF document in your browser. Each image is read from disk, converted to the appropriate format if needed, and embedded directly into the PDF. JPEG images are embedded as-is with no re-compression. PNG images use pdf-lib's native PNG embedding. WebP and GIF images are first drawn onto an HTML canvas and exported as JPEG before embedding. Each page is sized to match its image exactly.

Processing runs in your browser

Everything happens inside your browser tab. pdf-lib operates entirely in memory and no file data is sent to any server at any point. The downloaded PDF is generated locally and never leaves your device before download.

Related operations

To shrink large photos before bundling them, try compress image. For consistent dimensions across pages, use resize image. To merge the resulting PDF with other documents, see merge PDF.

Frequently asked questions

How does JPG to PDF conversion work in the browser?
The tool uses pdf-lib, a JavaScript PDF library, to create a new PDF document. Each JPEG image is embedded directly into the PDF using the JPEG encoding it already has, so there is no re-compression and no quality loss. The page dimensions match each image exactly.
Is there a limit on how many images I can convert?
There is no hard limit. The practical limit is your device's available memory. Most modern devices can handle dozens of large JPEGs without difficulty.
Will the PDF preserve my image quality?
Yes. JPEG images are embedded as-is into the PDF, so there is no additional re-encoding or quality reduction. The output PDF contains the original JPEG data.
Can I control the page size?
Each page is sized to match its image exactly. If you want all pages at a fixed size like A4, that option is not available in this tool, but you can adjust the page size after conversion using other PDF software.
Where does image processing happen?
All processing runs in your browser using pdf-lib. Your images are loaded into browser memory locally.

Related tools

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