🐱We're live on Product Hunt today!Support our launch→
Toolhast

Numéroter PDF

Insérez des numéros de page personnalisés dans l'en-tête ou le pied de page de vos PDF.

Choose a PDF file or drag & drop it here

Add page numbers, headers, and footers with custom positioning and cover-page skipping

100% In-Browser Privacy — Files never leave your device

Comment utiliser: Numéroter PDF

  1. Drop your PDF document into the pagination workspace or browse your local files to load your multi-page document.

  2. Select a numbering format like 'Page X of Y' or '1 / Y', or enter a custom pattern with dynamic tokens.

  3. Pick a position (Bottom Right, Bottom Center, or Top Right), customize the font size, and set cover-page skipping.

  4. Click 'Add Page Numbers & Save' to compile your paginated document and download your new PDF instantly with zero quality loss.

Exemples

Entrée
Academic Master's Thesis: 45-page draft requiring formal 'Page X of Y' footer notation starting after title cover
Sortie
Page 1 (cover) left unnumbered; pages 2 through 45 stamped at bottom-center with 'Page 1 of 44' through 'Page 44 of 44'

Non-destructive vector text injection; all text remains 100% searchable and selectable with zero file bloat.

Entrée
Legal Evidence Appendix: 18-page exhibit file needing Bates-style indexing in the top-right header
Sortie
Custom pattern 'Exhibit A - Page {n}' stamped at top-right in Courier 10pt with 36pt margins across all pages

100% private in-browser WebAssembly processing; confidential litigation files never touch an external server.

Comprehensive Technical Guide to PDF Document Pagination & ISO 32000 Architecture

In professional legal practice, academic research submission, corporate annual reporting, and technical documentation, consistent document pagination is indispensable. Unpaginated multi-page documents create ambiguities during cross-examination in courtrooms, violate strict university dissertation submission guidelines, and lead to confusion when printed physical copies are shuffled or referenced during board meetings.

However, injecting headers and footers into compiled Portable Document Format files requires calculating precise geometric boundaries defined within ISO 32000 page specifications. Toolhast provides an enterprise-grade client-side pagination utility that draws native vector glyphs directly into page content streams with mathematical precision, zero rasterization artifacts, and complete zero-upload in-browser privacy.

1. Inside PDF Geometry: The MediaBox, CropBox, and Coordinate Spaces

In the PDF specification, every page dictionary specifies geometric boundary rectangles that define the printable and viewable canvas areas. The primary rectangle is designated as the /MediaBox:

<<
  /Type /Page
  /MediaBox [ 0 0 612 792 ]        % Standard US Letter: 8.5 × 11 inches at 72 pt/in
  /CropBox [ 0 0 612 792 ]         % Visible viewport boundary
  /Contents 14 0 R
>>

In standard PostScript coordinates, 1 user unit equals 1/72 of an inch. A standard US Letter page measures 612 × 792 points, while an ISO A4 page measures 595.28 × 841.89 points. Crucially, the origin (0, 0) is situated at the lower-left corner of the canvas, with positive Y extending upwards. To place a page number in the bottom-right footer with a 36-point (0.5 inch) margin, the anchor coordinates must be computed as:

x = PageWidth − Margin − TextWidth
y = Margin

Toolhast interrogates the exact dimensions of each individual page dynamically, ensuring that mixed-orientation or mixed-size documents (such as portrait letter pages combined with landscape 11×17 fold-out engineering tables) receive correctly positioned numbers regardless of page variations.

2. Non-Destructive Vector Pointers vs. Destructive Canvas Re-Rasterization

Inferior web tools frequently paginate documents by converting each page into an HTML5 raster canvas snapshot, drawing page numbers onto the bitmap image, and assembling a new PDF from the compressed JPEGs. This destructive workflow degrades documents severely:

  • Loss of Text Selectability: Text is converted to flat image pixels, eliminating the ability to copy text, select paragraphs, or search keywords.
  • Massive File Size Inflation: Lightweight vector pages containing compressed fonts inflate from 50 KB per page to 1 MB+ per page, bloating file size by 1000% to 3000%.
  • Destruction of Metadata & Bookmarks: Internal table of contents links, PDF outlines, digital signatures, and form fields are discarded completely.

Toolhast preserves the original document structure intact. Our engine reads the existing content stream array, appends a dedicated vector drawing operator block containing standard Type 1 PostScript font programs (Helvetica, Times-Roman, or Courier), and outputs a pristine, ultra-compact document with zero loss of quality.

