Text to PDF
Turn plain text into a PDF. Paste text or upload a TXT file and Happycapy formats it into a clean, readable PDF with the font, size, and margins you choose — ready to share or print. Convert one file or many. Free to start.
How it works
Add your text
Paste text or attach a TXT file, and say how you want it formatted.
Choose the look
Pick a font, size, margins, and whether to add a title or page numbers — or use the clean default.
Let Happycapy format
It lays the text out neatly across pages and builds a readable PDF.
Download your PDF
Review and download a tidy PDF, ready to share or print.
Who is this for
Students and writers
Turn notes, essays, or drafts into a clean PDF to submit or share.
Developers
Convert logs, README text, or code snippets into a readable, portable PDF.
Everyday users
Make a quick PDF from a list, a letter, or any text you need to send or print.
Six prompt-engineering tips that move the needle
Small changes in how you write a prompt make the biggest difference in output.
Set the font and size
Name a font family and text size for the readability you want.
Add a title and page numbers
Ask for a heading and page numbers to make it look finished.
Control the margins
Wide margins for printing, tighter for fitting more per page.
Paste or upload
Both pasted text and .txt files work — use whichever is handy.
Keep paragraphs
Happycapy preserves line breaks and paragraphs so structure stays intact.
Batch TXT files
Drop a folder of text files to convert each one to a PDF.
What to expect
Most plain text files convert instantly, producing a PDF that's typically 3–8× larger than the source TXT file (e.g. a 10 KB text file yields a 30–80 KB PDF) due to font embedding and PDF overhead. Formatting options like font choice, size, and margins are applied consistently across the whole document.
Example: A 4 KB TXT file containing a 500-word essay converts to a clean, single-column PDF of roughly 20–35 KB with 12pt font and standard 1-inch margins — ready to email or print in under 5 seconds.
Good to know
- Plain text has no formatting metadata, so bold, italic, headings, tables, or special layouts in your original text will not be preserved — everything renders as uniform body text.
- Non-Latin or special characters (e.g. Arabic, Chinese, emoji) may not render correctly if the selected font doesn't include those glyphs, resulting in missing or replaced characters.
- Very long files (hundreds of pages) may take noticeably longer to process, and automatic pagination may split paragraphs or lines in awkward places with no manual page-break control.
Frequently asked questions
How do I convert text to PDF for free?
Paste your text into the prompt box or upload a .txt file, specify any formatting preferences, and the tool returns a ready-to-download PDF — no account required to get started.
Can I choose the font, size, and margins?
Yes. Specify any combination of font family (such as Times New Roman or Arial), point size, line spacing, and margin width and the PDF will reflect those choices. Omit the details and a clean, print-friendly default is applied automatically.
Can I add a title, headings, or page numbers?
Yes — request a document title, section headings at any level, or auto-numbered pages and they will be added during layout. You can also ask for a header or footer that repeats on every page.
Does it work with both uploaded TXT files and pasted text?
Both inputs are supported. You can paste raw text directly into the prompt or attach a .txt file; either way the output is a properly formatted, multi-page PDF.
Will my line breaks and paragraph spacing be preserved?
Paragraph breaks and intentional line breaks are respected and carried into the PDF. Text reflows across pages to stay legible rather than breaking mid-word or bunching up unevenly.
Can I convert multiple text files into separate PDFs in one go?
Yes. Drop several .txt files into a single request and each one is processed individually, producing a matching PDF per file without needing to run separate conversions.
What is the difference between asking for a 'plain' PDF versus a 'formatted' one?
A plain PDF mirrors your text with minimal styling — consistent font and margins, nothing added. A formatted PDF can include a title page, styled headings, page numbers, and adjusted line spacing, all specified in a single prompt to Happycapy.
Ready to create?
Sign up free and put AI agents to work across your tasks, from quick jobs to complete end-to-end workflows, right in your browser, no setup needed.
Get started for free