# Sample PDF Generator — Any Page Count & Size

> Build test PDFs with any page count, paper size, orientation, content type and file size.

A sample PDF generator builds test documents with the page count, paper size, orientation, content and file size you specify. Choose from A3 to A5, Letter, Legal, Tabloid or a 16:9 slide, fill the pages with text, tables, an invoice layout or a measurement grid, and generate up to 2,000 pages entirely in your browser.

**URL:** https://convertto.tech/t/sample-pdf-generator
**Category:** Samples & Mock Data (https://convertto.tech/c/sample-data)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Page count:** Up to 2,000 pages per document, 50 documents per run
- **Paper sizes:** A3, A4, A5, US Letter, Legal, Tabloid, 16:9 slide and square
- **Content types:** Lorem text, large page numbers, data tables, an invoice layout, a measurement grid or blank
- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Set the pages.
2. Choose the page size.
3. Choose the orientation.
4. Choose the page content.
5. Set the font size.
6. Set the margin.
7. Enter or paste your document title.
8. Enter or paste your author metadata.
9. Turn "Add page numbers" on or off as needed.
10. Turn "Pad to an exact file size" on or off as needed.
11. Set the target size.
12. Choose the unit.
13. Set the how many pdfs.
14. Enter or paste your seed.
15. Press Run, then download the result when it is ready.

## FAQ

### Can I make a PDF of an exact file size?

Yes. Enable "Pad to an exact file size" and the generator appends a trailing comment. Every PDF reader ignores bytes after the end-of-file marker, so the document still opens normally.

### What is the measurement grid for?

It prints a ruled grid with labelled coordinates, which makes it easy to verify that a print pipeline, a page-crop tool or a scaling setting is placing content where you expect.

## Related tools

- [PDF Page Organiser](https://convertto.tech/t/pdf-page-organiser): See every page as a thumbnail, then drag to reorder, rotate and remove pages before saving.
- [Resize PDF Pages](https://convertto.tech/t/resize-pdf-pages): Scale every page of a PDF to a standard paper size so it prints consistently.
- [Sample File Generator](https://convertto.tech/t/sample-file-generator): Create valid test files of an exact size in 22 formats — text, data, code, images, audio, PDF and ZIP.
- [Sample File Library](https://convertto.tech/t/sample-file-library): Download a ready-made ladder of 15 sample files: size steps, page counts, aspect ratios, durations or row counts.
- [Add Page Numbers to PDF](https://convertto.tech/t/add-page-numbers-pdf): Number the pages of a PDF with a custom start, position and format.
- [Chat with PDF](https://convertto.tech/t/chat-with-pdf): Ask questions about any PDF and get answers with the page each one came from. The model runs in your browser — the file is never uploaded.
- [Compress PDF](https://convertto.tech/t/compress-pdf): Reduce PDF file size by re-rendering pages at a lower resolution and quality.
- [Delete PDF Pages](https://convertto.tech/t/delete-pdf-pages): Remove unwanted pages from a PDF and keep everything else intact.
