How to convert text to PDF
- Paste or type your text into the box above.
- Pick a paper size and orientation.
- Set the font size. 11 points reads well on paper.
- Tick the monospaced font for code or aligned data.
- Press Create PDF and download the file.
What this text to PDF tool gives you
- Automatic wrapping to the page width with long words split when needed.
- As many pages as your text needs with no manual breaks.
- A4, Letter and A5 in portrait or landscape.
- Your own font size and margins.
- A monospaced option for code, logs and tables.
- Standard PDF fonts so the file stays small and opens anywhere.
Why convert text to PDF?
A .txt file opens almost anywhere. It also looks plain and unpredictable. It has no pages, no margins and no fonts of its own. Each app shows it a different way. One wraps lines at the window edge. Another does not wrap at all. A third uses a font nobody chose.
A PDF fixes all of that. It sets the page size and locks the layout. Every reader on every device shows the same thing. That is what you want when text needs printing, filing or sending to someone whose software you do not control.
When people use text to PDF
- You want to print a long article, transcript or notes without a word processor.
- You need to turn log files or data dumps into something a coworker can read.
- You must file plain text records as a fixed layout archive copy.
- A portal accepts PDF and nothing else.
- You want a clean reading copy of a draft to mark up.
How the text wraps
The tool measures each line against the page width with real font sizes. So lines break where they truly stop fitting and not at a guessed character count. A word too long for any line gets split by character. Think of a long URL or a chemical name. It never spills past the margin.
The tool keeps your own line breaks. So paragraphs and blank lines survive. That means text already wrapped at a narrow width keeps those breaks. The result looks ragged. Fix that first with the line break remover. Then the PDF wraps it properly to the page.
Pick the right font and margins
| Font size | Best for |
|---|---|
| 9 to 10 points | Dense reference pages |
| 11 points | Comfortable reading on paper |
| 12 to 13 points | Text to read aloud or mark up |
A margin of 56 points gives a comfortable frame. 72 points equals one inch if you plan to bind the pages.
The monospaced option matters more than it looks. Code, logs and text tables need every character at the same width. A normal font gives each letter a different width. The columns then collapse and the alignment breaks. Tick it for anything technical.
What text to PDF cannot do
- It converts plain text and not formatted documents. So you get no bold, italic or headings.
- It does not read Markdown or HTML. Those symbols show up exactly as typed.
- The standard PDF fonts cover Latin letters only. Greek and Russian text will not show. Arabic, Hebrew and Chinese will not show either. Use a word processor for those.
Need formatted HTML from Markdown first? The Markdown to HTML converter helps with that.
After you convert text to PDF
- Add page numbers with PDF page numbering.
- Join it with other files using merge PDF.
- Lock it with a password using Protect PDF.
Common text to PDF problems and fixes
My columns do not line up
Tick the monospaced font. Every character then takes the same width.
Lines break in odd places
Your text already had hard breaks. Join them first with the line break remover.
Some characters show as boxes
Those characters fall outside the standard fonts. Remove them with the text cleaner or use a word processor.
Who uses a text to PDF converter?
Writers print drafts to read on paper. Developers share logs with managers. Students submit plain text work to portals that want PDF. Office staff archive notes in a fixed format. Teachers turn plain text quizzes into printable handouts.
Your text stays private
The tool builds the PDF inside your browser. It uploads nothing and keeps no copy. Want an image instead of a PDF? Try text to image.