JPG to PDF
JPG to PDF
Combine one or more images into a PDF.
Runs entirely in your browser
How to use this tool
- Fill in the inputs.
- Read the result.
- Copy or download as needed.
About the JPG to PDF
JPG to PDF combines one or more JPG or PNG images into a single PDF document, with control over page size, orientation, and margin. Upload your images in the order you want them to appear, choose your layout settings, and generate a downloadable multi-page PDF.
This is a common need for turning scanned documents, receipts, or a set of photos into a single shareable PDF file, which is often easier to send, print, or archive than a collection of separate image files.
The tool uses the pdf-lib library, a JavaScript library for creating and modifying PDF documents, to build a new PDF entirely within your browser. For each image you upload, it embeds the image data into the PDF and creates a new page sized according to your chosen settings — either a size that exactly fits the image (with your specified margin added), or a standard A4 or Letter page size, with the image automatically scaled to fit within the margins while preserving its original aspect ratio.
If you choose landscape orientation for a page that would otherwise come out taller than it is wide, the tool automatically swaps the width and height to produce a proper landscape-oriented page. Once every image has been placed on its own page, the complete PDF is assembled and made available for download.
Common use cases
- Combining several scanned document pages (as JPG or PNG images) into a single PDF file for submission or archiving.
- Turning a set of photos into a shareable PDF photo album or portfolio.
- Creating a printable PDF from a series of receipt or invoice images.
- Converting a single image into a properly formatted PDF for a submission that requires PDF format.
- Assembling scanned pages of a physical document, taken as photos, into one organized PDF.
Tips and best practices
- Images are added to the PDF in the order you upload them, so arrange your files in the correct order before uploading, or re-upload them in the desired sequence if needed.
- Choosing "fit to image" as the page size preserves each image's natural dimensions rather than fitting it into a standard page format, which works well for varied image sizes.
- Use A4 or Letter page size with a consistent margin if you need a uniform, print-ready document, such as for a scanned paper form.
- Higher-resolution source images will produce a sharper, better-quality PDF, especially if the document may later be printed.