Image to PDF

Image to PDF, done on your own device: add JPG and PNG files up to 50 MiB each, use ↑ and ↓ to arrange the page order, and download one PDF with one image per page. The images are read and assembled inside your browser, so none of them is uploaded to a server.

Drop files here or choose files
JPG and PNG · pick several at once · images stay on your device · up to 50 MiB each
Page size

Fit the image gives every page the pixel size of its own image. A4 puts each image on a portrait A4 sheet, scaled down proportionally and centered, with at least 36 pt of white space all round — exactly 36 pt only on the sides that run out of room first. Images smaller than the content area are not enlarged, so their margins come out wider.

How to use

  1. Add your images: Drop your JPG and PNG files onto the box or click choose files to pick them. The box stays on screen after the first batch, so you can keep adding images in several goes — it only closes while a PDF is being built. Each file can be up to 50 MiB.
  2. Put the images in page order: Use ↑ and ↓ to move an image up or down, ✕ to drop a single one, or Clear all to empty the list. The PDF follows the list from top to bottom, one image per page.
  3. Choose the page size: Fit the image (no margins) makes every page the pixel size of its own image. A4 (centered, with margins) puts each image on a portrait A4 sheet, scaled down to fit and centered.
  4. Create the PDF and save it: Click Create PDF, scroll through the preview, then download images.pdf. On a phone, Save to device opens the system share sheet when the browser offers file sharing, and simply downloads the PDF when it doesn't.

How this image to PDF tool works

This image to PDF tool combines JPG and PNG files into one PDF, with one image per page in your chosen order. Each file can be up to 50 MiB. Processing stays in your browser, with no upload; choose image-sized pages or portrait A4.

That local route is the whole point for sensitive paperwork. Every file is read from your disk into memory, the document is assembled there by the PDF library the page fetches when you press Create PDF, and the result is saved straight from the browser — there is no server step, so payslips, receipts, ID scans and anything else you would rather not hand to a website never leave the device.

One thing to plan around: nothing is kept. Close or reload the tab and both the image list and the finished PDF are gone, so download the file before you leave the page.

Only JPG and PNG get in, and both are checked twice. The file picker filters by type, and the converter then reads the first bytes of every file to see what it actually is, so a WebP or HEIC photo renamed to .jpg is still refused — the extension is never trusted.

Before conversion, you can add images in several batches. New files go to the end of the list; ↑ and ↓ change their page order.

Adding the same image twice creates two PDF pages. Clear all empties the list; Start over clears both the result and the list.

Files arriving during conversion or after the result appears are refused with a message. Download the current PDF, then choose Start over to build a new batch.

If one file can't be read, the batch stops there and no partial PDF is handed to you. The message names the file that failed and says which of the two problems it is: the file isn't a JPG or PNG, or the image can't be read — damaged, or a multi-frame animated PNG, which the writer refuses. Drop that one file with ✕ and press Create PDF again. When the message appears without a file name, every image converted fine on its own, so no single picture is to blame; a batch that ran out of memory looks like this.

Turn HEIC, WebP and other formats into JPG or PNG with Image Converter before adding them here.

Fit the image or A4: which page size to pick

Fit the image (no margins) copies the pixel dimensions onto the page: a 1200 × 800 photo becomes a 1200 × 800 pt landscape page with no white border anywhere. Pages in one document may therefore have different shapes and sizes, which is perfectly legal in a PDF — a page size is stored per page, not per file. The DPI value saved inside the image plays no part in this; one pixel always becomes one point, whatever the file claims it was scanned at.

A4 (centered, with margins) gives every page the same portrait A4 sheet and scales each image down proportionally into a content box of 523.28 × 769.89 pt, which is A4 minus 36 pt (about 12.7 mm, or half an inch) on each side. The margin is at least 36 pt, and exactly 36 pt only on the pair of sides that runs out of room first: a wide 1200 × 800 photo ends up with 36 pt left and right and more space above and below, while a narrow 300 × 1000 image gets 36 pt top and bottom and wider side margins.

Images smaller than that content box are not blown up to fill the sheet. A 100 × 50 px icon is drawn at its own size in the middle of the page, leaving 247.64 pt either side and 395.95 pt above and below — so "exactly 36 pt" describes the scaled-down cases, not every A4 page. The margin can't be changed, and these two buttons are the whole set of choices: there is no A4 landscape, no US Letter, no custom paper size and no orientation switch.

What the PDF is forPickWhat every page looks like
Screen reading, uploads, archiving photosFit the image (no margins)The page takes the image's pixel size at 1 pixel = 1 pt, and the picture reaches all four edges
Printing, or a form that expects sheetsA4 (centered, with margins)Every page is 595.28 × 841.89 pt; the image is scaled down into a 523.28 × 769.89 pt box and centered

