Skip to content

JPEG to PDF Converter

Drop JPEGs, reorder them, download one PDF. Nothing leaves your browser.

A JPEG-to-PDF conversion is really an embedding problem — a baseline JPEG can be dropped straight into a PDF page as a DCTDecode image stream with no re-compression needed. This tool does exactly that in your browser: it decodes each image you drop, re-encodes it as a clean baseline JPEG (to normalize orientation and strip anything a PDF reader might choke on), and writes a minimal, valid PDF around it. One file in, one file out, nothing sent anywhere.

Drop JPEGs (or any image) here, or

Up to 40 files, 32 MB each. Stays in your browser — nothing is uploaded.

How to use

  1. Drop your images

    Drag one or more JPEG, PNG, or WebP files onto the dropzone, or click to choose files. Each becomes one PDF page, in the order you added them.

  2. Reorder or remove

    Use the up/down arrows to reorder pages, or the × to drop one. The page list updates live — nothing is built until you click Build.

  3. Pick a page size

    "Fit to image" makes each PDF page exactly the image's pixel size (at 96 DPI) — best for single scanned documents. A4 or US Letter centers the image on a standard page with a margin — best when the PDF will be printed.

  4. Build and download

    Click "Build PDF", then "Download". The whole process — decode, re-encode, assemble — runs in your browser; the file is generated locally and never uploaded.

Frequently asked questions

Does anything get uploaded to a server?
No. Every step — image decoding, JPEG re-encoding via Canvas2D, and PDF assembly — happens in your browser with plain JavaScript. Convertitive has no way to see your files; there is no upload request at all.
Can I combine PNG or WebP images too, not just JPEG?
Yes. Any image type your browser can decode is accepted — it gets flattened onto a white background (since PDF's JPEG embedding has no alpha channel) and re-encoded as JPEG before being written into the PDF. If your PNG has transparency, the transparent areas turn white.
How many pages can one PDF have?
Up to 40 images per PDF. Each is processed and embedded independently, so 40 photos from a phone camera build a many-page PDF entirely client-side without needing a server.
What does "Fit to image" actually produce?
A PDF page whose MediaBox exactly matches the image's pixel dimensions, treating 96 pixels as 1 inch (72 points) — the same convention browsers use for CSS pixels. A 1200×1600px photo becomes a 900×1200pt page with the image filling it edge to edge, no margin.
Why would I pick A4 or US Letter instead?
If the PDF is going to be printed or attached to a form that expects a standard page size, A4/Letter centers your image with a consistent margin instead of a page sized to match the photo. Landscape images automatically get a landscape page.
Does re-encoding to JPEG lose quality?
A little, controlled by the quality slider (default 92%). If your source was already a photo-quality JPEG, one more re-encode at 90%+ is visually lossless for almost all practical purposes. If you need pixel-exact fidelity, keep quality at 100% — the file will just be larger.

About

Why JPEG embeds so cleanly into PDF

PDF's image XObject spec supports a /Filter /DCTDecode entry, which means the object's stream can literally be the raw bytes of a baseline JPEG file. A PDF viewer just hands those bytes to its JPEG decoder. That's the entire trick behind this tool — no image library, no server round-trip, just a JPEG byte stream wrapped in a few hundred bytes of PDF structure (a Catalog, a Pages tree, one Page + one image XObject + one content stream per image, and a cross-reference table).

Why every input is re-encoded, even existing JPEGs

Not every JPEG a browser can display is a PDF-safe baseline JPEG — some are progressive, some carry CMYK color data or EXIF orientation flags that a naive PDF embed would render sideways or with wrong colors. Decoding through Canvas2D and re-encoding normalizes all of that: the output is always a baseline, sRGB, correctly-oriented JPEG, at the cost of one additional (usually invisible) compression pass.

Sources & references

Authoritative references behind the math, constants, and tables on this page. Verified by Buğra Sözeri on the dates shown and re-checked at every deploy.