# PDF Signature

> Sign a PDF in the browser. Draw or type your signature, place it on any page, and download the signed file.

Free PDF signature tool. Draw your signature with a mouse or finger, or type your name in a script style, then drag-free position it on any page with sliders. The signature is drawn into the PDF in this browser. Nothing is uploaded.

- Page: https://benchline.fabwaseem.com/t/pdf-signature
- Runs: in the browser. Input stays on the device.
- Price: free, no account
- Input: A PDF, a drawn or typed signature, and a page with X, Y, and width placement.
- Output: The original PDF with the signature stamped onto the placed pages, as a download.
- Keywords: pdf signature, sign pdf, electronic signature, draw signature
- Updated: 2026-10-18
- Built by: Waseem Anjum (https://fabwaseem.com)

## How to use it

1. **Add the PDF.** Drop the PDF you want to sign. It stays in this browser.
2. **Create your signature.** Draw it on the pad, or type your name to render it in a script style.
3. **Place and download.** Pick a page, set X, Y, and width with the sliders, and download the signed PDF.

## Use it from an AI agent

MCP tool name: `sign_pdf`
MCP endpoint: https://benchline.fabwaseem.com/mcp (Streamable HTTP, no key)
HTTP: POST https://benchline.fabwaseem.com/api/v1/tools/pdf-signature with the input as the JSON body
This call fetches a public URL on the server. Private addresses are refused.

Stamp a PNG signature image onto one or more PDF pages at given positions (fractions of the page, x and y measured from the top-left, width as a fraction of page width). The signature keeps its aspect ratio. Returns the signed PDF as base64.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "properties": {
        "url": {
          "description": "Public http or https URL. Private and local addresses are refused.",
          "type": "string"
        },
        "data": {
          "description": "Base64 bytes or a data URI. Decoded size is capped at 10 MB.",
          "type": "string"
        },
        "mimeType": {
          "description": "MIME type when you know it.",
          "type": "string"
        },
        "filename": {
          "description": "File name, including the extension when you have one.",
          "type": "string"
        },
        "name": {
          "default": "document.pdf",
          "type": "string"
        },
        "pages": {
          "default": "",
          "description": "Pages to keep, such as 1-3,5. Blank keeps every page.",
          "type": "string"
        }
      },
      "required": [
        "name",
        "pages"
      ],
      "additionalProperties": false,
      "description": "The PDF to sign."
    },
    "signature": {
      "type": "object",
      "properties": {
        "url": {
          "description": "Public http or https URL. Private and local addresses are refused.",
          "type": "string"
        },
        "data": {
          "description": "Base64 bytes or a data URI. Decoded size is capped at 10 MB.",
          "type": "string"
        },
        "mimeType": {
          "description": "MIME type when you know it.",
          "type": "string"
        },
        "filename": {
          "description": "File name, including the extension when you have one.",
          "type": "string"
        }
      },
      "additionalProperties": false,
      "description": "The signature as a PNG image, base64 or a public URL."
    },
    "placements": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991,
            "description": "1-based page number."
          },
          "x": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Horizontal position from the left, as a fraction of page width."
          },
          "y": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Vertical position from the top, as a fraction of page height."
          },
          "width": {
            "type": "number",
            "minimum": 0.05,
            "maximum": 1,
            "description": "Signature width, as a fraction of page width."
          }
        },
        "required": [
          "page",
          "x",
          "y",
          "width"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "file",
    "signature",
    "placements"
  ],
  "additionalProperties": false
}
```

### Example tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sign_pdf",
    "arguments": {
      "file": {
        "url": "https://example.com/file",
        "name": "document.pdf",
        "pages": ""
      },
      "signature": {
        "url": "https://example.com/file"
      },
      "placements": [
        {
          "page": 1,
          "x": 1,
          "y": 1,
          "width": 1
        }
      ]
    }
  }
}
```

Setup for Claude, Cursor, and VS Code: https://benchline.fabwaseem.com/mcp/guide

## Questions

### Are my PDF and signature uploaded?

No. Everything runs locally in the browser, nothing is uploaded. The PDF, your signature, and the signed output never leave this tab.

### How do I create my signature?

Draw with your mouse, trackpad, or finger on the signature pad, or type your name to render it in a script style. You can clear it and redo it as many times as you like.

### How do I position the signature?

Pick a page number, then use the X, Y, and width sliders. The preview shows exactly where the signature lands before you download.

### Is the signature legally binding?

The tool stamps your drawn or typed signature into the PDF as an image. Whether that counts as a signature depends on your country's rules and the agreement — check before relying on it.

## Related tools

- [Merge PDF](https://benchline.fabwaseem.com/t/pdf-merge): Combine PDFs in the browser. Reorder them, keep a page range from each file, and download one document.
- [Protect PDF](https://benchline.fabwaseem.com/t/pdf-protect-unlock): Add an AES password, or unlock a PDF when you already know the password.
- [Split PDF](https://benchline.fabwaseem.com/t/pdf-split): Extract a page range, or split a PDF into single pages or chunks, then download a PDF or a ZIP.
