Text to PDF
Paste or type your text and download a formatted PDF — choose font, size, margins, header, footer and page numbers. Everything runs in your browser; nothing is uploaded.
Font & layout
Header & footer
Use {date}, {page}, {total} as placeholders.
Use {date}, {page}, {total} as placeholders.
Shown at the bottom of each page. If a footer is also set, page numbers appear on the right and the footer on the left.
Chinese, Japanese, Korean, Arabic, Hebrew, Thai Chinese, Japanese, Korean, Arabic, Hebrew, Thai require embedding large font files (5–15 MB each) which is not practical here. For those scripts, use your browser's built-in Print → Save as PDF function instead.
About this tool
How it works
The PDF is generated entirely inside your browser using jsPDF, an open-source JavaScript library. No text is ever sent to a server.
Placeholder tags in header and footer
{page}— replaced by the current page number.{total}— replaced by the total number of pages.{date}— replaced by today's date in your locale.
Example footer: Report — Page {page} of {total} — {date}
Font notes
Helvetica is a clean sans-serif font suitable for most documents. Times is a classic serif font often used for formal reports. Courier is a fixed-width font ideal for code or tabular data.