Tutorial

How to Create a PDF from Images, PDFs & Text Files

A step-by-step guide to combining multiple file types into one polished PDF — entirely in your browser, for free.

Why combine files into a PDF?

Whether you're assembling a portfolio, compiling receipts, packaging documentation, or turning a photo album into a shareable document, creating a PDF from mixed file types is one of the most common document tasks. Most tools either require desktop software, charge a fee, or upload your files to a remote server.

PannaPDF's Create PDF tool handles it entirely in your browser — no installs, no uploads, no cost.

Supported file types

  • Images: JPG, JPEG, PNG, WebP, GIF, BMP — each image is placed on its own page
  • PDF files: All pages from existing PDFs are copied directly into the output
  • Text files: Plain .txt files are rendered with automatic word-wrapping and pagination

Step-by-step guide

  1. Open the tool: Go to pannapdf.com/create
  2. Add your files: Drag and drop images, PDFs, and text files onto the upload zone, or click to browse. You can add as many files as you need.
  3. Reorder: Drag items up or down to arrange pages in the order you want.
  4. Set options: Choose page size (A4, Letter, or Legal), orientation (portrait or landscape), margin size, and how images fit on the page (contain, cover, or stretch).
  5. Create & download: Click the button and your PDF downloads instantly. No watermarks, no limits.

Options explained

Page size

A4 (210 × 297 mm) is the most common worldwide standard. Letter (8.5 × 11 in) is standard in the US. Legal (8.5 × 14 in) works for longer documents.

Image fit

  • Contain: The image is scaled to fit entirely within the page margins, preserving aspect ratio. This is the default and works best for most cases.
  • Cover: The image is scaled to fill the available area, potentially cropping edges.
  • Stretch: The image is stretched to fill the available area exactly, which may distort the aspect ratio.

Privacy & security

All processing uses pdf-lib, a JavaScript library that runs entirely in your browser. Your files are never uploaded to any server. Once you close the tab, nothing is stored.

Related tools

  • Merge PDFs — Combine multiple PDF files into one (PDF-only)
  • Image to PDF — Convert images to PDF (images-only, with original-size option)
  • Split PDF — Extract specific pages from a PDF
  • Compress PDF — Reduce PDF file size

Ready to create your PDF?

Combine images, documents, and text files in seconds.

Open Create PDF tool