happytails.ai

JPG to PDF

Open JPG to PDF on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.

Tool capabilities

{
  "id": "jpg-to-pdf",
  "category": "pdf-tools",
  "built": true,
  "requirements": "Page dimensions, margins, orientation and input order; handle EXIF orientation.",
  "implementation": {
    "fields": [
      {
        "key": "pageSize",
        "label": "Page size",
        "value": "Original",
        "type": "select",
        "values": [
          "Original",
          "A4",
          "Letter"
        ],
        "help": "Images fit inside the page without cropping or stretching."
      },
      {
        "key": "orientation",
        "label": "Orientation",
        "value": "Auto",
        "type": "select",
        "values": [
          "Auto",
          "Portrait",
          "Landscape"
        ],
        "help": "Auto follows each image. Portrait and Landscape set the page, not the image."
      },
      {
        "key": "margin",
        "label": "Margins (mm)",
        "value": "0",
        "type": "select",
        "values": [
          "0",
          "10",
          "20"
        ]
      }
    ],
    "files": true,
    "input": false,
    "multiple": true,
    "accept": ".jpg,.jpeg,.png,.webp",
    "maxFileBytes": 104857600,
    "deferImagePreview": true,
    "note": "Runs in your browser. Up to 50 still JPEG, PNG or WebP images, 20 MiB each and 100 MiB total. Maximum 40 megapixels per image and 200 megapixels total. Images fit without cropping or stretching. Original size uses 96 pixels per inch; margins add space around it. Standard JPEG data stays compressed and can retain embedded metadata. Other images are normalized to RGB PNG; transparency is preserved. Animated images are not supported.",
    "experience": {
      "automatic": false,
      "single": false,
      "inputMaxLength": 1000000,
      "inputMode": "text",
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Up to 1,000,000 characters. Review the settings before running.",
      "helpParts": [
        "Up to 1,000,000 characters.",
        "Review the settings before running."
      ],
      "action": "Convert file"
    },
    "mode": "explicit",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}

Page guide

Put your JPG images together in one PDF.

How to use JPG to PDF
  1. Choose still JPEG, PNG or WebP images. Use the arrows to arrange their page order.
  2. Choose Original, A4 or Letter pages, orientation and margins. Then select Create PDF.
  3. Check the page preview and download your PDF. Continue to reorder or compress it if needed.

Useful next steps

How JPG to PDF works

Add up to 50 still JPEG, PNG or WebP images, arrange their order, and Happytails.ai builds one PDF in your browser with one image per page. Choose Original, A4 or Letter pages, Auto, Portrait or Landscape orientation, and 0, 10 or 20 mm margins. Images are scaled to fit without cropping or stretching, and Original size treats 96 pixels as one inch. Each image can be up to 20 MiB and 40 megapixels, with 100 MiB and 200 megapixels in total.

Before you start

Put your images in the page order you want and decide whether you need a standard paper size for printing or the Original size for on-screen viewing.

A worked example

A 1600 x 1200 pixel JPG at Original size becomes a 1200 x 900 point page, which is 16.67 x 12.5 inches. With A4, Auto and 10 mm margins, the same image gets a landscape A4 page and is drawn 718.1 x 538.6 points, centered.

What to expect

Combine JPG images into a PDF. Arrange your images in page order, then choose Original, A4 or Letter pages, orientation and margins. Images fit without cropping or stretching. Preview the exported PDF before downloading. Processing stays in your browser and your original files are unchanged.

Common questions

Does converting JPG to PDF reduce image quality?

Standard JPEG files are placed in the PDF without recompression, so their quality is unchanged. PNG, WebP and some JPEGs, such as CMYK files or ones with an embedded color profile, are converted to RGB PNG data, which is lossless. Transparency in PNG and WebP images is kept.

What does Auto orientation do?

Auto gives a landscape page to wider images and a portrait page to others, page by page. Portrait or Landscape forces every page the same way, and the image is scaled down to fit inside it rather than rotated.

Which page size should I pick?

Pick A4 (210 x 297 mm) or Letter (8.5 x 11 inches) if you plan to print or submit the PDF on standard paper. Pick Original to make each page match its image at 96 pixels per inch, with any margin added around it.

Will the PDF contain my photo's metadata?

Possibly. Standard JPEG data is embedded as is, so EXIF details such as camera or location data can remain inside the PDF. Images that are normalized to PNG lose that metadata. File names are not written into the PDF metadata.

Why are some of my images rejected?

Animated images, files over 20 MiB, images above 40 megapixels or 16,384 pixels on a side, and selections over 50 images, 100 MiB or 200 megapixels in total are refused. Export a still frame or a smaller copy and try again.