# PDF Page Numbering Styles

Convert HTML to PDF with Roman, Arabic, or chapter-prefixed page numbers

> Canonical page: https://test.elysiatools.com/en/tools/pdf-page-numbering-styles

- **Category:** Document Tools

- **Keywords:** pdf, html, page numbers, roman, arabic, chapter, pagination

## Overview

Generate a PDF from HTML and stamp page numbers in the style you choose.

**Numbering styles:**
- Arabic or Roman numerals
- Chapter prefix with template support (use `{chapter}`)
- Optional total pages and custom prefix/suffix

**Placement:**
- Header or footer positions
- Custom edge offset and font size

## Inputs

- **HTML Content** (textarea): # Chapter One Write your HTML here...
- **Custom CSS** (textarea): /* Optional custom styles */
- **Page Size** (select)
- **Landscape** (checkbox)
- **Print Background** (checkbox)
- **Margin Top (mm)** (number)
- **Margin Bottom (mm)** (number)
- **Margin Left (mm)** (number)
- **Margin Right (mm)** (number)
- **Numbering Style** (select)
- **Start Page Number** (number)
- **Include Total Pages** (checkbox)
- **Chapter Prefix Template** (text): Chapter {chapter} -
- **Chapter Number** (number)
- **Label Prefix** (text): Page
- **Label Suffix** (text)
- **Number Position** (select)
- **Edge Offset (mm)** (number)
- **Number Font Size (pt)** (number)
- **Number Color** (color)
- **Wait Until** (select)
- **Extra Wait Time (ms)** (number)

## When to use

- When you need to generate professional reports or documentation from HTML templates.
- When you require specific pagination styles like Roman numerals for front matter or chapter-based numbering for technical manuals.
- When you need to add consistent headers or footers with page counts to your generated PDF documents.

## How it works

- Paste your HTML content and optional CSS into the editor to define your document structure and styling.
- Select your preferred numbering style, such as Arabic, Roman, or a custom chapter-prefixed template.
- Configure the placement, font size, and edge offsets for your page numbers in the header or footer.
- Click generate to render your HTML into a formatted PDF file with your chosen pagination settings.

## Use cases

- Generating academic papers or thesis documents with Roman numeral pagination for preliminary pages.
- Creating multi-chapter technical manuals where each page includes the chapter number for easier navigation.
- Producing professional business reports with branded headers and consistent footer page numbering.

## Frequently asked questions

### Can I use Roman numerals for page numbering?

Yes, you can select either uppercase or lowercase Roman numerals from the numbering style options.

### How do I include the total page count?

Simply enable the 'Include Total Pages' checkbox to display the current page number alongside the total count.

### Can I add a chapter prefix to my page numbers?

Yes, select the 'Chapter Prefix' style and use the template field to define your custom format, such as 'Chapter {chapter} - '.

### Where can I place the page numbers?

You can position page numbers in the header or footer, with alignment options for left, center, or right.

### Is it possible to start numbering from a page other than one?

Yes, you can set the 'Start Page Number' field to any integer to begin your pagination sequence from a specific value.

## Related tools

- [HTML to PDF (Precise Layout)](https://test.elysiatools.com/en/tools/html-to-pdf-precise): Render HTML/CSS to a PDF with precise headers, footers, and print settings
- [HTML to PDF Renderer](https://test.elysiatools.com/en/tools/html-to-pdf-renderer): Render a limited HTML subset into a PDF with a deterministic layout
- [HTML Mail to PDF](https://test.elysiatools.com/en/tools/libreoffice-html-mail-to-pdf): Render email HTML content to PDF with preserved basic formatting using Puppeteer
- [PDF Header/Footer Snippets](https://test.elysiatools.com/en/tools/pdf-header-footer-snippets): Convert HTML to PDF with reusable logo, title, and date snippets
- [PDF Table Layout Engine](https://test.elysiatools.com/en/tools/pdf-table-layout-engine): Render structured table data into a paginated PDF with repeating headers and zebra rows
- [PDF to HTML](https://test.elysiatools.com/en/tools/pdf-to-html): Convert PDF documents to HTML web pages with preserved formatting and structure
- [HTML/CSS to Print-Ready PDF](https://test.elysiatools.com/en/tools/pdf-typesetting-html-css-nojs-print): Typeset a multi-page, print-ready PDF straight from HTML and CSS: @page size/margins, running chapter headers, page counters, crop and registration marks, bleed.
- [Deep Research PDF to HTML Article](https://test.elysiatools.com/en/tools/deep-research-pdf-to-html-article): Convert a ChatGPT Deep Research PDF export into a standalone, reading-friendly HTML article — headings, reflowed paragraphs, display equations and every citation automatically linked to its source. No source list to paste: the citations are already inside the PDF.

## Samples

- [PDF Samples](https://test.elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10
- [Markdown Slide Deck Samples](https://test.elysiatools.com/en/samples/md-slide-deck-to-pdf): Remark/Marp style Markdown slide decks for testing PDF export layouts
- [Cypress E2E Testing Framework](https://test.elysiatools.com/en/samples/cypress-testing): Comprehensive Cypress end-to-end testing examples including test setup, page object models, API testing, visual regression testing, and advanced E2E patterns for modern web applications
- [HTML Viewer Samples](https://test.elysiatools.com/en/samples/html-viewer-samples): Sample HTML files (semantic page, form, landing page) for the in-browser HTML Viewer

## Related content

- [PDF Forms, Navigation, and Review Workflows](https://test.elysiatools.com/en/hubs/pdf-forms-navigation-review-workflows): Prepare fillable PDF forms, add internal navigation, mark review issues, style delivery pages, and verify signatures before handoff.
- [Print-Ready PDF Layout Workflows](https://test.elysiatools.com/en/hubs/print-pdf-layout-workflows): Convert HTML, Markdown, README, or plain text into polished PDFs with page templates, typography, headers, footers, numbering, TOC, columns, and direction checks.
