Number PDF Pages Without Uploading (Private, Free) [2026]
For theses, legal briefs, contracts, and confidential reports, uploading to a third-party server to add page numbers is not acceptable. SammaPix runs the entire process in your browser β no upload, no server, no signup β with full control over start number, format, and position.

Table of Contents
The privacy problem with online PDF numbering tools
Search for "add page numbers to PDF online" and you will find dozens of tools that do the job. The problem is that almost all of them require you to upload your file to their server. Your PDF goes across the internet, gets processed on hardware you do not control, and comes back numbered. The service promises to delete it after a period.
For a recipe PDF or a travel itinerary, this is a trivial concern. For the documents that most commonly need page numbers β academic theses, legal briefs, medical reports, financial forecasts, and draft contracts β it is not. These documents may contain unpublished research, privileged communications, protected health information, or commercially sensitive terms. Uploading them, even briefly, creates risk that cannot be unrolled.
I built SammaPix PDF Page Numbers to eliminate this problem. The tool runs the entire numbering process inside your browser using pdf-lib β a mature, open-source JavaScript library for reading and writing PDFs. No server is involved at any stage.
The chain-of-custody problem
When you upload a confidential PDF to an online service, you create a chain-of-custody question that cannot be easily answered: who processed the file, was it cached on a CDN, did it pass through a logging system, could the service's staff access it, and was the deletion actually performed? These are not hypothetical concerns β they are exactly the questions that legal teams, IRB reviewers, and institutional compliance offices raise when they discover staff have used consumer web services to process sensitive documents.
Running the numbering in your own browser means the chain of custody is trivially short: the file is on your device, processed by your browser, and the output is on your device. There is nothing else to audit.
How browser-based PDF numbering works technically
Understanding the technical mechanism explains both why this works and why the results are better than alternatives like printing to PDF from Word (which destroys the original PDF structure). Here is what happens when you click Add Page Numbers:
- FileReader API loads the PDF into browser memory. The FileReader API is a standard browser API that reads local files without any network access. The PDF bytes are loaded into an ArrayBuffer in memory.
- pdf-lib parses the PDF structure. The library traverses the PDF's cross-reference table, page tree, and object dictionary. It builds an in-memory representation of every page, including each page's dimensions (MediaBox) and its content streams.
- For each page, a new content stream is appended. pdf-lib adds a content stream that draws the page number as a text object at the calculated position. The position is computed from each page's MediaBox dimensions, so numbers are correctly placed relative to the actual page size regardless of whether the document mixes page sizes.
- The text is written as real vector text, not an image. The content stream uses PDF text operators (BT ... ET) with font references and position coordinates. This is the same way the original body text of the document was written into the PDF. The numbers are real text β selectable, searchable, infinitely scalable without pixelation.
- The modified PDF is serialized and downloaded. pdf-lib produces the output PDF as a Uint8Array. A Blob is created and downloaded via a
blob:URL. No network request is made at any point during this step.
The critical distinction from rasterization tools: pdf-lib never converts the PDF pages to images. Everything operates at the PDF data structure level. The original content β fonts, text streams, images, vector graphics, hyperlinks, form fields β is preserved byte-for-byte. The only addition is the new page-number content stream on each page.
Custom start number: the feature professionals actually need
Most page-numbering tools only offer one option: start at 1. This is fine for standalone documents. It is completely wrong for documents that are part of a larger sequence. The custom start number field is the feature that makes this tool genuinely useful for professional workflows.
Thesis and dissertation assembly workflow
Academic theses are commonly written in separate chapter documents and assembled into a single PDF only at the end. If you are working in this way and need to share an individual chapter for advisor review β with correct page numbers β you need to set the start number to whatever page that chapter begins on in the full document.
Example: your full thesis will run to 214 pages. Chapter 3 covers pages 47 to 89. Upload chapter 3 as a standalone PDF, set start number to 47, and the numbering on page 1 of that PDF will read 47. When assembled with the other chapters, the numbers will match perfectly.
Legal brief and court filing workflow
Legal filings frequently consist of a main brief plus multiple appendices, each submitted as separate PDFs but paginated continuously. The main brief runs pages 1 to 45. Appendix A runs pages 46 to 58. Appendix B runs pages 59 to 67. Each appendix PDF is numbered independently with its correct start number, so any page reference in the brief or the appendix is unambiguous regardless of which section the reader is looking at.
Corporate report assembly
Annual reports, audit findings, and due diligence packages are often assembled from sections contributed by different teams. Each team exports their section as a PDF. Before final assembly, each section PDF can be numbered with the correct start number so that the final merged document has consistent pagination matching the table of contents β which is prepared separately with knowledge of how many pages each section runs.
| Use case | PDF uploaded | Start number to set |
|---|---|---|
| Thesis chapter 3 (pages 47β89 in full doc) | Chapter 3 PDF only | 47 |
| Legal Appendix A (continues from 45-page brief) | Appendix A PDF only | 46 |
| Contract addendum (follows 22-page main contract) | Addendum PDF only | 23 |
| Standalone document | The complete PDF | 1 (default) |
Choosing formats and positions for academic, legal, and business documents
Different document types have different conventions. Here is a practical guide to choosing the right combination:
Academic documents (theses, dissertations, journal submissions)
The majority of academic style guides (APA 7th edition, MLA 9th edition, Chicago 17th edition) place page numbers in the header at the top right or in the footer at the bottom center. APA specifically requires the running head and page number in the top right for manuscripts. Chicago-style papers typically use bottom-center. Check your institution's specific thesis formatting requirements β many universities publish a style guide that specifies exact position and format.
Format: most academic submissions use the plain number format. The Page N of N format is increasingly common for theses where the committee wants to verify completeness.
Legal documents (briefs, filings, contracts)
Court rules vary by jurisdiction. Most US federal courts require page numbers at the bottom center or bottom right. The Page N of N format is explicitly required in some jurisdictions for certain filing types. Review the relevant court's local rules or the style requirements of the contracting party. For contracts, bottom right is a common professional convention that leaves the document's header area clean for the party's letterhead.
Business reports and proposals
Business documents often have branded headers at the top. Place page numbers at the bottom β center or right β to avoid overlap. The current/total format (e.g., 3 / 12) is popular for proposals and pitch decks because it signals to the reader how much remains without requiring them to scroll to the end.
Number your PDF pages privately β no upload
Custom start number for thesis chapters, legal appendices, and report sections. Six positions, three formats. File never leaves your device. Free.
Open PDF Page Numbers, FreeHow to number PDF pages without uploading, step by step
The full process takes under a minute:
- Check for modification restrictions. If the PDF was generated by a legal service, form platform, or e-signature tool, it may have owner-password restrictions that prevent modification. Try the tool and it will let you know. If restrictions are present, remove them first using PDF Unlock β also in-browser, no upload.
- Go to sammapix.com/tools/pdf-page-numbers in Chrome, Safari, Firefox, or Edge. No account required.
- Drop your PDF onto the dropzone. The file loads into browser memory. Nothing is transmitted.
- Set the start number. The default is 1. Change it if this PDF is part of a larger sequence.
- Choose position and format. Refer to the guidance above for academic, legal, and business conventions.
- Adjust font size if needed. The default works for standard A4/letter documents.
- Click Add Page Numbers. pdf-lib processes the file in memory. Seconds for most documents.
- Download and verify. Open the downloaded PDF in any viewer. Select a page number β it highlights and copies as text, confirming it is a vector text object, not an image.
Why printing to PDF from Word is not the right approach
A common workaround is to open the PDF in Word (which converts it), add page numbers in Word, then print back to PDF. This approach has significant problems:
- Layout destruction. Word's PDF import is a conversion, not a lossless read. Tables shift, fonts substitute, images reflow, and text spacing changes. For complex documents β multi-column layouts, footnotes, legal formatting β the result is often unusable.
- Hyperlink breakage. Internal PDF links (table of contents links, cross-references) frequently break during the Word import and re-export cycle.
- Font substitution. If the PDF uses embedded fonts that Word does not have, Word substitutes them with fallback fonts, changing the visual appearance and potentially the line breaks of the document.
- Color profile changes. PDFs using CMYK or ICC color profiles can have their colors shifted when round-tripped through Word's RGB-centric workflow.
- Metadata loss. Custom metadata fields, document properties, and PDF/A compliance settings are typically stripped during the Word round-trip.
pdf-lib adds page numbers without any of these problems because it operates on the PDF at the data structure level. It reads the existing objects and appends new ones. No conversion, no round-trip, no layout engine involved.
Browser-based vs upload-based PDF numbering: privacy-first comparison
Here is an honest comparison across dimensions that matter for privacy-sensitive documents:
| Dimension | Upload-based tools (iLovePDF, Smallpdf) | Browser-based (SammaPix, pdf-lib) |
|---|---|---|
| File transmission | File leaves your device. Transmitted over internet to third-party server. | File never leaves your device. No transmission at any point. |
| Chain of custody | Unverifiable. You trust the service's security and deletion claims. | Fully auditable. Network inspector shows zero outgoing requests. |
| Custom start number | Available on some paid plans. Often locked behind subscription. | Always available. Free. |
| Page number text type | Varies by tool. Some rasterize, some write vector text. | Always vector text. Selectable, searchable, sharp at any zoom. |
| Original document preserved | Usually, but some tools re-export the PDF, altering fonts or images. | Yes. Only a new content layer is added. Existing content untouched. |
| Signup required | Often required. Creates an account with a record of your file. | No account required. No record of your file. |
| Suitable for confidential documents | No β file leaves your control. | Yes β file never leaves your device. |
How to verify no upload happens
For a privacy claim this important, you should not take my word for it. Here is how to verify it in under two minutes using your browser's built-in tools:
- Open DevTools. Press F12 (Windows/Linux) or Command Option I (Mac). On Safari, enable the Develop menu in Settings β Advanced first.
- Go to the Network tab and clear it. Click the Network panel. Use the clear button to remove any existing requests. This gives you a clean log to watch.
- Drop your PDF and run the tool. Watch the Network panel as you drop the PDF, configure the settings, click Add Page Numbers, and click Download.
- Observe the results. You will see requests for JavaScript, CSS, and font assets when the page first loads. During numbering and download, you will see zero outgoing requests. No request carries your PDF bytes anywhere.
This verification method is the same one used by security researchers and compliance auditors to confirm that a tool genuinely processes data locally. It is conclusive: if no bytes of your file appear in outgoing requests, the file never left your device.
Your confidential PDF stays on your device
No upload, no account, no server. Custom start number for thesis chapters, legal appendices, and report sections. Vector text page numbers. Free.
Other browser-based PDF tools for document workflow
SammaPix offers a complete suite of browser-based PDF tools. All run in your browser with no upload. Here is how they fit into a typical document preparation workflow:
- PDF Page Numbers: add page numbers β six positions, three formats, custom start number. Vector text. No upload.
- PDF Unlock: remove modification and copy restrictions before numbering. See the full guide at Unlock a PDF online without uploading it.
- PDF Merge: combine sections before adding continuous page numbers to the merged whole.
- PDF Split: extract the relevant pages before numbering a section, if working with a larger source document.
- PDF Compress: reduce the file size of the final numbered document before sending. See Compress a PDF online without uploading it.
- PDF Rotate: correct page orientation before numbering to ensure numbers appear on the right edge of each page.
Complete private PDF workflow β all in-browser
Number, unlock, compress, split, merge, and rotate PDFs without uploading them anywhere. All tools run locally via pdf-lib. No server. No signup. No watermark.
FAQ
Is there a way to number PDF pages without uploading the file anywhere?
Yes. SammaPix PDF Page Numbers runs the entire numbering process inside your browser using pdf-lib, an open-source JavaScript library for reading and writing PDFs. When you drop your PDF into the tool, the file is read via the browser's FileReader API and stays in browser memory throughout. pdf-lib writes the page numbers directly into the PDF's content streams, and the output is downloaded as a blob URL β no network request carries your file at any point. You can verify this by watching the Network tab in browser DevTools (F12) while the tool runs.
Why would I need to number PDF pages without uploading β is privacy really a concern?
For many documents the privacy concern is real and legally significant. Theses and dissertations often contain unpublished research. Legal briefs contain privileged attorney-client information. Medical reports contain protected health data. Financial reports contain confidential business figures. Contracts contain terms that parties have not yet disclosed. Uploading any of these to a third-party server β even one that promises deletion after an hour β creates a chain of custody problem. You have no way to verify that the file was deleted, that it was not cached in a CDN, or that it was not accessed by the service's staff or systems. Running the numbering in your own browser eliminates this risk entirely.
What does 'custom start number' mean and when do I need it?
A custom start number lets you set the page number that appears on the first page of the PDF to any value you choose, rather than always starting at 1. You need this whenever the PDF is part of a larger document sequence. Common cases: a thesis chapter 3 whose pages run 47 to 89 in the full document; a legal appendix that continues pagination from the main brief; a contract addendum whose pages follow immediately after the main contract; a report section assembled from a separate file but meant to show continuous numbering when combined with earlier sections. Without a custom start number feature, you would have to add numbers to the entire assembled document at once, which is not always possible when sections arrive from different contributors.
Does numbering a PDF page damage or change the original content?
No. pdf-lib adds page numbers by writing a new content layer on top of each page β specifically, a new content stream object in the PDF's page dictionary. The original content streams (text, images, fonts, vector graphics, links, form fields) are left completely untouched. The page numbers are additive only. The file size increases by a negligible amount β a few kilobytes for the font embedding and text objects across the entire document, regardless of how many pages it has.
What are the available numbering formats and which should I use for academic submissions?
The tool supports three formats. Plain number shows just the number: 1, 2, 3. This is the standard format for most documents and is used in APA, MLA, and Chicago style guides for body pages. Current of total shows both numbers: 1 / 47, 2 / 47. This is useful for documents where the reader benefits from knowing the total page count β meeting handouts, legal submissions, and proposal decks. Page N of N shows the written-out version: Page 1 of 47, Page 2 of 47. Some academic institutions and courts specifically require this format in their submission guidelines. Check your institution's or court's style guide to confirm which format is expected before numbering.
Can I use this tool on a PDF with existing restrictions?
If the PDF has modification restrictions (owner-password restrictions that prevent editing), you need to remove those restrictions first before adding page numbers. Use the SammaPix PDF Unlock tool to remove the restrictions in your browser, then bring the unlocked PDF into the PDF Page Numbers tool. Both steps run entirely in your browser with no upload. If the PDF requires a password to open (user-password encryption), you will need to enter the correct password in a PDF viewer and export without a password before numbering.
What is the difference between adding page numbers in a browser tool versus printing to PDF in Word?
Printing to PDF from Word or another word processor destroys the original PDF structure. The PDF is converted to a raster image (or at best re-rendered as a new vector document), which strips the original text selectability, breaks live hyperlinks, changes font rendering, alters the color profile, and often changes the file size dramatically. Browser-based numbering with pdf-lib adds numbers to the existing PDF without touching any of the existing content. Links remain active, text remains selectable, fonts are unchanged, and the document looks identical to the original except for the added numbers.