Convert JPG to PDF

Combine one or more JPG images into a single PDF in your browser. Choose page size and orientation. Free, private, no upload, no watermarks.

🌐 Español

Drop your files here (.jpg, .jpeg)

🔒 Private by design: your files are processed locally in your browser and never uploaded to any server.

What this conversion does to your image bytes

A PDF page is a coordinate system with drawing instructions painted onto it, and one of those instructions is “put this image object inside this rectangle”. A JPEG, meanwhile, is already a stream of DCT-compressed data, and the PDF specification has a filter called DCTDecode whose entire meaning is “what follows is a JPEG, decode it the JPEG way”. Put those two facts together and the honest description of a JPG to PDF conversion falls out: the file’s compressed bytes get copied into a PDF image object untouched, and a page is created that draws it.

That is exactly what happens here. The tool calls pdf-lib’s embedJpg, which reads only the JPEG’s start-of-frame marker to learn the width, height, bit depth and channel count, then stores your original bytes verbatim behind Filter: DCTDecode. Nothing is decoded to pixels, nothing is re-encoded, and there is deliberately no quality option, because there is no encoder in the pipeline to give a quality number to.

The consequence people notice is file size. A converter that re-compresses can hand you a small PDF; this one cannot, because the pixels it writes are the pixels you gave it. Twelve phone photos of 3 MB each produce a PDF of roughly 36 MB. That is the correct result, and if the form you are filling in refuses anything over 10 MB, the second step is Compress PDF, which downsamples the embedded images on purpose.

A4, US Letter, or Fit to image

The two standard sizes are the real PDF point values: A4 is 595.28 by 841.89 points, US Letter is 612 by 792, at 72 points to the inch. Pick either and every image is scaled to fit inside that page with its aspect ratio intact, then centred, which leaves white margins on whichever pair of sides does not match. Worth knowing: the scaling runs in both directions. A small image is enlarged to fill the page, so a 600 pixel wide screenshot placed on A4 will look soft when printed. Nothing is ever cropped to make it fit.

“Fit to image” works on a different principle, and it pays to understand it before choosing it. The page takes the image’s pixel dimensions as its point dimensions, one pixel to one point. A 4032 by 3024 photo therefore becomes a page 4032 by 3024 points, which is 56 by 42 inches of paper. On screen nobody notices, because viewers fit the page to the window and all your pixels are still there. Send it to a printer and it gets scaled down to whatever paper is loaded, which usually looks fine but is no longer something you decide. So: “Fit to image” for photos, artwork and portfolios that will only ever be looked at, A4 or US Letter for anything a human might print or a government portal might validate.

Orientation only applies to the two standard sizes, and “Auto” is the setting to leave alone. It gives a landscape page to any image wider than it is tall and a portrait page to everything else, exact squares included. Forcing portrait on a landscape photo is perfectly legal and simply produces a small image between two fat margins.

Turning a stack of photos into one document

  1. Drop your .jpg or .jpeg files into the box above, or click to pick them. Each one becomes one page.
  2. Check the list. Pages come out top to bottom in that order.
  3. Choose a page size and orientation, then click Convert.

Ordering is the step people trip on. The list order is whatever order your browser handed the files over in, there is no drag-to-reorder control, and adding a second batch appends it to the end. Renaming files with zero-padded prefixes (01-front.jpg, 02-back.jpg) before you add them is the dependable fix. One file keeps its own name with a .pdf extension; two or more are combined into a single combined.pdf.

When a JPEG refuses to embed

Because the embedder inspects the file’s own markers rather than trusting its extension, a few real inputs fail, all with the same generic “something went wrong” message. The most frequent cause is a file that is not a JPEG at all: a PNG or a WebP saved with a .jpg name has no JPEG start-of-image marker, so the embed step gives up immediately. Re-save it as a real JPEG, or use the sibling converter for its actual format.

The stranger failure is a CMYK JPEG that converts successfully but looks inverted, like a photographic negative. Photoshop writes CMYK JPEG values inverted relative to how CMYK image streams are conventionally stored inside a PDF, and there is no completely reliable way to detect which convention a given file follows, so the library always writes an inverting Decode array for CMYK input as a hedge. It is right more often than it is wrong, but when it is wrong the colours flip. Converting the scan to plain RGB first sidesteps the ambiguity entirely.

What it deliberately will not do

There is no OCR here, so the result is a picture of a document rather than a document: search finds nothing and text cannot be selected. Add a text layer afterwards with OCR PDF if that matters. There is also no cleanup pass, no deskewing, no contrast correction, no border detection, so a crooked phone photo stays crooked. And it builds a new PDF rather than appending to an existing one; to bolt these pages onto a contract you already have, convert first and then merge.

See it in action

Screenshot of the Convert JPG to PDF tool with sysfenix-sample.jpg (48 KB) loaded, Page size set to A4, Orientation set to Auto (match image)
Convert JPG to PDF mid-process: sysfenix-sample.jpg (48 KB) loaded, Page size set to A4, Orientation set to Auto (match image).
Screenshot of the Convert JPG to PDF result screen showing sysfenix-sample.pdf ready to download (49 KB, 2% larger)
The finished result: sysfenix-sample.pdf ready to download (49 KB, 2% larger). The download link is a local blob URL — the file never leaves your device.

Frequently asked questions

Does converting to PDF reduce my image quality?

No, and not because the quality setting is generous; there is no encoder in the path at all. Your JPEG's compressed bytes are copied into the PDF as a DCTDecode image object exactly as they arrived, so every page holds the original pixels. Nothing is decoded, resampled or re-compressed.

Why is my PDF as big as all my photos added together?

Because that is essentially what it is. Since no image is re-compressed, the PDF weighs roughly the sum of your JPEG file sizes plus a few kilobytes of page structure, so twelve 3 MB phone photos give you about a 36 MB file. If a portal has an upload cap, run the result through the Compress PDF tool rather than looking for a quality slider here.

How do I control which photo becomes page one?

Pages come out in the order the files appear in the list, top to bottom, and that order is whatever your browser handed over when you dropped or picked them. There is no drag-to-reorder control, so the reliable trick is zero-padded filenames (01-front.jpg, 02-back.jpg) before you add them. Dropping a second batch appends to the end of the list, and an identical file (same name and size) is ignored rather than added twice.

Why does my CMYK scan look like a photographic negative?

CMYK JPEGs exported by Photoshop store their values inverted relative to the way CMYK image streams are conventionally stored inside a PDF, and the embedding library hedges by always writing an inverting Decode array for CMYK input. When your file was not inverted to begin with, that hedge guesses wrong and the colours flip. Re-save the scan as an ordinary RGB JPEG and convert it again.

Will the text in my scanned pages be searchable?

No. Each page is a photograph of text, not text, so Ctrl+F finds nothing and a copy-paste gets you nothing. Run the finished PDF through the OCR PDF tool if you need a searchable text layer behind the images.

What if my images are PNG or iPhone HEIC files?

This tool only accepts .jpg and .jpeg, because JPEG is the one format whose bytes can be embedded without any decoding step. Use the PNG to PDF tool for screenshots and HEIC to JPG to unpack iPhone photos first.

Related tools