TXT to PDF Converter
Paste text or drop a .txt file and get a neatly paginated PDF with your choice of font, size, page format and margins.
Add text & layout
Limits — please read
- The built-in fonts (Liberation Sans and Liberation Mono) cover Latin, Greek and Cyrillic. Chinese, Japanese and Korean text downloads a self-hosted Noto Sans CJK font on first use (about 5.5–10.2 MB depending on script, cached locally; CJK text uses the proportional CJK font). Arabic, Hebrew, Hindi, Thai and emoji are replaced with “?”.
- Plain text only: Markdown, HTML or rich text formatting is printed as written, not rendered.
- Tabs become four spaces. Use the monospace font for code and text tables so columns line up.
- Up to about 5 million characters per document.
How to use TXT to PDF
- Add textPaste or type it, or drop a text file (UTF-8 recommended).
- Choose the layoutFont, size, page size, orientation, margin and optional page numbers.
- Create the PDFPreview the first page and download.
About converting text to PDF
Text files have no page size, margins or fonts, so how they print depends on the app you use. Converting to PDF fixes all of that: the text is wrapped to the page width, split into pages and embedded with a real font, so it looks the same everywhere and remains selectable and searchable.
The monospace option keeps every character the same width, which is ideal for logs, source code and plain-text tables.
Frequently asked questions
Is my text uploaded?
No, the PDF is created in your browser.
Which characters are supported?
Latin (including accents), Greek, Cyrillic, Chinese (Simplified and Traditional), Japanese and Korean. CJK text downloads a self-hosted font (about 5.5–10.2 MB) on first use. Other scripts and emoji are replaced with “?”.
Are long lines cut off?
No, they are wrapped at word boundaries; very long words are broken.
Can I add page numbers?
Yes, tick “Add page numbers” to print “1 / N” at the bottom of each page.
Related tools
All toolsPDF to Text Converter
Extract the text from any text-based PDF and copy or save it as TXT.
Word to PDF Converter
Convert DOCX, DOC and ODT to PDF with LibreOffice, right in your browser.
Word & Character Counter
Instant word, character, sentence, reading time, and keyword counts.
Merge PDF
Combine multiple PDF documents into one ordered PDF offline.