Text to PDF: turn text into a formatted PDF online
Paste your text or open a file, choose how it should look, and download a clean PDF. Pick the page size, font, spacing and margins, add a title and page numbers, and preview before you download. Urdu, Arabic and other scripts work too.
How to use Text to PDF
- Paste your text into the box, or choose a TXT, Markdown or Word (.docx) file to load it.
- Choose the page size, font, text size, spacing and margins. Add a title and page numbers if you want.
- Select Create PDF, check the preview, then download.
Questions and answers
Which files can I open?
Plain text (.txt, .log, .csv), Markdown (.md) and Word (.docx). For a Word file, only the text is used. Pictures, tables and styles are left out, so use the PDF editor if you need the original design.
Can I make headings and bullet lists?
Yes. Start a line with # for a large heading, ## for a medium one, or - or * for a bullet. Numbered lines such as 1. and 2. are indented as a list too.
Does it work with Urdu and Arabic?
Yes. Choose Naskh or Nastaliq, or just paste Urdu or Arabic text and the font is chosen for you. Right-to-left lines are aligned to the right and the letters join correctly. Because your browser draws the letters, each page is saved as a sharp picture, so that text cannot be selected.
Why is my text from an email full of broken lines?
Text copied from emails or PDFs often has a line break at the end of every line. Tick Join lines into paragraphs and each paragraph will flow across the page.
Is the text selectable in the PDF?
Yes for English and other Western European text. Scripts that the standard PDF fonts do not include, such as Urdu, Arabic, Cyrillic and Chinese, are saved as pictures of the text.
Can I check the result before downloading?
Yes. When the file is ready, a preview of every page appears so you can check it. Nothing is downloaded until you select Download.
Are my files uploaded to a server?
No. Everything runs in your browser, so your files never leave your device. You can even use the tool offline after the page has loaded.