All tools
Page formatting

Add page numbers to a PDF

Number the pages of a PDF in the position and format you choose.

Spec sheet
  1. What it does

    Choose which pages to number and the number to start from. A custom format such as Page {n} is supported, and numbers can be padded to a fixed width for Bates stamping.

  2. How to use it

    1. Open a PDF and choose Add Page Numbers. 2. Set the position, the pages to number and the starting number. 3. Optional: enter a custom format such as Page {n}, or set Zero-pad Width (Bates Stamping) to get numbers like 001. 4. Run the tool.

  3. Automate it

    Use Add Page Numbers as a step in a pipeline. Pipelines run on the server on documents from a source such as S3 or SFTP, or from a watched folder on a self-hosted server.

    How Pipelines work

    Or call it from your own code: POST /api/v1/misc/add-page-numbers

    See the API

    Stirling also has an MCP server, which lets an AI assistant use Stirling PDF tools.

    AI and MCP
    Ask AI to walk you through setup
  4. Where it runs

    Stirling Cloud in your browser, the desktop app, or your own server.

Ready to edit your first PDF?

Free for individuals. Use it in your browser, install it on Windows, macOS or Linux, or self-host it with Docker.