Text To PDF
Convert plain text, notes or code into a paginated PDF with font, size, margins, line spacing and page-number options.
100% private. Your files are processed inside your browser and are never uploaded to any server. Close the tab and nothing remains.
Or upload a .txt file
or drag & drop here
Words
0
Characters
0
Est. pages
1
How it works
- 1Type or paste text, or upload a .txt file.
- 2Pick page size, font, margins and spacing.
- 3Create and download the PDF with real, selectable text.
Frequently asked questions
Can I make headings and bullets?+
Yes: start a line with # for a heading and - for a bullet.
Which characters are supported?+
Latin-1 (Western European). Other scripts are replaced with ? because standard PDF fonts do not include them.
Is my file uploaded anywhere?+
No. The PDF engine runs in your browser using WebAssembly-free JavaScript. Your document never leaves your device, which also makes processing instant with no queue.
PDF Tools
About the Text To PDF
Text to PDF turns plain text, notes or code into a neat, paginated PDF. You can type, paste or upload a .txt file, and then choose the page size, font, text size, margins, line spacing and page numbers.
It is a quick way to make something shareable from rough notes, a list or a log file. Simple formatting is supported too: start a line with # to make a heading, or with - to make a bullet point.
The result contains real text, so it can be searched and selected. The built-in fonts work with Latin characters, so languages such as Urdu or Arabic may not display correctly. For those, create the document in a word processor and save it as a PDF.
How to use this tool
- 1Type or paste your text, or upload a .txt file.
- 2Choose the page size, font and margins.
- 3Set line spacing and page numbers.
- 4Create the PDF and download it.
Best-practice tips
- Use a fixed-width font such as Courier for code.
- Choose wider margins if the document may be printed and filed.
- Add page numbers to anything longer than two pages.
Answers
Text To PDF FAQs
Yes. Start a line with # for a heading, and with - for a bullet.
Not reliably. The fonts cover Latin characters, so use a word processor for Urdu or Arabic text.
Yes. It is real text, not an image.
Related tools
Continue with these related pdf tools.
Merge PDF
Combine multiple PDF files into one document. Reorder files by drag-free arrows, see page counts and sizes, shrink the merged PDF with the optional compressor, and download it instantly. Files never leave your device.
Rotate PDF
Rotate all pages or selected pages by 90°, 180° or 270° with live page thumbnails, then save a permanently rotated PDF.
Unlock PDF
Remove the open password and permission restrictions (printing, copying, editing) from a PDF you have the right to unlock.