How to Convert JPG & PNG Images to PDF (Combine Multiple Images into One PDF)
To convert images to PDF in Docify, upload local JPG, PNG, GIF, or WebP files, reorder them with Up and Down buttons, then click Generate PDF. The tool uses jsPDF to create one A4 portrait page per image, scaled to fit within 10 mm margins and centered. The resulting PDF is named images.pdf. All processing happens in your browser—nothing is uploaded to a server.
Whether you need to combine phone photos of a multi-page document, bundle receipt images for expenses, or create a simple image portfolio, Docify's Images to PDF tool handles it without uploading your files anywhere. This guide covers the complete workflow, from uploading to reordering to generating your final PDF.
Step-by-step: Convert images to PDF
Step 1: Upload your images
Click Upload images and select one or more image files from your device. The tool accepts JPG, PNG, GIF, WebP, and other browser-supported formats. Each file is read locally using FileReader.readAsDataURL and displayed as a preview card. You can upload additional images at any time—new files append to your existing list.
Step 2: Reorder the pages
Each preview card has Up, Down, and Remove buttons. Up swaps the image with the one above it in the list; Down swaps with the one below. The Generate PDF button walks the list from first to last, so arrange your cards in the order you want pages to appear. Remove deletes a single image without affecting the others.
Step 3: Generate and download
Click Generate PDF when your images are in order. The tool creates a new jsPDF document, adds each image to its own A4 page, and triggers a download of images.pdf. If the export stalls or fails silently on an unsupported file (e.g., HEIC or a corrupted image), refresh the page and remove that file before trying again.
How jsPDF handles your images
Understanding the technical details helps set expectations for quality and format:
- Page size: A4 portrait (210 × 297 mm) with millimeter units. The page orientation never rotates—wide images fit within the width and have white space above and below.
- Scaling: Each image is scaled to fit inside the page with 10 mm on each side. The aspect ratio is preserved, and the image is centered both horizontally and vertically.
- Format: The
addImagecall always uses theJPEGformat argument, even for PNG sources. This is how this page calls addImage. - No compression: There's no optimization pass. The PDF size depends on your input image sizes, not a target output size.
What this tool cannot do
- Merge existing PDFs: The file picker only accepts images. There's no PDF upload, page extraction, or PDF concatenation.
- Multi-image page layouts: You cannot place several photos on one page, create a collage, or build a contact sheet.
- Custom page sizes: Every page is A4 portrait. No letter size, landscape mode, or margin controls.
- Password protection: The generated PDF has no encryption or access restrictions.
- OCR: Images remain images in the PDF. There's no text recognition layer.
Common use cases
- Scanned documents: Phone photos of a multi-page letter, contract, or form—one photo per page, arranged in reading order.
- Expense receipts: Bundle receipt images into a single file for reimbursement. Each receipt gets its own page.
- Image sequences: Combine screenshots, diagrams, or photos into one downloadable PDF for sharing.
Convert your images to PDF
Upload JPG, PNG, or other images. Reorder with Up and Down. Click Generate PDF. Nothing leaves your browser.
Use Images to PDF →FAQ
- Does this tool upload my images to a server?
- No. All conversion runs entirely in your browser using jsPDF. Your images never leave your device. The tool uses FileReader.readAsDataURL to process files locally.
- What image formats are supported?
- The picker accepts any image/* MIME type. JPG, JPEG, PNG, GIF, and WebP work reliably. Some formats like SVG or HEIC may fail at generate time because jsPDF cannot decode them.
- Can I combine multiple images into one PDF?
- Yes. Upload multiple images and they appear as preview cards. Use the Up and Down buttons to arrange them in your preferred order, then click Generate PDF. Each image becomes one A4 page.
- How do I reorder pages before generating?
- Each preview card has Up, Down, and Remove buttons. Up swaps that image with the one above it; Down swaps with the one below. There is no drag-and-drop—use the buttons to arrange the sequence.
- Can I put multiple images on one page?
- No. The tool places one image per A4 portrait page, scaled to fit within 10 mm margins while maintaining aspect ratio. This is not a collage or contact-sheet layout.
- What page size does the PDF use?
- The PDF uses A4 portrait orientation (210 × 297 mm). Landscape images are fitted to the page width, leaving white space above and below. The page itself does not rotate.
- Can I merge existing PDF files?
- No. The file picker only accepts images (image/*). There is no PDF upload, no page extraction, and no PDF concatenation. For PDF signing, see /pdf-signer/.
- What is the PDF file name?
- Generated PDFs are always named images.pdf. You can rename the file after downloading.