Skip to content
brownie.tools

JPG to PDF

Combine JPGs locally with page ordering, rotation, paper sizes, and adjustable image placement.

Choose JPG images or drag & drop

Select one or more .jpg / .jpeg files. Drag to reorder before converting.

Runs locally in your browser. Nothing is uploaded or sent to a server.

Choose JPG images, arrange the thumbnails, and click the conversion button to download one PDF with one page per image. Processing stays on your device. Keep Fit to image to size pages from image dimensions and DPI, or select a paper size and choose Contain, Cover, or Stretch. Rotate individual images, adjust margins, and use Cover position and zoom controls to frame photos. Fixed-size batches also support orientation and fit overrides for individual images.

Updated

How do you turn JPG images into one correctly sized PDF?

Choose your JPG files, put their thumbnails in reading order, and convert them into a single PDF. Each image becomes one page. Start by deciding whether you need pages shaped like the photos or a consistent paper format. Fit to image preserves each image's proportions in the page dimensions; A4, Letter, and other fixed sizes place every image on the chosen paper.

For a worked example, take an unrotated 1800 × 1200 pixel JPG. Choose Fit to image, 300 DPI, and Page margin 0. The converter uses 72 PDF points per inch: width = 1800 × 72 ÷ 300 = 432 points and height = 1200 × 72 ÷ 300 = 288 points. The resulting page measures 6 × 4 inches.

The same 1800 × 1200 image in Fit to image mode, with zero margin
ResolutionPage in PDF pointsPhysical page size
72 DPI1800 × 120025 × 16.67 inches
150 DPI864 × 57612 × 8 inches
300 DPI432 × 2886 × 4 inches

These settings change placement and physical dimensions, not the source pixel count. Rotating the image by a quarter turn swaps its effective width and height. If a submission requires a specific paper format, choose that format instead of relying on DPI to approximate it.

Which page sizes and orientations should you choose?

The eight choices are Fit to image, A4, A3, A5, Letter, Legal, Tabloid, and Custom. A4 is labeled 210 × 297 mm, A3 297 × 420 mm, and A5 148 × 210 mm. Letter is 8.5 × 11 inches, Legal 8.5 × 14 inches, and Tabloid 11 × 17 inches. Custom exposes Width (mm) and Height (mm) fields whose displayed input bounds are 10–1000 mm.

Fixed sizes offer Portrait, Landscape, and Auto (per image). Auto compares the image's effective width and height, accounting for manual rotation, to choose orientation separately for each page. It is useful for a batch containing wide photographs and tall receipts. Portrait or Landscape applies the same direction unless an individual image has an override.

Page size and margin remain shared across the batch. With a fixed size and at least two files, select a thumbnail and enable Customize this image to override that image's orientation and fit. This lets a cover photograph use Cover while document pages keep Contain, without changing the paper size for the whole PDF.

How do Contain, Cover, Stretch, and margins affect the result?

Contain preserves proportions and shows the complete image within the available area. It scales by the smaller of the width and height ratios, leaving white space when the shapes differ. Choose it for certificates, receipts, and screenshots where losing an edge would remove information. A white border may come from the image itself, unused page area, or Page margin.

Cover preserves proportions but uses the larger scale ratio, so the image initially fills the available area and extends beyond it. Crop position provides four movement buttons, each changing the corresponding offset by five percentage points. Zoom ranges from 50% to 300%. Reducing it below 100% can reveal white space; increasing it enlarges the image and hides more of its edges.

Cover changes the placement of the embedded image. It does not delete the hidden pixels from the JPG, so it is unsuitable for permanently redacting private details. The separate Crop editor is not exposed on this JPG page. Use the preview to inspect the visible framing, especially after moving or rotating an image.

Stretch scales width and height independently to fill the available area, potentially distorting faces, circles, and text. Page margin ranges from 0 to 50 and is labeled px in the interface, but the converter passes that value directly as PDF points. For fixed paper it reduces the image area on every side; for Fit to image it adds space around the image and enlarges the page. Cover overflow is not a guaranteed blank margin.

How do you reorder and rotate a batch?

The thumbnail grid determines page order. Newly added files append to the existing list, so check the sequence before converting a multi-part form or receipt archive. Drag any thumbnail to its destination. Touch dragging has a 200-millisecond hold delay, and keyboard sorting is enabled through the thumbnail controls. The first thumbnail becomes the first page.

Each image has Rotate and Remove controls. Repeated rotation cycles through 0, 90, 180, and 270 degrees. The PDF engine draws the embedded photo with the selected rotation rather than rebuilding its pixels. Check the resulting PDF for sideways camera images: the conversion path does not include a separate EXIF-orientation normalization step, so an upright browser thumbnail alone is not a guarantee.

Does a PDF preserve the JPG, compress it, or make text searchable?

This converter reads the JPG bytes and passes them to pdf-lib's JPEG embedding function. It does not run an image compressor, sharpen the photo, or resample it for the chosen paper. Enlarging a small image on A3 therefore changes its displayed size without adding detail. Likewise, selecting a higher DPI does not improve the original photograph.

A photographed document remains an image in the PDF. This conversion performs no OCR and creates no searchable text layer. If an attachment must meet a size ceiling, reduce the source images with Image Compressor before returning here. For mixed image formats or additional image preparation options, use Images to PDF. To join existing PDF documents afterward, use Merge PDF.

What should you check before downloading or retrying?

The JPG page accepts JPEG MIME types or .jpg and .jpeg filenames. Other file types are skipped with a message; changing an extension does not convert the underlying file. Empty or unreadable JPEG data can fail when the PDF engine embeds it. If a batch fails, try the files individually to find the problematic source.

No explicit batch-count or source-size cap is implemented, but the source bytes, image previews, and output occupy browser memory. Start with a smaller batch if conversion fails on a memory-constrained device. The result shows page count and file size, includes an editable filename and Download button, and offers Back to editing for another conversion with revised settings.

Conversion runs locally using file bytes and browser-created blobs. The Content Security Policy permits connections only to this site; the conversion code contains no image-upload request. You can inspect the Network panel while converting to verify processing behavior. Download the generated file before closing the tab, and inspect page order, framing, orientation, and attachment size before submitting it.

How to Use JPG to PDF

  1. Choose JPG images or drag & drop

    Select .jpg or .jpeg files. Use + Add more to append images, drag thumbnails into page order, and use each image's Rotate or Remove control as needed.

  2. Page size

    Choose Fit to image and set Resolution, or choose a fixed size and set Orientation and Image fit. Adjust Page margin. For Cover, use Crop position and Zoom; with multiple images, Customize this image applies individual layout overrides.

  3. Convert 1 JPG to PDF

    Set the output filename and click Convert 1 JPG to PDF for one image. For multiple files, the button shows the count, such as Convert 3 JPGs to PDF.

  4. Download

    Click Download after conversion. Check the page count and file size shown in the result, or choose Back to editing to revise the layout and convert again.

Frequently Asked Questions