Characters: 0 · 0 B
This converter turns plain text into a PDF with real, selectable text: paste it or open a .txt file, choose the page size, font and margins, and download the PDF. Accented, Cyrillic and Greek letters print correctly, and nothing is uploaded.
Last updated:
How it works
Add the text
Paste or type into the box, drop a file on it, or press Open TXT file. The encoding (UTF-8, UTF-16, Windows code pages) is detected automatically.
Choose the layout
Pick Page size and Orientation, Font size and Margins, Monospaced or Sans-serif, and switch Line numbers and Page numbers on or off.
Make the PDF
Press Make PDF, check the page previews and download the file.
Features
Unicode without surprises
The PDF embeds DejaVu fonts covering Latin with all European accents, Greek and Cyrillic, and Noto fonts for Japanese, Korean, Arabic and Hebrew. Characters outside these sets are reported after conversion instead of silently disappearing.
Layout kept for code and logs
In Monospaced mode tabs become spaces at 4-column stops and columns stay aligned. Long lines wrap at the margin; a form feed character starts a new page.
Line numbers
Print the line number of the source file next to each line — handy for code reviews and legal transcripts.
Small, searchable files
Only the glyphs you use are embedded, and the text stays text: it can be searched, selected and copied in any PDF reader.
Limits & privacy
Text up to 10 MB. Fonts: DejaVu Sans and DejaVu Sans Mono subsets (Latin, Latin Extended, Greek, Cyrillic and common symbols), plus Noto Sans JP, Noto Sans KR, Noto Naskh Arabic and Noto Sans Hebrew subsets, loaded only for text that needs them; other characters are printed as “?” and listed. Font size 5–36 pt, margins 5–50 mm, pages A4, US Letter, US Legal or A5, portrait or landscape.
The PDF is generated in your browser; the text is not uploaded. See the privacy page.
Example: a server log must be attached to a support ticket as PDF. Open the .log file, choose Monospaced, Landscape and Line numbers, and make the PDF.
FAQ
How do I convert a TXT file to PDF?
Press Open TXT file (or paste the text), choose the layout and press Make PDF. The PDF is saved under the same name.
Why do Russian or Polish letters show up correctly?
The text is decoded with its real encoding and printed with an embedded font that contains these letters, so it does not depend on fonts installed on the reader's device.
Can it convert Japanese, Korean, Arabic or Chinese text?
Yes, TXT to PDF converts Japanese, Korean, Arabic and Chinese text. Japanese and Korean are drawn with Noto Sans JP and KR and wrap between characters (Korean at spaces); Arabic and Hebrew lines run right to left and end at the right margin, with Arabic letters joined. Chinese uses the Japanese glyph forms (the result says so); characters outside the font subsets print as “?” and are listed.
Can I keep my line breaks?
Yes, TXT to PDF keeps your line breaks. Every line break of the text file starts a new line in the PDF; only lines longer than the page are wrapped.
What about Markdown files?
For headings, lists, tables and code blocks with formatting use Markdown to PDF.
How do I get the text back out of a PDF?
Use PDF to Text.