The two page-size buttons and what each one does to every page of the PDF.

What the PDF keeps, and what it quietly drops

JPG quality carries over untouched, because the original bytes are what goes into the document. The writer reads the frame header for the width, height and number of color channels and then embeds the file as a JPEG stream — the picture is never decoded and never re-compressed, so there is no second round of JPEG loss. PNG takes the other route: it is decoded to pixels and written back as a compressed pixel stream. That rewrite keeps the pixels themselves, but it does not keep the original encoding, and grayscale, palette or 16-bit PNGs come out of it as ordinary 8-bit RGB.

Transparency survives when the decoded PNG really contains see-through pixels — at least one pixel with an alpha value below 255 — in which case a soft mask goes into the PDF and a logo with a clear background is not flattened onto white. A PNG whose pixels are all fully opaque gets no mask, even if it carries an alpha channel, because there was nothing transparent to keep. Worth knowing: the page itself is not painted with a background color here, so transparent areas simply show whatever the reader paints the page, which is usually white.

JPEG EXIF metadata, including GPS coordinates if present, remains inside the embedded image. This tool does not remove location data. The block travels with the JPEG bytes into the PDF image stream, so a photo taken with location services on still carries that information in the document you send. Strip the EXIF from the picture first if the file is leaving your hands.

None of it becomes a PDF property, though. In the finished file the producer and creator both read as pdf-lib, the creation and modification timestamps are your device's clock at the moment you pressed Create PDF, and there is no title, author, subject, capture date or GPS entry at the document level. File names aren't carried over either — no bookmarks, no page labels, and no caption printed on the page.

The orientation tag is the one that catches people out. EXIF can store a flag meaning "rotate this photo before showing it", and phone galleries obey it; the PDF writer takes the width and height from the image frame and never applies the flag. A 1200 × 800 px photo with an EXIF rotation flag is placed sideways. With Fit the image, its page is 1200 × 800 pt; with A4, the page stays portrait and the sideways image is centered inside it. The tag is still inside the embedded JPG — it just has no effect on how the image sits on the page.

Finally, the result is a picture of your pages rather than text. Nothing here runs OCR, so words in a photographed or scanned document can't be selected, copied, searched or read out by a screen reader. If the person receiving the file needs searchable text, keep the original document or export a PDF from the app that made it.

To stand sideways photos upright before you add them, run them through Rotate Image first.

How big the PDF comes out

This is a converter, not a compressor: there is no quality slider, no target size, and no promise that the PDF is smaller than what you put in. For JPG the mechanism makes the direction predictable, since the bytes are copied in and the only extra weight is the PDF structure around them — a kilobyte or two per run rather than per image, so the same photo added three times still only costs that much on top of the three copies.

PNG behaves differently, and it can go either way, because the file is decoded to pixels and those pixels are re-compressed inside the document. How much any PNG changes depends on its content and on how efficiently it was encoded to begin with, so the sample below is one image and not a rule. The flip side of that rewrite: anything stored after the end of the PNG image data is dropped. Appending 1,000,000 bytes to our sample gave a PDF of exactly the same size in the same run, which made the output smaller than the input file.

The table below is one measurement of our two test images, not a fixed output size. The conversion timestamp is written into the PDF and the content streams are compressed, so the same image isn't guaranteed to produce a byte-identical file twice; read the numbers as magnitudes. If a stack of photos turns into a document too heavy for an email or an upload form, shrink it afterwards instead of expecting this step to do it.

SampleInput bytesFit PDF bytesA4 PDF bytes
1200 × 800 JPG541,541542,486542,522
800 × 600 PNG214,657616,521616,558

One run on the test images: the JPG lands about a kilobyte above its input, the PNG at roughly 2.87 times its input.

When the finished document is still too heavy for an upload form, send it through Compress PDF.

Everyday jobs, and the limits to plan around

The usual reasons people turn photos to PDF with one image per page: receipts and invoices photographed with a phone, so an expense claim goes in as one file; a form or contract shot page by page and handed in as a single document; proof-of-address paperwork for a visa, rental or bank application that accepts only one attachment; and the screenshot pile — convert screenshots to PDF when you need to send a chat thread, a bank transaction history or a bug report to someone who shouldn't have to open eleven PNG files in order. Mixed batches are fine: JPG photos and PNG screenshots can sit in the same document.

The size rules are simple. One file can be up to 50 MiB, which the file picker enforces, and there is no limit in the code on how many images you add or on their combined size. The practical ceiling is your device's memory, because every file is read in before the document is assembled — a laptop copes with far more than an old phone, and we haven't measured where any particular device gives up. If a very large batch stalls, build two or three smaller PDFs instead.

