Text to PDF
Turn plain writing into a clean PDF.
Making a PDF from photos or a Word file? Use Images to PDF or Word to PDF.
Or open a file instead.
Runs on this device. Nothing is uploaded.
How to use Text to PDF
- 1Type or paste your text in the Text box, or open a .txt file below it instead.
- 2Add a title if you want one, and pick the page size and font. Keep “Format with Markdown” on for # headings, **bold** and lists, or switch it off to keep every line as you typed it.
- 3Press “Create PDF”, check the first page on screen, then download.
About this tool
Write a document from scratch, or paste text. Supports Markdown formatting (# headings, **bold**, lists), ₹, symbols, Hindi and eight more Indian scripts. See the first page on screen before you download.
Guides
Your files stay on this device. DoYourPDF opens and processes them inside your browser. The counter in the top bar shows how many bytes of your files this page has sent to any server: it should read 0 B. How this works
Related tools
- Images to PDFJPG, PNG, WebP, HEIC-exported photos → PDF.
- Word to PDFDOCX to PDF laid out the way Word lays it out.
- Excel to PDFWorkbooks printed the way Excel prints them.
- PowerPoint to PDFSlides drawn the way PowerPoint draws them.
- HTML to PDFPaste HTML or choose an .html file.
- Markdown to PDFREADME and notes to a well-typeset PDF.
- CSV to PDFTables from CSV/TSV, paginated with headers.
- eBook (EPUB) to PDFEPUB chapters in order, with images and cover.
Questions about Text to PDF
Do I need to know Markdown?
No. Type or paste as you normally would and you get clean paragraphs. Markdown is an optional extra: a line starting with # becomes a heading, **words** between double stars turn bold, and lines starting with - become a list. Switch off “Format with Markdown” to keep each line as you typed it.
Why did two of my lines join into one?
With “Format with Markdown” on, a single line break inside a paragraph is joined up, as Markdown does. Leave an empty line between them to start a new paragraph, or switch Markdown off: then each line break you typed is kept.
Can I write in Hindi, Tamil or another Indian language?
Yes. Hindi, Bengali, Punjabi (Gurmukhi), Gujarati, Odia, Tamil, Telugu, Kannada and Malayalam all print as real text with their letters joined correctly, and so do the ₹ sign and most symbols. Whichever of the three fonts you pick, each Indian script prints in a plain sans face made for it. Urdu isn't supported yet.
Can I paste text from an email, a chat or a Word file?
Yes. Pasted text arrives as plain words, so bold, colours and pictures from the original aren't kept. To keep a Word document's layout, use Word to PDF instead; for photos or screenshots, use Images to PDF.
What page size and file name will the PDF have?
A4, unless you pick A3, A5, Letter or Legal. The file is named after the title you type, or after the .txt file you opened, otherwise “document.pdf”. When the text runs to more than one page, page numbers are added at the foot of each page.
Can the text in the PDF be selected and searched?
Yes. The PDF holds real text, not a picture of it, so you can select, copy and search it, it stays sharp when you zoom in, and the file stays small.
Is DoYourPDF really free?
Yes. Every tool costs nothing: no account, no page caps, and nothing stamped on your files.
Are my files uploaded?
No. Files are opened and processed by your own browser. They never reach a server. Apart from an anonymous visit count, the only things that use the network are optional: AI answers (if this site enables them) send the question plus relevant passages of text, never the file; P2P Share and the whiteboard connect two browsers over an encrypted connection.