# Text to PDF Converter — Plain Text, Logs and Notes

> Turn plain text, notes or log output into a paginated PDF with page numbers.

To convert text to PDF, paste it in and download the paginated document. Blank lines become paragraph breaks and the text is wrapped to the page width and typeset. Switch on "preserve line breaks" for logs or code, where every line break and the alignment between them carries meaning.

**URL:** https://convertto.tech/t/text-to-pdf
**Category:** PDF Tools (https://convertto.tech/c/pdf-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your text.
2. Enter or paste your document title.
3. Turn "Preserve line breaks exactly" on or off as needed.
4. Choose the page size.
5. Choose the orientation.
6. Choose the font.
7. Set the body text size.
8. Set the margin.
9. Set the line spacing.
10. Turn "Add page numbers" on or off as needed.
11. Press Run, then download the result when it is ready.

## FAQ

### Why does my log file lose its column alignment?

By default the text is reflowed to the page width, which is right for prose and wrong for anything aligned. Switch on "preserve line breaks" and it renders in a monospace font with each line kept intact, so columns stay lined up.

## Related tools

- [Edit PDF](https://convertto.tech/t/edit-pdf): Add text, pictures, shapes, arrows, highlights and freehand drawing to any PDF page.
- [Excel to PDF](https://convertto.tech/t/excel-to-pdf): Convert an Excel workbook to a PDF table, one section per sheet, in your browser.
- [HTML to PDF](https://convertto.tech/t/html-to-pdf): Convert HTML markup into a clean, text-based PDF document in your browser.
- [Markdown to PDF](https://convertto.tech/t/markdown-to-pdf): Turn Markdown into a properly typeset PDF with real headings, lists, tables and code blocks.
- [Word to PDF](https://convertto.tech/t/word-to-pdf): Convert a Word .docx file to PDF entirely in your browser — headings, lists and tables intact.
- [Base64 to PDF Converter](https://convertto.tech/t/base64-to-pdf): Decode a Base64 string into a real, downloadable PDF file.
- [Image to PDF Converter](https://convertto.tech/t/images-to-pdf): Combine JPG, PNG or WebP images into a single PDF document.
- [PDF Text Extractor](https://convertto.tech/t/pdf-text-extractor): Pull all the text out of a PDF as plain text you can search, copy or reuse.
