PixKit › Guides

How to Convert a JPG or PNG Image to PDF (A4, Letter, Custom Size)

By Prateek Gaur · Updated 9 November 2026 · 2 min read

Turn a photo or scan into a tidy PDF page. Choose page size, orientation, margins and background — all in your browser without uploading the file.

When a PDF is the better format

Offices, universities and government portals frequently ask for documents as PDF. A PDF page keeps its size and layout on every device, prints predictably and is accepted where a loose JPG might not be. A photographed certificate, a signed letter or a scanned receipt is far easier to submit as a PDF page.

Step-by-step: image to PDF

  1. Open the Image → PDF tool and choose your picture.
  2. Pick a page size: Auto fits the PDF to the image, or choose A4, A5, A3, Letter, Legal or Custom (enter width and height in centimetres).
  3. Choose portrait or landscape. For a tall photo of a document, portrait usually fits best.
  4. Set the margin, scale and position, and choose a background colour for any empty space around the image.
  5. Press Export PDF. The file is created in your browser and can be downloaded, copied or shared.
PixKit Image to PDF tool with page size options A4, A5, A3, Letter, Legal and Custom
Choose Auto, A4, A5, A3, Letter, Legal or a custom size.

Choosing the right page size

Keeping the PDF small

The PDF contains your image at its stored resolution, so a 12 MB photo makes a 12 MB PDF. Many upload forms cap files at 1–2 MB. Reduce the picture first: resize the long edge to around 2000 px and compress it to roughly 300–500 KB with the Compress tool, then convert. Text stays readable at that size.

Tip: for scans of text pages, 1600–2000 px on the long edge is usually enough for crisp reading on screen.

PixKit Compress tool showing resize, format and output size controls
Shrink big photos with Compress first to keep the PDF small.

Preparing a good scan

Multiple pages

PixKit builds one PDF page per image. For a multi-page document, convert each page and merge them with a PDF tool, or send them in order as separate files if the recipient allows it.

Privacy

Documents tend to contain personal details. The conversion runs entirely in your browser with an open-source PDF library; the picture and the finished PDF are never uploaded.

Try Image to PDF freeAbout this tool

More guides

PixKit Compress tool showing resize, format and output size controls
Guide · 2 min read
How to Reduce Image Size Without Losing QualityA practical guide to making photos smaller for forms, email and websites: resolution, formats, quality settings and the order to apply them.
PixKit PDF to Image tool showing page thumbnails with page 1 selected
Guide · 2 min read
How to Convert PDF Pages to Images (JPG, PNG, WebP)Learn when and how to turn PDF pages into images, which format and resolution to choose, and how to export every page at once.
PixKit Metadata tool with the Remove all metadata switch turned on
Guide · 2 min read
How to Remove Location Data (EXIF) from Photos Before SharingPhotos can reveal exactly where they were taken. Learn what EXIF metadata contains, who can see it, and how to remove it.