Text to PDF
Turn pasted text or .txt files into a clean PDF of real, searchable text, in any paper size and margin you pick. Nothing is uploaded.
- Runs in your browser
- Nothing is uploaded
- Free, no sign-up
or drop .txt files here, one PDF each. Nothing is uploaded.
Settings
How it works
This text to PDF converter sets plain text on pages the way a text editor prints it: line by line, in the order it is written, with long lines wrapped at the margin and new pages as it fills them. Type or paste text to see the PDF as you go, or open .txt files (logs, notes, code, subtitles, CSV) to get a PDF of each.
The text in the PDF is real text, so it can be selected, searched and copied. It is set in Liberation Mono, a free monospace font that matches Courier New, or Liberation Sans, which matches Arial and Helvetica. Only the letters your text uses are put in the file, so a page of text is about 20 KB. At 10 pt in monospace on A4 or Letter with normal margins, a line holds at least 80 characters, the width most text files are written for.
Have a photo or scan of text instead? Put it in a PDF with JPG to PDF. To get the text back out of a PDF, use PDF to text.
Questions
How do I convert a TXT file to PDF?
Choose the .txt file, or drop it on the box above, and its PDF is made at once. Pick the font, size, paper and margins, then download it. Several files make one PDF each, and you can download them all in one ZIP. To convert text you don't have as a file, paste it into the box instead. There is no account, no watermark and no limit on how many you convert.
Will the PDF keep my layout?
Yes, as far as plain text has one. Every line break, blank line and space is kept, and tabs line up every 8 characters, as in Notepad. In the monospace font every character is the same width, so columns, tables and code drawn with spaces stay lined up. Lines longer than the page are wrapped between words. A page break character (form feed) starts a new page.
Does it work with other languages?
Latin-alphabet languages (Western and Eastern European, Turkish and Vietnamese), Greek and Cyrillic go into the PDF as real text that can be searched and copied. Chinese, Japanese, Korean, Arabic, Hebrew, Thai, Indian scripts and emoji aren't in the font, so the page tells you, and those words go in as pictures drawn by your browser: they look right but can't be searched or copied. Files saved in an older encoding instead of UTF-8 are read in the one your browser's language suggests, and you can choose another.
Is my text uploaded anywhere?
No. The PDF is made in your browser, so the text never leaves your device: nothing goes to kitkeeps or anyone else, and it isn't put in the page address or kept after you leave. That makes it safe for notes, letters and logs you wouldn't paste into an online converter.
Limits
Up to 1,000,000 characters a PDF, about 300 pages, and up to 50 files of 5 MB at once. Files are read as plain text: Word, RTF and PDF files are refused, since their text isn't plain.
Text has no formatting: no bold, headings or links, and Markdown is printed as written. Letters the fonts don't have, such as Chinese, Japanese, Korean, Arabic, Hebrew, Thai and Indian scripts, and emoji, become pictures of the words, drawn with your device's own fonts; they can't be searched, and a text with more than about 1,500 different such lines is refused, since its PDF would be too big. Right-to-left lines sit against the right margin.
Privacy
This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.
Related tools
PDF to text converter
Copy the text out of a PDF or save it as a TXT file, with line breaks kept or joined into paragraphs. Password-protected PDFs too, and nothing is uploaded.
JPG to PDF converter
Convert JPG, PNG, WebP, TIFF or iPhone HEIC images to one PDF, a photo per page and every page of a TIFF. Pick A4, Letter or the image's size. No upload.
Merge PDF
A free PDF merger: combine several PDFs into one, in the order you choose, with only the pages you want. Locked PDFs too, and nothing is uploaded.