# PDF Section & TOC Generator (PDF章节目录生成器)

Build a PDF with a generated table of contents and section placeholders

> Canonical page: https://elysiatools.com/en/tools/pdf-section-toc-generator

- **Category:** Document Tools

- **Keywords:** pdf, toc, table of contents, sections, document, 目录, 章节

## Overview

Generate a PDF with a clean table of contents and section pages.

**Features:**
- Parse sections with page counts
- TOC with leader styles
- Optional page numbers for sections
- Customizable typography and margins

## Inputs

- **Sections List** (textarea): Section title | pages
- **TOC Title** (text)
- **Start Page Number** (number)
- **Page Size** (select)
- **Orientation** (select)
- **Top Margin (pt)** (number)
- **Bottom Margin (pt)** (number)
- **Left Margin (pt)** (number)
- **Right Margin (pt)** (number)
- **TOC Title Size** (number)
- **TOC Entry Size** (number)
- **Section Title Size** (number)
- **Show Leaders** (checkbox)
- **Leader Style** (select)
- **Show Page Numbers** (checkbox)

## When to use

- When you need to create a structural outline for a long report or manual.
- When you want to generate a clean, formatted table of contents with leader lines.
- When you need to prepare placeholder pages for a document before adding full content.

## How it works

- Enter your section titles and their corresponding page counts in the list field.
- Adjust document settings such as page size, orientation, and margins to fit your requirements.
- Customize the visual style of your table of contents, including leader styles and font sizes.
- Generate and download your structured PDF document.

## Use cases

- Creating a standardized structure for technical documentation or user manuals.
- Generating a professional index for academic papers or research reports.
- Building a skeleton document to organize chapters before writing the full content.

## Frequently asked questions

### Can I customize the page size?

Yes, you can select from A4, Letter, Legal, or A5 page sizes.

### What are leader styles?

Leader styles are the visual lines (dots, dashes, or solid) that connect a section title to its page number in the table of contents.

### Can I change the starting page number?

Yes, you can set the start page number to any value between 1 and 999.

### Is it possible to hide page numbers?

Yes, you can toggle the 'Show Page Numbers' option to include or exclude them from the generated document.

### Can I adjust the margins of the PDF?

Yes, you can independently configure the top, bottom, left, and right margins in points (pt).

## Related tools

- [Fitness Workout PDF Generator](https://elysiatools.com/en/tools/fitness-workout-pdf-generator): Generate a printable workout-plan PDF from JSON or CSV data with exercise tables, progress boxes, and optional QR video links
- [PDF Basic Document Generator (PDF基础文档生成器)](https://elysiatools.com/en/tools/pdf-basic-text-doc): Create PDF documents with text, paragraphs, headers, footers, and page numbers
- [PDF Brand Guidelines](https://elysiatools.com/en/tools/pdf-brand-guidelines-pdf): Generate a brand guidelines PDF with logo, palette, typography, and spacing rules
- [PDF Financial Report](https://elysiatools.com/en/tools/pdf-financial-report): Generate a financial report PDF with balance sheet, income statement, and merged table cells
- [PDF Page Master Template (PDF页面母版模板)](https://elysiatools.com/en/tools/pdf-page-master-template): Generate a master page PDF with margins, grid, header/footer zones, and column guides
- [PDF QR Barcode Labels](https://elysiatools.com/en/tools/pdf-qr-barcode-labels): Batch generate printable labels with QR code and barcode in a single PDF
- [PDF Receipt / Ticket Generator](https://elysiatools.com/en/tools/pdf-receipt-ticket): Create a thermal-width receipt PDF with bold title and QR code
- [PDF Sales Dashboard](https://elysiatools.com/en/tools/pdf-sales-dashboard-pdf): Create a visual sales dashboard PDF with charts, data tables, and conclusions

## Samples

- [PDF Samples](https://elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10
- [Markdown Slide Deck Samples](https://elysiatools.com/en/samples/md-slide-deck-to-pdf): Remark/Marp style Markdown slide decks for testing PDF export layouts
- [ICS Calendar Samples](https://elysiatools.com/en/samples/ics-samples): Sample iCalendar (.ics) files for testing calendar import, event parsing, reminders, and recurring schedules
- [Time Zone Workflow Scheduler ICS Samples](https://elysiatools.com/en/samples/time-zone-workflow-scheduler-ics-samples): ICS files generated in the same structure returned by the Time Zone Workflow Scheduler, with multiple VEVENT meeting candidates exported from overlap windows

## Related content

- [PDF Forms, Navigation, and Review Workflows](https://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://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.
- [Printable PDF Layout and Template Generators](https://elysiatools.com/en/hubs/pdf-generate): Create text documents, multi-column layouts, page masters, certificates, posters, storyboards, comics, and branded PDF assets ready for review.