3. Dynamic Glyph Width Measurement & String Denominators

Unlike fixed-width monospace typesetting, proportional fonts such as Helvetica and Times New Roman assign variable advance widths to individual glyphs. For instance, the digit “1” requires significantly less horizontal advance width than the digit “8” or the uppercase character “W”.

To achieve optical alignment when centering footers or right-aligning headers, Toolhast queries the font program's intrinsic metric tables via font.widthOfTextAtSize(label, fontSize) for every single generated string. As page numbers advance from single digits (“Page 9 of 100”) to double digits (“Page 10 of 100”), the anchor coordinate shifts leftward by the exact pixel delta, preventing ragged, shifting margins when flipping through pages.

4. Academic Publishing Guidelines & Legal Bates Indexing Standards

Different professional disciplines enforce distinct pagination conventions:

Field / ContextRecommended PositionStandard FormatCover Page Rule
Academic Dissertations (APA / Chicago)Bottom Center or Top Right1, 2, 3... or Page X of YSkip Title Cover (Counted or Uncounted)
Corporate Annual ReportsBottom RightPage X of YSkip Executive Cover & TOC
Legal Litigation & DiscoveryBottom RightEXHIBIT-0001, Bates #{n}Continuous Sequential Numbering
Technical Standard ManualsTop Right or Bottom CenterX / YSkip Cover Page

Toolhast accommodates all institutional requirements: the Skip first page toggle automatically suppresses numbering on cover artwork, while the Start numbering at input enables seamless integration with preceding document volumes.

5. Zero-Upload Security & Legal Compliance Standards

Legal litigation filings, proprietary patent specifications, financial tax audits, and medical research monographs frequently contain highly confidential intellectual property that cannot be exposed to external cloud servers under GDPR, CCPA, or HIPAA data residency mandates.

Toolhast executes all document parsing, canvas rendering, vector font layout, and serialization locally within your browser's private memory sandbox. Your sensitive files are never uploaded, stored, or indexed on remote servers, providing 100% confidentiality alongside instant processing speed.

Foire aux questions

How do I add page numbers to my PDF using Toolhast?

Upload your multi-page PDF document into the workspace. Select your preferred numbering format such as 'Page 1 of 12' or '1 / 12', pick a header or footer position, customize the font size and margins, and click 'Add Page Numbers & Save' to instantly download your perfectly paginated document.

Can I skip numbering on the cover page of my document?

Yes. Simply check the 'Skip first page (Cover page)' checkbox. Toolhast automatically skips your executive title or cover sheet and begins numbering sequentially on page two. The denominator and total page count automatically adjust to reflect the actual number of paginated pages across your document.

Can I start numbering from a number other than one?

Yes. In the 'Start numbering at' input field, enter any starting integer such as 5, 10, or 100. This feature is essential when formatting multi-part dissertations, legal appendixes, or corporate annual reports where prior chapters or introductory executive summaries were numbered separately in different files.

Will adding page numbers reduce text sharpness or degrade document quality?

No. Toolhast uses native vector text injection powered by client-side WebAssembly and `pdf-lib`. Rather than re-compressing pages into blurry bitmap canvas images, our engine injects vector character operators directly into existing content streams. Your underlying text, typography, vector charts, and hyperlinks remain 100% crisp and uncompressed.

What positions are available for header and footer page numbers?

Toolhast provides six standard header and footer positions: Bottom Right, Bottom Center, Bottom Left, Top Right, Top Center, and Top Left. Bottom Right is standard for commercial and legal documents, while Bottom Center is standard for academic dissertations, monographs, and formal publishing guidelines.

Are my confidential academic, legal, or financial documents private here?

Yes, 100%. Toolhast executes all font embedding, coordinate mathematics, and PDF stream serialization strictly within your browser's local sandbox memory. Your sensitive research papers, legal briefs, tax records, and business agreements are never uploaded, stored, or transmitted to external servers or third-party cloud data centers.

  • Compresser PDF

    Réduisez la taille de vos fichiers PDF sans perte visible de lisibilité. 100% côté client.

  • Filigrane PDF

    Ajoutez un filigrane texte ou image à vos fichiers PDF avec réglage d'opacité et de position.

  • Organiser PDF

    Réorganisez, dupliquez, faites pivoter et supprimez des pages PDF avec aperçu visuel.

Parcourir tous les outils Outils PDF

Privé : cet outil s'exécute dans votre navigateur. Rien de ce que vous tapez n'est envoyé.

Dernière mise à jour