Add Page Numbers to PDFs Effortlessly
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

Preview and Download Your Numbered PDF Instantly
Anything inside {{…}} is a JavaScript expression. Available: pageNumber, pageIndex (position within the pages you selected) and totalPages. For example {{String(pageNumber).padStart(4, "0")}} gives 0001, 0002.
Single pages or ranges — 1-3,5. 1-* means "page 1 to the end". Leave blank for every page.
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.
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.

Customer Reviews
Trusted by businesses worldwide to generate millions of PDFs and images reliably.
See what our customers have to say
Jamie DearFounderWe are very grateful to Jacky and the team at APITemplate - their software has helped us to auto-generate high quality images for our student reports. It has been the perfect fit for us as we grow our Oxford summer school.
Alex DowdingVice SecretaryThe Wheelchair Football Association
We've successfully automated YouTube thumbnails and match event creation for our Powerchair Football league using your templates. It integrates with our Postgres database on retool.com, is expanding to include league table graphics and match results. Thanks to an AWS Inclusion and Diversity grant, we're enhancing our live-streaming workflow, further boosted by your product's automation capabilities. We're grateful for your excellent service and wanted to share our positive experience.
Nishitha DhanekulaCofounder /CTOAt askreferral.io, We are building referral networking platform for people to pitch and generate leads for different kinds of referrals, including, but not limited to job referrals, product referrals, funding referrals, realtor referrals etc. Having a vibrant social media community is crucial for our growth and APITemplate.io played crucial role in automating generation of digital posters for job postings, profile pitches, funding requests etc, to help us grow from 0 to 200K+ followers in LinkedIn in less than one year.
Danaé NicolasCTOWe've been using APITemplate.io to generate social images for our karting races and it's been a huge time-saver. The support team is super responsive and helpful - they quickly resolved an issue we encountered. We highly recommend this tool to anyone who needs a similar solution.
Ryan TurnbullIT ManagerAPITemplate.io is such an easy application to use. Simple, intuititive, and code free. At simplehuman, we render all our commercial invoices, dispatch notes, and multiple other templates. The ability to create multiple layouts, and group them into a logical container - makes our lives much simpler. This is a great tool to use, both affordable, and the support service turnaround time is second to none! Defintely worth the subscription!
Ron P.Product ManagerHad an issue with template implementation via Make and reached out for support. Within minutes, I got a response and was soon on a Zoom call resolving it. Despite the issue not being directly related to APITemplate.io, their team efficiently guided me to the right formatting. Many thanks!
Nicholas GertzProduct OwnerWe have been using the service daily in our application for a year and are very satisfied with the reliability. It meets all our requirements and requests for changes/improvements can be discussed directly with Jacky 1:1. Thanks and greetings from Germany
Lucas FridmanChief Product OfficerWe use APITemplate to generate key documentation we need to work with our industry partners. We are building a digital solution in an antiquated industry, which means we need to communicate data to our partners in the format that they are accustomed to (pdf forms). APITempate makes it easy for us to do this!
Jean-Paul HornPublisherWe love APITemplate.io for its simplicity and ease of use. Just setup once and "forget" about it due to its fabulous 3rd party integration. New features are regularly added, and reasonable custom requests are honoured within days.
Kevin FrickēAPITemplate.io is one of the best services I have worked with in a very, very long time. They are super responsive and a joy to work with. If you are struggling with PDF's, like I was, check 'em out!
Jacob MonashAutomation SpecialistWe run conferences with a number of speakers, each requiring an individual speaker profile. We used to create all of these profiles manually, but by incorporating APItemplate into our Zapier workflow, our team can generate a complete image with all of the speakers information in one click. Using the template editor is a bit of a learning curve, but the support team is very responsive and helpful.
George CooperAPITemplate.io is great. I love being able to quickly use HTML and CSS templates with dynamic variables to create documents. Support is also fast and responsive. Great vendor!
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:
- Template-based PDF generation: Create PDFs from predefined templates.
- HTML to PDF generation: Convert HTML content directly into PDF format.
- 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.






