Text to PDF Converter
Paste any text and download a clean, paginated PDF. Choose font size, margin, and page size. Runs entirely in your browser.
PDF generation by jsPDF (MIT), self-hosted.
How to use this tool
- Paste or type your text.
- Set the font size, margin, and page size.
- Click Create PDF & Download — long text paginates automatically.
Turn plain text into a properly paginated PDF without uploading anything. Long text wraps to the page width and flows onto new pages automatically. Adjust the font size and margin to control how much fits on each page.
How it works
The Text to PDF Converter takes any plain text you paste and lays it out as a paginated PDF document you can download instantly. You can choose the font size, page margins, and paper size (A4 or Letter) to control how the text flows across pages.
The tool wraps long lines automatically and starts a new page whenever the text fills the current one. It is ideal for archiving notes, creating a printable version of a plain-text document, or producing a quick PDF from copied content without opening a word processor.
Everything runs in your browser via a JavaScript PDF library. No text is sent to any server, making this suitable for sensitive content such as personal notes, legal text, or draft documents.
For best results, use plain text without special formatting codes. If your source is a Markdown or HTML file, consider converting it first and then pasting the result, or use the dedicated Markdown to HTML converter on this site.
Worked example
Save a plain-text meeting agenda as a PDF
- Copy the agenda from your notes app or email.
- Paste it into the text area.
- Set font size to 12 and margins to 20 mm.
- Choose Letter or A4 to match your printer paper.
- Click Generate PDF and download the file.
A clean, printable PDF of the agenda with proper pagination.
Common mistakes to avoid
- Pasting HTML or Markdown source with tags and symbols, which appear literally in the PDF instead of being rendered as formatted text.
- Choosing a very small margin combined with a large font size, causing text to overflow or clip near the page edge.
- Expecting images or tables to render -- this tool handles plain text only.
Key terms
- Pagination
- The process of dividing continuous text into discrete pages of a set size, inserting page breaks where needed.
- Margin
- The blank space between the edge of the paper and the printed text area, typically measured in millimetres.
- Font size
- The height of characters measured in points (pt); 12 pt is standard for body text in most documents.
Frequently asked questions
- Is my text uploaded?
- No — the PDF is built locally with jsPDF; nothing leaves your device.
- Does long text wrap and paginate?
- Yes — text wraps to the margins and overflows onto new pages automatically.