ToolNest · Published · Updated
How to convert JPG or PNG images to PDF
Phone photos and screenshots are awkward to email as a dozen files. A single PDF is often what a form or a person actually wants.
Before you begin
JPG to PDF places JPEG photos on PDF pages so you can share them as one attachment. It preserves pictures of text, without OCR.
Use JPG to PDFWorked example: Package two photographed worksheets
- Input
- Two JPEG photos selected in reading order.
- Expected output
- One PDF with an image on each of two A4 pages.
Rotate and crop the photographs in your device's image editor first. Image-to-PDF conversion preserves a picture of the handwriting; it does not turn handwriting into searchable text. Check the file list before running because phone pickers may present a different order.
Check the result
Zoom into the smallest writing after downloading. A blurred photograph will remain blurred, and a landscape photo fitted onto a page may make small text difficult to read.
If it does not work
HEIC is not a JPEG. Export a JPEG from your phone before selecting it. If the output is upside down, correct the source orientation and regenerate the document.
Scope and limitations
Crop edges, rotate photos and check the smallest writing before selecting files in reading order.
Choose PNG to PDF for PNG diagrams or screenshots.
Pick the matching converter
Use JPG to PDF for camera photos. Use PNG to PDF for screenshots and graphics with transparency. The PNG tool paints a white page first so transparent pixels do not become black in some readers.
How pages are built
Each image becomes one A4 page, centered and scaled to fit with a margin. Extremely wide images letterbox. This is a predictable print size, not a “page exactly as many pixels as the photo” mode.
Compress first if the PDF is huge
A 12-megapixel burst will make a heavy PDF. Run Image Compressor first if the recipient has a size cap. Compression is lossy JPEG — that is a quality trade, not a hidden watermark.
Compare a photograph and a screenshot
Photograph a worksheet and compare it with a crisp screenshot of typed notes. Both can become PDF pages, but conversion cannot recover detail that the original does not contain. Zoom into the photograph before selecting it. For diagrams or small screen text, preserve the original PNG rather than creating a heavily compressed JPEG first.
Decide the order before export
Name a copy of each image with a sequence such as 01-introduction and 02-results, then inspect the selected list. A filename is an organizational aid, not a guarantee about a file picker's sorting. Export and open the PDF. If an image is sideways or too small, edit or crop the source image and regenerate instead of accepting an unreadable attachment.
Know when you need OCR
A PDF built from an image usually stores the page as a picture. Someone viewing it can read the text, but searching or selecting that text requires recognition that this conversion does not perform. If the school or office requires searchable scans, use an OCR-capable application and compare its recognized text with the source.
Questions
Can I mix JPG and PNG in one step?
Convert each type, then merge the PDFs. The dedicated converters keep JPEG and PNG handling explicit.
Related tools
Continue reading
Technical references
- pdf-lib: copying and creating document pages
Library documentation for page copying, image embedding and PDF output. ToolNest's examples describe the controls available here.
- MDN: canvas image export
Explains image formats and quality parameters used by browser canvas export.
- W3C: accessible images
Choosing text alternatives for informative images when publishing them on a website.
These instructions describe ToolNest's browser tools and their limitations. Read how examples are maintained or report a correction.