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 into the PDF. JPEG images are embedded without re-encoding after their metadata (EXIF including GPS, XMP, IPTC, comments, C2PA, and thumbnails) is removed. PNG images use pdf-lib's PNG embedding, which keeps only the pixels. A rotated EXIF orientation in a JPEG or PNG is applied by rotating the page, and a mirrored, animated, or incomplete PNG is redrawn as PNG on an HTML canvas. WebP, GIF, mirrored JPEGs, and JPEGs or PNGs that cannot be read directly are drawn onto an HTML canvas and exported as JPEG first, with transparent areas filled white. Each page is sized to match its image exactly.
Processing runs in your browser
All processing happens locally in your browser tab. pdf-lib builds the PDF in memory, and our servers are not involved at any point.
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 using the JPEG data it already has, with the camera metadata (EXIF including GPS, XMP, IPTC, comments, C2PA, and thumbnails) removed, so there is no re-compression and no quality loss. Photos whose EXIF orientation is a rotation are shown upright by rotating the page. The page dimensions match each image, and the PDF carries no producer, creator, or date properties.
- 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 with their original image data, only without the camera metadata, so there is no re-encoding or quality reduction. The rare mirrored orientations, and JPEGs the metadata filter cannot read, are re-encoded as high-quality JPEG through the canvas instead.
- 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.
- What is the PDF file called?
- A single image gives a PDF with the image's name, so scan.jpg becomes scan.pdf. Two or more images download together as images.pdf.
Last reviewed September 30, 2026
Other pages for this tool
Related tools
- Background reading: Complete guide to PDF tools