# WebP to PDF

- Human page: https://happytails.ai/en/pdf-tools/webp-to-pdf/
- Markdown: https://happytails.ai/en/pdf-tools/webp-to-pdf.md
- Structured JSON: https://happytails.ai/agents/en/pdf-tools/webp-to-pdf/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `webp-to-pdf` |
| Category | pdf-tools |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Use the visible action or interactive controls. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

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.

### Inputs and settings

No free-text input is required. Use the file inputs and/or settings below.

Accepted browser files: `.jpg,.jpeg,.png,.webp`. Multiple files are supported.

Browser file-input limit: 104857600 bytes in total. HTTP limits can differ.

| Setting | Meaning | Control type | Default | Constraints |
| --- | --- | --- | --- | --- |
| `pageSize` | Page size | select | "Original" | Allowed: Original, A4, Letter |
| `orientation` | Orientation | select | "Auto" | Allowed: Auto, Portrait, Landscape |
| `margin` | Margins (mm) | select | "0" | Allowed: 0, 10, 20 |

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Choose static frame for animation explicitly; background and page layout controls.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "webp-to-pdf",
  "category": "pdf-tools",
  "built": true,
  "requirements": "Choose static frame for animation explicitly; background and page layout controls.",
  "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.",
      "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 WebP images together in a PDF document.

How can we improve this tool?

Report a problem or share an idea.

Please leave out private information. Your message and the tool name go to our team via PostHog.

### How to use WEBP 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

- [Merge PDF](https://happytails.ai/en/pdf-tools/merge-pdf/) ([Markdown](https://happytails.ai/en/pdf-tools/merge-pdf.md))

- [Split PDF](https://happytails.ai/en/pdf-tools/split-pdf/) ([Markdown](https://happytails.ai/en/pdf-tools/split-pdf.md))

- [Extract pages](https://happytails.ai/en/pdf-tools/extract-pages/) ([Markdown](https://happytails.ai/en/pdf-tools/extract-pages.md))

## What to expect

Combine WEBP 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.
