Add Page Numbers to PDFs Effortlessly

Preview and Download Your Numbered PDF Instantly

This free tool adds page numbers to any PDF in seconds. Upload your PDF, choose where you want the page number to appear, set the font style and color to match your document, and preview the result before downloading. Whether you need to add a page number to a single PDF or apply PDF numbering across a multi-page documen

Click the button below or drag-and-drop the file here

Use JS expressions inside {{…}}. Available: pageNumber, pageIndex, totalPages.

Example Description
{{pageNumber}} Simple page number (1, 2, 3...)
Page {{pageNumber}} of {{totalPages}} Shows current page and total (Page 1 of 10)
{{String(pageNumber ).padStart( 4,'0')}} Zero-padded numbers (0001, 0002...)
Page {{pageIndex}} of {{totalPages}} Uses running index for selected pages only

Enter single pages or ranges (e.g. 1-3,5).
Leave blank to number all pages.

100%

How to Add Page Numbers to PDF in 3 Steps

1. Upload Your PDF

Click to select or drag and drop your PDF file into the tool — no sign-up or software needed.

2. Customize Your Page Numbers

Choose the position, font style, and color of your page numbers to match your document perfectly.

3. Preview & Download

Preview your numbered PDF instantly, then download it in seconds for free.

Why Use Our PDF Page Numbering Tool?

The simplest way to add page numbers to any PDF.

Lightning Fast

Add page numbers to your PDF in seconds. Upload, customize, preview, and download without any delays.

💯

100% Free

No hidden fees, no subscription required. Add page numbers to as many PDFs as you need, completely free.

🔒

Privacy First

Your PDF is processed securely in your browser and deleted after 2 hours. Nothing is stored or shared.

🎨

Full Customization

Control the position, font style, and color of your page numbers, so they match your document perfectly.

👁️

Live Preview Before Download

See exactly how your page numbers will look across every page before you download — no surprises.

📄

Works on Any PDF

Reports, contracts, books, and presentations — our tool adds clean page numbers to any PDF document.

Get started for FREE, No Creditcard required

Build Document Automation That Scales With APITemplate

APITemplate is an API-first platform that generates professional PDFs and images at scale from reusable templates, raw HTML, or URLs. Integrate via REST API, SDKs, or no-code tools like Zapier, Make, and n8n.

Create Document Templates with Visual Editor

Create stunning PDFs using our  WYSIWYG Template Editor. With its user-friendly interface, you can design templates visually — no coding required.

Combine your designs with JSON data to generate dynamic, fully-customized PDFs tailored to your needs. Perfect for invoices, reports, certificates, and more.

Convert HTML to PDF

Convert HTML to PDF using APITemplate.io’s powerful HTML Template Editor. Combine your HTML, CSS, and JavaScript skills with dynamic JSON data to create custom templates that deliver pixel-perfect PDFs.

Our PDF generation solution supports modern web technologies, enabling seamless integration for your automated workflows, reports, and more.

Get started for FREE, No Creditcard required

Customer Reviews

Trusted by businesses worldwide to generate millions of PDFs and images reliably.

See what our customers have to say

Frequently asked questions

What is a PDF page numbering tool?

A PDF page numbering tool is a free online tool that lets you add page numbers to any PDF directly in your browser. Simply upload your PDF, customize the position, font, and color, preview the result, and download.

What is the easiest way to add page numbers to a PDF?

The easiest way is to use a free online PDF numbering tool. Just upload your PDF, choose where you want the page number in the PDF to appear, set the font and color, preview, and download. Done in under a minute.

Can I choose where the page numbers appear on the page?

Yes. You can place the PDF page number at the top or bottom and align it to the left, center, or right, giving you full control over the PDF numbering layout.

Can I customize the font and color of the page numbers?

Yes. You can set the font style and color of your PDF page number to match the design and formatting of your document perfectly.

Is my PDF safe when using this tool?

Yes. Your PDF is processed securely and automatically deleted after 2 hours. Nothing is stored or shared on our servers.

Can I also merge or split my PDF before adding page numbers?

Yes. If you need to combine or split your PDF first, use our free Merge PDF or Split PDF tools, then add page numbers to your final document.

Can I add a watermark along with page numbers to my PDF?

Our Add Watermark to PDF tool handles watermarking separately. You can watermark your PDF first and then add page numbers, or the other way around.

What is APITemplate.io?

APITemplate.io is designed for generating PDF documents from reusable templates. It can be easily integrated with popular tools like Zapier, Airtable, Make.com, Bubble.io, n8n, UiPath, or directly via REST API, making it highly adaptable to various workflows.

There are three main ways to generate PDF documents using APITemplate.io:

  1. Template-based PDF generation: Create PDFs from predefined templates.
  2. HTML to PDF generation: Convert HTML content directly into PDF format.
  3. URL to PDF generation: Convert entire web pages to PDFs by simply providing their URLs.

The platform also supports custom CSS and JavaScript, allowing for advanced styling and customization. Its powerful template engine ensures that you can create complex documents efficiently, while the API Console enables you to preview and customize JSON data instantly.

In addition, APITemplate.io offers support for adding custom headers and footers, including page numbers and total page counts, making it an excellent choice for creating polished, professional PDF documents.

Related Free PDF Tools

Whatever comes next, compressing, merging, splitting, or converting APITempate has a free tool ready for it. Explore all free PDF tools and keep the work moving.

Still Managing PDFs Manually? It’s Time to Automate.

Use APITemplate to automate bulk invoices, reports, and certificates from reusable templates, raw HTML, or URLs. Integrate with Zapier, Make.com, n8n, or REST API.

Copyright © 2026 APITemplate.io