# PDF Basic Document Generator (PDF基础文档生成器)

Create PDF documents with text, paragraphs, headers, footers, and page numbers

> Canonical page: https://elysiatools.com/en/tools/pdf-basic-text-doc

- **Category:** Document Tools

- **Keywords:** pdf, document, text, header, footer, page, title, 文档, 页眉, 页脚

## Overview

This tool generates professional PDF documents with the following features:

**Content Features:**
- Multi-paragraph text input
- Optional title page with document metadata
- Automatic page breaks
- Chinese character support

**Page Layout:**
- Multiple page sizes (A4, Letter, Legal, A5)
- Portrait or landscape orientation
- Adjustable margins on all sides
- Customizable font size and line height

**Header & Footer:**
- Optional header text with alignment
- Optional footer text with placeholders ({page}, {total})
- Configurable page number positions
- Automatic page numbering

**Output:**
- High-quality PDF with embedded fonts
- Downloadable file with timestamp
- File metadata and statistics

## Inputs

- **Document Content** (textarea): Enter your document content here... You can separate paragraphs with blank lines.
- **Document Title** (text): My Document
- **Page Size** (select)
- **Orientation** (select)
- **Font Size (pt)** (number)
- **Line Height** (number)
- **Top Margin (pt)** (number)
- **Bottom Margin (pt)** (number)
- **Left Margin (pt)** (number)
- **Right Margin (pt)** (number)
- **Show Header** (checkbox)
- **Header Text** (text): Document Header
- **Header Alignment** (select)
- **Show Footer** (checkbox)
- **Footer Text** (text): Page {page} of {total}
- **Footer Alignment** (select)
- **Show Page Numbers** (checkbox)
- **Page Number Position** (select)

## When to use

- When you need to convert text content into a formatted PDF document with consistent styling.
- When you require headers, footers, or page numbers in your PDF for navigation or branding.
- When you want to customize page size, orientation, or margins to meet specific document requirements.

## How it works

- Enter your document content in the text area, separating paragraphs with blank lines for automatic formatting.
- Configure page settings such as size (e.g., A4, Letter), orientation (portrait or landscape), and margins.
- Add optional headers and footers with text and placeholders like {page} for page numbers.
- Generate the PDF to download a high-quality file with embedded fonts and metadata.

## Use cases

- Creating business reports with headers, footers, and page numbers for professional presentation.
- Generating invoices or receipts that require custom margins and consistent formatting.
- Producing academic papers or essays with specific font sizes, line heights, and page layouts.

## Frequently asked questions

### What output format does the tool produce?

The tool generates PDF files only, with embedded fonts for consistent rendering.

### Can I use non-Latin characters like Chinese in the document?

Yes, the tool supports Chinese characters and other Unicode text in the content.

### How do I add page numbers to the PDF?

Enable the 'Show Page Numbers' option and select the desired position from the dropdown menu.

### What page sizes are available?

You can choose from A4, Letter, Legal, and A5 page sizes in the settings.

### Is there a limit on document length or number of pages?

The tool handles multi-page documents with automatic page breaks based on content and layout settings.

## 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 Checklist Form](https://elysiatools.com/en/tools/pdf-checklist-form): Generate printable checklist/task form PDF with pseudo checkboxes and text
- [PDF Multi-Column Layout (PDF多栏排版)](https://elysiatools.com/en/tools/pdf-multi-column-layout): Create newspaper/magazine style documents with 2 or 3 columns
- [PDF Multipage Form Mock](https://elysiatools.com/en/tools/pdf-multipage-form-mock): Create printable multi-page form mocks with text fields, checkboxes, and signature areas
- [PDF Poster Maker](https://elysiatools.com/en/tools/pdf-poster-maker): Create poster/flyer PDF templates with headline, background image, gradients, and CTA button text
- [PDF Receipt / Ticket Generator](https://elysiatools.com/en/tools/pdf-receipt-ticket): Create a thermal-width receipt PDF with bold title and QR code
- [Barcode Batch Generator](https://elysiatools.com/en/tools/barcode-batch-generator): Batch generate Code 128, EAN-13, UPC-A, ITF-14, QR Code, and Data Matrix outputs from CSV or multiline text
- [Markdown to PDF Converter - Markdown转PDF转换器](https://elysiatools.com/en/tools/markdown-to-pdf-converter): Convert Markdown files to PDF documents with proper formatting, syntax highlighting, and styling

## 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
- [JWT Samples](https://elysiatools.com/en/samples/jwt-samples): Comprehensive JWT examples from basic token structure to advanced security implementations
- [Markdown Samples](https://elysiatools.com/en/samples/markdown-samples): Markdown format examples from simple to complex document structures

## Related content

- [Templated Document Generation Workflow](https://elysiatools.com/en/hubs/templated-document-generation): Create repeatable forms, certificates, report cards, invoices, receipts, storyboards, DOCX merges, PDF documents, and XLSX template outputs from structured inputs.
- [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.
