Text to PDF
Paste your text or drop a .txt file and get a clean PDF. No sign-up, no limits, and nothing leaves your browser.
0 words · 0 characters
Drop a .txt file here, or click to choose one
Accepts .txt, .log, .md and .csv — up to 20 MB
Page setup and options
Page setup
Text
File name
Type or paste some text first.
Why turn text into a PDF
A .txt file is the most portable thing on a computer and the least presentable. It has no page size, no margins and no fixed line length, so it looks different in every program that opens it. Notepad wraps it one way, a phone wraps it another, and a printer does something else again. Nobody can tell you how many pages it is, because it does not have pages.
Converting text to PDF settles all of that at once. A PDF has a page size, a font, margins and a line length that were decided when the file was made, and every device that opens it afterwards shows exactly the same thing. That is the entire point of the format, and it is why a PDF is what people ask for when something has to be printed, submitted, signed or filed.
There is a second reason that matters more than it sounds: a PDF is taken seriously. A .txt attachment reads as a scratch file. The same words as a PDF read as a document. When you are sending notes to a client, handing in an assignment, or attaching a log to a support ticket, the format is part of the message.
And unlike a screenshot of your text, a PDF keeps the words as words. You can still select them, copy them and search them — which is the difference between a document and a picture of one.
Text file vs PDF: what actually changes
A text file is a sequence of characters with no layout. A PDF is a layout with characters placed into it. Converting one to the other means deciding everything the text file never said.
This is worth understanding, because it explains every option on this page. Your .txt file does not contain a page size, a font, a font size or a margin. None of that information exists in it. So a converter cannot preserve those things — it has to invent them. What you are really choosing above is what they should be.
There are two different jobs hiding under the same search. Pasting text and uploading a .txt file feel like the same thing, and every converter we looked at treats them as one. They are not.
Text you paste has already been decoded by your browser. It arrived as characters, and whatever it is — English, Hindi, Urdu, an emoji — it is unambiguous by the time it reaches the box above.
A .txt file is just bytes, and bytes do not say which alphabet they represent. "Plain text" has never meant one thing. Notepad's "Unicode" option writes UTF-16. Its "ANSI" option writes whatever the machine's regional codepage happens to be — Windows-1252 in Western Europe, GBK on a Chinese system. A file that opens perfectly on the computer it was written on can open as a screen of nonsense on yours, and nothing in the file itself will tell you why.
That is what the encoding setting is for, and it only appears when you upload a file, because it is the only time the question exists. When a file carries a byte order mark we can read it with certainty. When it does not, we look at the bytes, make the best guess we can, and tell you plainly that we guessed — so you can check the preview and correct it in one click instead of downloading a broken PDF and wondering.
The other thing a text file does not carry is any notion of a long line. A line in a log file can be four hundred characters. A PDF page is about ninety. Something has to give, and which way it gives is your call rather than ours: wrap the line so all of it is readable, or keep it on one line the way the original had it. Both are right for different files, which is why both are offered.
How to convert text to PDF
Two ways in, depending on whether your text is already in a file. Both run entirely in this browser tab.
Paste your text, or drop a file
Type or paste straight into the box — that is the fastest route and needs no file at all. If your text is already saved as .txt, .log, .md or .csv, drop it onto the area underneath instead and we will read it in.
Set up the page
Choose A4, Letter or Legal, portrait or landscape, and how much margin you want. Pick a font and a size. For logs, code or anything where columns need to line up, choose Monospace and turn off wrapping.
Check the count, then convert
The word, character and page counts update as you type, so you know roughly what you are getting before you press anything. Name the file if you want something other than document.pdf, then press Convert to PDF.
Download it
The PDF is built in your browser and handed straight to you. Nothing was uploaded at any point, so there is no server copy to delete and no queue to wait in.
Going the other way? If what you actually have is a PDF and you want the words out of it, that is the opposite job — use our PDF to Text tool.
What this converter does
It converts text to PDF in your browser, with the page set up the way you want it, and it does not ask you for anything in return. There is no account, no email, no daily limit and no watermark. Several of the tools ranking for this search will let you convert two files a day, or stop you after a few attempts and ask you to register. This one does not count.
Both inputs are first-class. You can paste, or you can upload a file — you do not have to save your text out to a file first just because a converter expects one.
Page setup is real, not decorative. A4, Letter and Legal, portrait or landscape, three margin widths, three font families and font sizes from 8 to 18 point. A4 is the default because most of the people who search for this are not in the United States.
Monospace and no-wrap exist for a specific kind of file. Logs, config files, source code and anything with columns are unreadable in a proportional font and worse when the lines are rewrapped. Choose Monospace, turn wrapping off, and the file comes out looking like the file. If any line runs past the margin, we count those lines and tell you how many — we do not quietly cut them and say nothing.
Indentation is kept. Tabs become spaces and leading whitespace survives, which matters for exactly the same files.
Non-Latin text is handled properly rather than approximately. Hindi, Bengali, Urdu, Arabic, Russian, Polish, Turkish and more will come out as themselves, with the right font embedded automatically and only when your text needs it — English-only text costs no extra download at all. Where there is a limitation, you will read about it on this page rather than discover it afterwards.
People use this for:
- Notes and drafts that need to be sent or printed
- Assignments and applications that must be submitted as PDF
- Server logs and error output attached to a support ticket
- Source code and config files kept as a readable record
- Chat and message exports saved for a record
- Meeting minutes, lists and plain reports
- Anything written in Notepad that has to look like a document
Works on any device
It runs in the browser, so there is nothing to install and no difference between platforms.
Windows
Convert anything written in Notepad, including files saved as "Unicode" or "ANSI" — we work out the encoding for you.
Mac
Works in Safari, Chrome and Firefox. TextEdit files saved as plain text convert directly.
iPhone and iPad
Paste from Notes or Messages straight into the box. No app to install.
Android
Paste from any app. Keyboards for Hindi, Bengali, Urdu and other scripts work as they do anywhere else.
Linux
Paste terminal output or drop a log file in. Monospace and no-wrap keep it legible.
Chromebook
Runs locally in the browser, which is the only place anything runs on a Chromebook anyway.
Will your language come out right?
This is the question nobody answers, so here is the honest version. The standard fonts built into every PDF cover Western European letters and nothing else. Everything beyond that needs a real font embedded into the file, and for some writing systems that brings a trade-off worth knowing about before you press the button.
| Your text | Displays correctly | Copy and search | Extra download |
|---|---|---|---|
| English and Western European — including the curly quotes, dashes and euro signs that come with anything pasted out of Word | Yes | Exact | None |
| Polish, Czech, Turkish, Russian, Ukrainian, Greek and other Latin or Cyrillic alphabets | Yes | Exact | A font is embedded |
| Hindi, Marathi, Nepali, Bengali, Urdu, Arabic, Persian | Yes | May be out of order | A font is embedded |
| Chinese, Japanese, Korean | Yes | Exact | Large — we ask first |
| Emoji | No — we stop and name them | — | — |
Why Indic and Arabic text can be searchable but not exactly
In scripts like Devanagari and Arabic, letters change shape and change places depending on what is next to them. A vowel mark that belongs after a consonant is drawn before it; separate letters join into a single shape. Getting this right is called shaping, and without it the text is simply wrong — the misplaced matras and broken half-characters people complain about in other converters. We do it. The catch is that the PDF records the order the letters were drawn in, not the order they were typed in, so when you later select or search that text it can come back rearranged. The document looks right, prints right and reads right. It is the invisible copy underneath that may be out of order. We would rather tell you that than let you find out in six months when a search turns up nothing.
How to check it yourself, on any converter
Open the finished PDF, select a line of text, copy it, and paste it somewhere plain. If what comes back matches what you typed, the text layer is sound. If it comes back scrambled, or as boxes, the file is a picture of your words as far as searching is concerned. This test takes ten seconds and works on any tool, including this one.
Your text never leaves your browser
Everything on this page happens on your own device. The text you paste is not sent anywhere, the file you drop in is not uploaded, and the PDF is assembled in this tab and handed straight to you. There is no server copy, which means there is nothing to delete in an hour, or in eight hours, or in twenty-four — the deletion promises other converters make only exist because they took your file in the first place.
This matters more here than on most tools. People paste things into a text box that they would think twice about uploading: a draft resignation letter, a set of credentials, a medical note, a private message thread. The four highest-ranking converters for this search say nothing at all about where your text goes.
The only thing that is ever fetched from the network is a font file, and only when your text uses a writing system the standard PDF fonts do not cover. Your text is not part of that request — we ask for a font, not for anything about you.
No upload
Text and files are processed in your browser.
No account
No sign-up, no email, no daily limit.
No watermark
The PDF is yours, unmarked.
No stored copy
Nothing to retain, because nothing arrives.
Frequently asked questions
Is this text to PDF converter really free?⌄
Do I need to upload my text anywhere?⌄
What is the difference between pasting text and uploading a .txt file?⌄
Will Hindi, Urdu or Bengali text convert correctly?⌄
Can I search and copy the text in the PDF afterwards?⌄
Why will my emoji not convert?⌄
My .txt file came out as garbled characters — what happened?⌄
Can I convert a text file made in Notepad on Windows?⌄
How do I stop long lines from being wrapped?⌄
Is there a limit on how much text I can convert?⌄
Can I choose the page size and the font?⌄
How do I convert a PDF back to text?⌄
Turn your text into a PDF
Paste it in or drop a file. Free, unlimited, and it never leaves your browser.
Convert text to PDFRelated Articles
Deepen your understanding of PDF to PNG conversion with our latest guides and reviews
How to Turn an AI-Generated Story into a Printable PDF (2026 Guide)
Generate a story with AI, lay it out, and export it as a PDF you can print, share, or turn into images and audio. The full workflow, from prompt to finished file.
Read articleHow to Convert a PDF to Audio: Listen to Any Document (2026 Guide)
Turn any PDF into spoken audio — from built-in read-aloud to natural AI text-to-speech. A step-by-step guide to listening to documents hands-free, plus how to handle scanned PDFs.
Read articleHow to Convert PDF to PNG Online (Free & Fast Methods)
Complete guide to converting PDF to PNG online for free. Compare the 5 best converters, learn step-by-step processes, advanced tips, and troubleshooting.
Read articleRelated Conversion Tools
Explore more tools in our comprehensive file conversion suite
PDF to Text
Extract the text and copy it or save a .txt file. Reads the real reading order, picks up filled form fields, and says when a page is a scan.
Merge PDF
Combine multiple PDF files into one — drag to reorder, in your browser. No upload, no Acrobat, no limits.
Compress PDF
Reduce PDF file size by up to 80%