A few things this tool deliberately doesn't do. One image per page is fixed: it won't place two photos side by side on one sheet, and it won't cut one tall screenshot into several pages. It can't add a password, a watermark or page numbers, and it only runs in the one direction, from images to PDF. Formats other than JPG and PNG — HEIC and HEIF from recent iPhones, WebP, GIF, BMP, TIFF, SVG — are refused outright, so those need a conversion step first. Animated images never animate in a PDF; a single-frame animated PNG converts like any other picture, while a genuinely multi-frame one fails and takes the batch with it.

Combine the smaller documents with Merge PDF.

How this tool is checked

  • The logic behind this tool is covered by 27 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
  • Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
  • Your files are processed in your browser and are never uploaded to our server.
  • Formulas, figures and definitions are checked against the sources listed at the end of this page.

How we build and test our tools →

Frequently asked questions

Are my images uploaded anywhere?
No. Each file is read and assembled into a PDF by code running inside your browser, so neither the images nor the finished document is sent to a server. Nothing is kept afterwards either: close or reload the tab and the list and the result are gone, so download the PDF before you leave.
How many images can I combine into one PDF?
There is no limit in the code on the number of images or on their total size — the only size rule is 50 MiB per file. The real ceiling is your device's memory, because every file is read in before the PDF is built. We haven't measured where a given phone or laptop gives up. If a big batch stalls, create smaller PDFs, then combine them with Merge PDF.
Will converting images to PDF make them smaller?
It isn't meant to: there is no quality setting and no size target. JPG files are copied in byte for byte, so the PDF lands close to the originals plus about a kilobyte of structure — 541,541 bytes of photo gave a 542,486-byte PDF in our test. A PNG is decoded and re-compressed, so it can come out larger or smaller. Compress the finished PDF if it needs to be lighter.
Can I use HEIC photos from my iPhone, or WebP images?
No — only JPG and PNG are accepted, and both the file picker and the file-header check refuse anything else, including a HEIC renamed to .jpg. Convert them to JPG or PNG first with Image Converter and then add them here. On an iPhone you can also set Settings › Camera › Formats to Most Compatible so new photos are saved as JPG.
Why is my portrait photo sideways in the PDF?
Because the EXIF orientation tag is never applied. Phones often store a photo as landscape pixels plus a flag telling viewers to rotate it; this tool reads the pixel width and height and ignores the flag. With Fit the image, the page takes those stored pixel dimensions, so it comes out sideways like the pixels rather than upright like your gallery. With A4, the page always stays portrait A4, but the photo inside is still placed sideways, because it is not rotated automatically. Rotate the image first, then add it, and it will come out upright in either mode.
Can I search or copy the text in the finished PDF?
No. The PDF contains your pictures and nothing else — there is no OCR step and no text layer, so words inside a photographed or scanned page can't be selected, copied, searched or read by a screen reader. Keep the original file, or export a PDF from the app that created the document, if searchable text matters.
Why did my image to PDF conversion fail?
A damaged image, an unsupported format or a multi-frame PNG can stop the whole batch. The tool stops at the first failure instead of giving you an incomplete PDF, and the message starts with the name of the file that caused it and says whether it is the wrong format or unreadable. Remove that file with ✕, or open it in a photo app and save a fresh JPG or PNG copy, then press Create PDF again.

Add this tool to your website

Free for any website, personal or commercial. Paste the code where you want the tool to appear — it works on WordPress, Blogger, Google Sites, Notion and plain HTML.

<div class="gingertool-widget" data-embed="https://gingertool.com/embed/en/image/image-to-pdf/" data-height="640" style="font-size: 13px; line-height: 20px; margin: 6px 0 16px; text-align: left">Image to PDF &#183; <a href="https://gingertool.com/en/image/image-to-pdf/">Gingertool</a></div>
<script src="https://gingertool.com/embed.js" async></script>

Please keep the credit link below the tool. Embedded tools show no ads.

Step-by-step: Google Sites · Blogger · WordPress · Notion

Cite this tool

Using a result in a report, paper or assignment? Copy a ready-made reference.

APA
Gingertool. (2026). Image to PDF [Online tool]. Retrieved November 21, 2026, from https://gingertool.com/en/image/image-to-pdf/
MLA
“Image to PDF.” Gingertool, November 21, 2026, https://gingertool.com/en/image/image-to-pdf/. Accessed November 21, 2026.
BibTeX
@misc{gingertool-image-to-pdf,
  author = {{Gingertool}},
  title = {Image to PDF},
  year = {2026},
  url = {https://gingertool.com/en/image/image-to-pdf/},
  note = {Accessed: 2026-11-21}
}