Convert TXT to PDF
Short answer: To convert plain text into a PDF, paste the text, choose the layout and download the PDF. QuickMerge creates the document in your browser without uploading the text.
Load a .txt file or paste the text straight in, set the page size, font, margins and line spacing, and download the PDF. It is the quickest way to create a PDF from text without opening a word processor — and because the document is generated in your browser, the text never leaves your device.
How do I convert plain text into a PDF?
Document Settings
Typography
PDF Created Successfully!
Your document is ready for download
Pages
1
Words
0
File Size
0 KB
Turn Plain Text Into a Clean, Shareable PDF
Sometimes you just need a real document. You have written something in a notes app, a chat window, or a code editor, and now you need it as a tidy PDF you can email, print, attach to a form, or hand in. Copying text into a heavyweight word processor and wrestling with page setup is overkill for that. This tool lets you paste or type your text, pick a few simple options, and get a properly paginated PDF back in seconds — with the page size, margins, font, and spacing you choose, and automatic page numbers.
What makes it genuinely useful is that it builds a true PDF, not a screenshot of a web page. The text is laid out with real fonts, wrapped to fit your margins, split across as many pages as it needs, and saved in the standard PDF format. You stay in control of how it looks through a small set of practical settings, and you can add light structure — headings, bold, italic, bullet lists, and centered lines — using a few easy markup characters.
Step-by-Step: Creating Your PDF
- Type or paste your text. Drop your content into the editor. As you write, a live counter shows the word count, character count, and an estimate of how many pages the document will produce.
- Add structure if you want it. Use the toolbar buttons or type the markup directly: # at the start of a line makes a main heading, ## makes a subheading, **double asterisks** make text bold, *single asterisks* make it italic, a bullet or dash at the start of a line makes a list item, and [center]...[/center] centers a line. Anything without markup is rendered as ordinary paragraph text.
- Set the page. Choose A4, US Letter, or Legal; portrait or landscape; and normal, wide, or narrow margins to match how the document will be used.
- Set the typography. Pick Helvetica, Times, or Courier, a font size from 11 to 14 points, your line spacing, and the text alignment.
- Convert and download. Click "Convert to PDF." You will see a summary showing the page count, word count, and final file size, plus a download button to save the finished PDF to your device.
When a Text-to-PDF Tool Saves the Day
- Quick handouts and notes. Turn meeting notes, an agenda, or a study summary into a clean printable PDF without opening Word.
- Plain-text submissions. Many forms, job applications, and portals ask for a PDF. Paste your cover letter or statement, set Letter or A4, and you have a properly formatted file.
- Logs, code snippets, and transcripts. Courier font keeps spacing even, which is ideal for terminal output, configuration files, or anything where alignment matters.
- Readme and instruction sheets. Use headings and bullet lists to produce a structured one-pager for a product, a recipe, or a set of directions.
- Archiving messages. Save an important email thread, a chat export, or a piece of writing as a stable PDF that will look the same on any device years from now.
Tips and Best Practices
- Use headings to break up long text. A document that is all one block is hard to read. A few # and ## headings give it structure and make the page estimate more meaningful.
- Pick the font for the job. Helvetica is clean and modern for general documents, Times feels more formal for letters and essays, and Courier is monospaced for anything where character alignment matters.
- Watch the live page estimate. If you are aiming for a one-page handout, the counter under the editor tells you whether you are over before you convert, so you can trim or switch to narrow margins.
- Use narrow margins and landscape for wide content. If you are pasting tables of text or long lines, landscape orientation with narrow margins reduces awkward wrapping.
- Keep one idea per line for lists. Each bulleted point should be its own line so the converter renders it as a separate list item.
Make a One-Page A4 PDF
For a text to PDF 1 page result, start with A4 portrait, narrow margins, 11pt text and single line spacing. Trim blank lines while watching the estimate, then convert once and confirm the final page count. The text to PDF in A4 size option uses a 210 by 297mm page.
Turn Notes Into a PDF
Paste notes into the editor, add a short heading and place each bullet on its own line. The text to PDF notes workflow supports the visible heading, emphasis, list, alignment, page, font, margin and spacing controls; rich formatting from another app is not imported automatically.
Working from a phone? Follow the focused Android text-to-PDF guide.
Common Problems and How to Fix Them
- My bold or italic markers showed up as asterisks. Inline bold and italic need to be wrapped correctly: **text** for bold and *text* for italic, with no space between the asterisks and the words. Headings and lists only work when their marker is at the very start of the line.
- A long line got cut off the right edge. Normal text wraps automatically, but very long unbroken strings (like a URL with no spaces) cannot be split. Switch to a smaller font, narrower margins, or landscape orientation, or add a space where the line can break.
- The document is more pages than I expected. Large fonts, wide line spacing, and many empty lines add up. Reduce the font size, tighten line spacing to single, or remove blank lines to fit more on each page.
- Special symbols or accented characters look wrong. The built-in PDF fonts cover standard Latin characters well. Very unusual symbols or non-Latin scripts may not render; stick to standard characters for reliable output.
- The convert button did nothing. The editor needs at least some text. If it is empty, add content and try again.
How It Works in Your Browser
This converter runs on your device. When you click convert, a PDF library in the page measures the text against your chosen font and page width, wraps lines to fit the margins, draws the result onto PDF pages and offers the finished file for download. The text is not sent to a QuickMerge processing server or included in analytics. A connection is still required while the page's PDF library loads; conversion is local once that library is ready.
What the Formatting Markup Does
- # Heading — a large, bold main heading.
- ## Subheading — a smaller bold subheading.
- **bold** — bold inline text.
- *italic* — italic inline text.
- Bullet or - at line start — a bulleted list item.
- [center]text[/center] — a horizontally centered line.
Next steps
Related tools
- attach it to an existing document — to send one file instead of two.
What to do with the result
- number the generated pages — for anything longer than a page or two.
- password-protect the document — if it contains anything private.
Browse all PDF tools, or see every QuickMerge tool.
Wondering how big a file this can take? We measured it: see Text to PDF on the measured limits page, or the browser support matrix.
Frequently Asked Questions
Yes! All processing happens locally in your browser. Your text is never uploaded to any server or stored anywhere.
Basic markdown-style formatting: # for headings, ** for bold, * for italic, • for bullet lists. All other text appears exactly as entered.
Yes! You can choose page size (A4, Letter, Legal), orientation, margins, font family, font size, and line spacing.
You can create documents up to approximately 50,000 words. For best performance with very large documents, consider breaking them into sections.
The page needs a connection while its PDF library loads. After that library is ready, creating the PDF is local, but offline availability on a later visit is not guaranteed.
Yes. As the converter lays out your text across pages, it adds a "Page X" label to each page automatically, so multi-page documents are easy to keep in order and reference. You do not need to add page numbers yourself.
Absolutely. There is no fixed page limit — the tool keeps adding pages as your text requires. When the text on a page reaches the bottom margin, it automatically continues onto a new page, including breaking long paragraphs and lists across the page boundary.
Helvetica is a clean, modern sans-serif that suits most general documents and handouts. Times resembles a traditional serif typeface and feels more formal, making it a good fit for letters, essays, and reports. Courier is monospaced, meaning every character takes the same width — choose it for code, logs, terminal output, or anything where columns and alignment must line up.
This tool understands its own simple set of markers (# for headings, ** for bold, * for italic, bullets for lists, and [center] tags) rather than a full markdown specification. Tables, links, blockquotes, code fences, and other advanced markdown features are not interpreted and will appear as plain text. Stick to the supported markers for predictable results.
Load the text document above or paste its contents, pick a page size and margins, then download. There is nothing to install and no account to create. If your source is a Word file rather than plain text, open it, select all, and paste — or use Word's own Save As PDF, which keeps the styling this tool has no way to read out of a .txt.
Choose the file above and download the result — there is no cost, no watermark and no usage cap, because the conversion runs on your own device rather than on a server someone has to pay for. Several files can be converted one after another, and the settings you pick stay put between conversions.
Yes. A Notepad file is an ordinary .txt, so it loads here directly. This is the usual reason people look for a converter at all — Notepad has no PDF export of its own, and printing to PDF from it adds the header and footer Notepad prints by default.
Print-to-PDF captures whatever the application was showing, including its headers, footers and its own margins. Converting here sets the page geometry directly, so you control page size, margins, font and spacing exactly. Use print-to-PDF for a quick copy of what is on screen; use this when the finished document has to meet a specification.
Not on this page — this one only writes PDFs. To pull text out of a PDF that already has a text layer, export it to Word and copy from there. For a scanned PDF, which is images rather than text, run OCR on it first to recover the characters.
Convert each file to PDF here, then merge the PDFs into one document in the order you want. If the combined file then needs to be emailed, compress it afterwards.
No. The PDF is generated by JavaScript running in your browser, so the text you paste and the file you load stay on your device. Nothing is transmitted, nothing is stored, and you can confirm it yourself with the network-tab method on the proof of privacy page.