Omia

How to convert PNG or JPG to PDF

Forms, portals and email recipients often ask for a PDF when what you have is a screenshot, a scan or a photo. Turning one image into a PDF is easy; the questions are whether the image keeps its quality, what size the page is, and whether several images can go into one PDF. Here are four ways. (We make Xiaoer Omia (xiaoeromia.com), option 3 — the others are described as fairly as we can.)

Last checked: November 2026

1. Preview on a Mac (built in)

Open the image in Preview, choose File > Export, and pick PDF in the Format menu.

2. img2pdf (free, command line)

img2pdf is a free, open-source tool made for exactly this. img2pdf img1.png img2.jpg -o out.pdf puts several images into one PDF, and it embeds them without re-encoding, so nothing is lost.

3. An offline viewer: Xiaoer Omia

Xiaoer Omia (xiaoeromia.com) is a desktop viewer for Mac and Windows. Open the PNG, JPG, WebP, GIF, BMP or SVG, then Save As PDF. Nothing is uploaded.

4. An online converter

Websites where you upload one or more images and download a PDF.

Side by side

Mac / WindowsSeveral images in one PDFPage sizeKeeps the image's qualityFile stays on your computerCost
PreviewMac onlyNot listedNot listedNot listedYesFree, built in
img2pdfBoth, command lineYesYou can set itYes, losslessYesFree
Xiaoer OmiaBothNo, one image per PDFThe image's own size, no marginsYes; JPG not re-compressedYes5 free conversions, then $19.90 once
Online converterIn the browserUsuallyVariesVariesNo, uploadedUsually free
A PNG image open in Xiaoer Omia on a Mac, with the Save As / Convert menu listing PNG, JPEG and PDF
Option 3: 01-Omia.png in Xiaoer Omia on a Mac; Save As offers PNG, JPEG and PDF
Try Omia · Apple Silicon Mac · IntelWindows See all formats Xiaoer Omia opens

FAQ

How do I convert a PNG to PDF without uploading it?

Use something that runs on your computer: Preview on a Mac (File > Export, then PDF), the free img2pdf command, or a viewer such as Xiaoer Omia (xiaoeromia.com), where you open the image and Save As PDF.

How do I put several images into one PDF?

img2pdf does it in one command (img2pdf img1.png img2.jpg -o out.pdf), without losing quality. Online converters usually can too, but they upload the images. Xiaoer Omia makes one PDF per image and can't combine them.

Does converting JPG to PDF lose quality?

It depends on the tool. img2pdf and Xiaoer Omia put the JPG into the PDF as it is, without compressing it again. Some converters re-encode the image, which can soften it slightly.

What page size will the PDF be?

With Xiaoer Omia, the page is exactly the size of the image (a 3000 × 1900 pixel PNG makes a 3000 × 1900 point page), with no margins. If you need A4 or Letter pages, use a converter that lets you choose the page size.

Can I convert a WebP, GIF, BMP or SVG to PDF too?

Yes. Xiaoer Omia saves PNG, JPG, WebP, GIF, BMP and SVG files as a PDF the same way, on Mac and Windows; an SVG goes into the PDF as an image, not as vector paths. For WebP to PNG or JPG, see our WebP guide.

Are my files uploaded?

Not with options 1 to 3: they all run on your own computer. Online converters upload the images.

Related: PDF to PNG · WebP to PNG or JPG · SVG to PNG, JPG or PDF · BMP to PNG, JPG or PDF · HEIC viewer · PDF viewer · Markdown to PDF or Word · All guides · 150+ formats in one app