Convert text to PDF,free, in your browser
Drop a .txt file or paste your text. The PDF keeps real, selectable characters and your file never leaves the device.
The PDF is drawn inside your browser tab. Your text is not uploaded, so there is no copy of it anywhere but your own device.Free to use: 25 MB per file, A4 portrait at 11 pt. Latin characters only, and no watermark.
Add your text
Drop a .txt, .log or .csv file, or paste text directly.
Convert
Lines wrap to A4 width in a monospace font, keeping your spacing and blank lines.
Download
Save a compact PDF you can search and copy from.
How to convert a text file to PDF
The conversion is simple, and so are its limits. Below: how wrapping and indentation are handled, why some characters come out as question marks, and what to do about other alphabets.
Convert a .txt file to PDF
Drop a .txt, .log or .csv file onto the upload card, or click it to browse. Pasting works too: the box below the card takes anything you can copy, up to 25 MB.
Click Convert. The text is laid out on A4 portrait pages at 11 pt with a 20 mm margin, and the PDF downloads on its own. There is no signup and no email step.
Keep the text selectable and searchable
This tool draws your characters into the PDF as real text. Open the result in any reader and you can select a line, copy it, and search it with Ctrl+F. The file stays small too, usually a few kilobytes per page.
That is worth knowing because plenty of online converters do the opposite: they photograph each page, so the result looks right but holds no characters at all, and a search finds nothing. Here the words are really in the file, so you can pull them back out later.
See also: Extract text from a PDF
What happens to very long lines
Lines wrap at the page width, breaking at a space so words stay whole. A run with no spaces in it, such as a long URL, a base64 blob or a git hash, has no break point of its own, so it is cut at the margin and carried onto the next line. Nothing is silently lost off the right edge.
Keep blank lines, indentation and aligned columns
Blank lines are kept as blank lines, leading indentation is kept, and the gaps that line up columns in a report survive the wrap. A monospace font is used for exactly that reason: every character is the same width, so a table of numbers stays a table. Tab characters are expanded to four spaces.
Convert a log file to PDF
Drop the .log straight in. Timestamps, levels and stack traces keep their spacing, so the file reads the same on paper as it does in a terminal. Long request URLs and stack frames wrap rather than disappear. This is the usual way to attach a log to a ticket or a compliance pack without zipping it.
Convert a CSV to PDF
A CSV converts as it is written: raw comma-separated lines, one per row, not a bordered table. That is right when you want an exact record of the file. If you want columns and borders, open the CSV in a spreadsheet, save it as a workbook, and convert that instead.
See also: Convert a spreadsheet to PDF
Why did some characters turn into question marks
The PDF is drawn with a built-in font, and that font only covers Latin characters. Anything outside it is replaced with a question mark, and the tool lists a warning so you know it happened.
The usual culprits are quiet ones: curly quotes, en and em dashes, the single-character ellipsis, bullet points and the euro sign. Accented Latin letters such as é, ü and ñ are fine, and the pound sign is fine.
Convert text in Hindi, Chinese, Arabic or Cyrillic
Those alphabets are not supported yet, here or in the other converters, and they come out as question marks. There is no workaround on the site today. If the document has to keep its script, print it to PDF from the app that made it and use our tools on the result.
Convert text copied out of Word or Google Docs
Word processors quietly swap straight quotes for curly ones and hyphens for dashes, and those are exactly the characters this tool cannot draw. Do a find and replace back to straight quotes first, or convert the document itself rather than the copied text.
See also: Convert a Word document to PDF
Change the font, size or page layout
There are no settings on this page. Every conversion is monospace, 11 pt, A4 portrait, with a 20 mm margin, and there is no landscape option. That is deliberate, since it is what keeps columns aligned. To change the look, convert first and then edit the PDF.
See also: Edit the PDF
Add page numbers to a long text file
Nothing is added to the page automatically: no page numbers, no header, no footer, no filename. A 200 page log converts as 200 bare pages. Run the finished PDF through the page-number tool if the reader will need to cite a page.
See also: Add page numbers
How big will the PDF be
Small. Because the characters are stored as text rather than as an image of the page, a long document usually comes out at a few kilobytes per page. A 500 page log stays comfortably emailable.
Convert text to PDF without uploading it
The file is read into the browser tab and the PDF is built there. Nothing is sent anywhere, which is the point when the text is an export, a database dump, or a log with customer data in it. No server copy, no retention window, no account to close afterwards.
Convert as many files as you like
Ten finished files a day on the free plan, shared across every tool; Pro removes the count. The result carries no watermark on any plan, and no signup is needed to convert or to download.
Converting text to PDF, answered
Does my text file leave my device?
The PDF is built in your browser. Nothing is uploaded, which matters when the file is a log, an export or anything else you would rather not hand to a website.
Can I select and search the text in the PDF?
Yes. The characters are drawn into the PDF as real text, not as a picture of text, so you can select them, copy them, and find words with Ctrl+F. That also keeps the file small.
What happens to very long lines?
They wrap to the page width. A single unbroken run with no spaces, such as a long URL or a hash, is cut across lines rather than running off the edge of the page.
Does it keep my line breaks and blank lines?
Line breaks and blank lines are preserved exactly, and tabs become four spaces. A monospace font is used so aligned columns in logs and reports stay aligned.
Why did some characters become question marks?
The built-in font only covers Latin characters. Curly quotes, en and em dashes, the ellipsis, bullets and the euro sign all get replaced with a question mark, along with Hindi, Chinese, Arabic, Cyrillic and emoji. The tool says so after the conversion rather than letting you find out later.
Can I choose the font, size or page orientation?
Not on this page. Every conversion uses a monospace font at 11 pt on A4 portrait with a 20 mm margin, which is what keeps log columns lined up. Open the result in the editor if you need to change how it looks.
Can I convert a .log or .csv file?
Any plain text file works. A CSV converts as raw comma-separated lines rather than a formatted table, so use it when you want a readable record of the file rather than a spreadsheet layout.
Does the PDF have a watermark?
Never, on any plan. The pages hold your text and nothing else.
How many files can I convert per hour?
The free plan covers 10 finished files a day, shared across every tool, and it resets at midnight UTC. The conversion still happens on your own machine, so there is no queue to wait in.
Want to change how the pages look?
Open the converted file in the editor to restyle a heading, add a note, or drop in a logo.
Edit a PDF nowPDF to JPG
Turn every PDF page into a JPG. Quality selector, ZIP for multi-page.
OpenPDF to PNG
Turn every PDF page into a crisp, lossless PNG. ZIP for multi-page.
OpenJPG to PDF
Combine JPG and PNG images into one PDF. Reorder pages, then download.
OpenWord to PDF
Turn a .docx into a PDF (text, images, tables, links) without leaving your browser.
Open