Turn a .txt File into a Clean PDF
Turn a .txt file or pasted text into A4 pages of selectable text, keeping your line breaks and wrapping long lines.
Free, with no sign-up and no watermark. The file is processed in your browser and never uploaded.
Turn a .txt file — or text you paste in — into a clean A4 PDF. Lines wrap to the page width, your line breaks are kept, and long texts flow onto as many pages as needed. The text in the PDF is real, selectable text.
Step by step
- Add your text: Upload a .txt file or type/paste into the text box.
- Name the file: Set File name (defaults to the uploaded file's name).
- Pick a size: Set Font size between 7 and 24.
- Create: Click Create PDF.
Handy for
Notes and logs
Share plain-text notes or log files in a format anyone can open.
Printing
Get tidy margins and wrapping when printing text files.
Archiving
Keep text exports as fixed documents.
Attachments
Send a PDF instead of a .txt that some phones display poorly.
Good to know
Text is set in Helvetica with comfortable margins on A4 pages; Greek, Cyrillic and other characters Helvetica lacks are set in embedded Noto Sans.
For headings and bullet lists, try Markdown to PDF.
Tabs are converted to four spaces.
Questions
Are my files uploaded anywhere?
No. The file is read and processed by JavaScript running in your browser tab. Nothing is sent to a server, and the result is created on your device.
Which languages and scripts work?
Latin (including accented and Vietnamese letters), Greek and Cyrillic are fully supported: text the standard Helvetica font can't draw is set in embedded Noto Sans and stays selectable. Devanagari works for simple words, but some vowel signs and conjuncts may be placed incorrectly. Other scripts, such as Chinese or Arabic, appear as "?".
Is a monospaced font available?
Not in this tool; text is set in a proportional font.
More Make a PDF tools
- Type & Save as PDF — Write in the browser using # for headings and - for bullets, and save it as an A4 PDF with selectable text.
- CSV to PDF & PDF to CSV — Turn delimited text into a bordered PDF table, or rebuild a PDF's rows and columns as a CSV file.
- EPUB eBook to PDF — Convert DRM-free EPUB books to PDF with their styling and images, chapter page breaks and an optional cover.
- Audio Transcript to PDF — Transcribe audio, video or a mic recording on your device with Whisper, then save it as PDF, TXT or SRT.
- Typeset CV Maker — Fill in a form, pick a Classic, Modern or Sidebar layout, preview it live and download a typeset resume PDF.
- Convert Anything to PDF — Turn images, HEIC photos, Word, Excel, PowerPoint, HTML, text and EPUB files into PDF — mix them and merge into one.