How to convert a text file (TXT) to PDF
To convert text to PDF, open Text to PDF, then upload a .txt file or paste your text, choose the font and page size, and download the PDF. It runs in your browser, so your text isn't uploaded.
Open Text to PDFConvert TXT to PDF
- Open Text to PDF.
- Upload a .txt file, or type or paste your text into the box.
- Choose the font (sans-serif, serif or monospace), the text size, the page size and the margin.
- Click Create PDF and download it.
Which font should I choose?
Sans-serif (Helvetica) is clean for notes and letters. Serif (Times) suits essays and reports. Monospace (Courier) keeps columns lined up, which matters for logs and code.
What about other alphabets?
The built-in fonts cover Latin letters. Other characters are replaced with a question mark, and you are told how many. For Hindi or other scripts, write the text in a Word document and use Word to PDF.
Add page numbers
A long text is easier to follow with page numbers. Run the result through Add page numbers.
Common questions
How do I convert a TXT file to PDF?
Open Text to PDF, upload a .txt file or paste your text, choose the font, size, page size and margin, and click Create PDF.
Which font should I choose?
Sans-serif for notes and letters, serif for essays and reports, and monospace for logs and code because it keeps columns lined up.
Does it support other alphabets?
The built-in fonts cover Latin letters. Other characters are replaced with a question mark and you are told how many. For Hindi or other scripts, use a Word document and Word to PDF.
Is my text uploaded?
No. It runs in your browser, so your text isn't uploaded.
Try it now
Type or paste text, or upload a .txt file, and get a PDF.
Open Text to PDF →Related tools: Compress PDF, Protect PDF, Page numbers