Convert to PDF

Text to PDF — make a clean document from plain text

Type or paste your text, or drop a .txt file, and get a properly laid out PDF with a title, page numbers and real selectable text. No word processor needed.

No upload Files stay in your browser Free, no signup Works offline

How to convert text to PDF

Type, paste or upload

Write directly in the box, paste from anywhere, or load a .txt file. A sample letter is one click away if you want to see how it works.

Set the layout

Choose A4 or Letter, pick a font and size, adjust line spacing and set the margin you want.

Create the PDF

Press “Create PDF”. Long text flows onto as many pages as it needs, with page numbers added automatically.

The output contains real text, not a picture of text — so it stays sharp at any zoom level and can be searched and copied.

Features

Real selectable text

Not a screenshot: the words are actual PDF text, so they can be searched, copied and read by screen readers.

Automatic page breaks

Long content flows across as many pages as needed, with optional page numbers in the footer.

Titles and headings

Add a heading at the top in a larger bold font, useful for letters, notices and summaries.

Optional line numbers

Number every line — useful for draft review, legal text and code listings.

Five page sizes

A4, Letter, Legal, A5 and A3, in portrait or landscape.

Private and offline

Nothing is uploaded. Your notes, drafts and letters are processed entirely on your device.

When plain text needs to become a PDF

Plain text is the most universal format there is, and also the least presentable. Notes taken in a browser tab, a message drafted in a text editor, a program’s log output, a list copied out of a database — all of it is fine on screen and awkward to send to anyone.

Converting to PDF fixes four things at once. The layout becomes fixed, so line breaks no longer depend on the reader’s window width. You gain a title, page numbers and consistent margins. The file gains a page count, which matters for printing and for official submissions. And the recipient cannot accidentally delete a line while reading it.

Common real cases: printing a leave application or a rent receipt, submitting a typed declaration to a portal that only accepts PDF, turning a CS project’s output log into an appendix, and archiving chat messages or notes as a fixed document.

Layout controls that matter more than they sound

Line spacing is the single biggest readability win. At 100% the lines almost touch; 140% is the pleasant default for a letter; 160–180% suits dense text that will be read on screen. For documents a reviewer will annotate by hand, go higher still.

Font choice carries meaning. Helvetica is neutral and modern, which suits notices, reports and technical documents. Times Roman reads as formal and slightly old-fashioned, which is exactly right for official letters and anything addressed to a government department. Courier is fixed width, so columns of numbers line up — the right choice for code and tabular logs.

Margins are practical, not decorative. A 20 mm margin looks balanced on A4. If the document will be hole-punched or bound, 25–30 mm on the binding side avoids losing text. If it will be pasted into another document, wider margins make it easier to cut.

Justified text straightens the right edge, which looks tidier for paragraphs. It can create stretched gaps in narrow columns, so it is worth trying both ways on a short sample before committing.

An honest note about languages and special characters

The built-in PDF fonts used here are the standard fourteen that every PDF reader is guaranteed to have. They cover English and most Latin-script European languages, including accented characters such as é, ü, ç and ñ, and common punctuation like em dashes and curly quotes, which are converted automatically.

They do not cover Devanagari, Tamil, Bengali, Arabic, Chinese, Japanese, Korean or Cyrillic. If you paste Hindi or Tamil text, those characters are replaced with a question mark, and the tool warns you clearly so you are not surprised by the result.

For Indian language documents there is a better route on this site: use the HTML to PDF tool, which lays out text through a different engine that handles a wider range of scripts, or use your operating system’s own print-to-PDF with a font that supports the script. We would rather tell you this plainly than produce a document you cannot read.

A practical workflow for long text

For anything longer than a page, a small amount of preparation saves a lot of fiddling. Put a descriptive title in the heading field — recruiters and clerks read file names and headings first, and a document that says “Leave application, October 2026” is easier to file than “Untitled”.

Keep one blank line between paragraphs rather than using indentation; blank lines survive the conversion to every font and size combination predictably. If your source text has hard line breaks in the middle of paragraphs, the tool can be set to treat each line as its own paragraph — which is usually what you want for lists and code, and usually not what you want for prose.

Finally, turn on page numbers. Any document longer than two pages will be printed and dropped at some point, and a page without a number is a page that can be lost in the wrong order.

Frequently asked questions

Is the text in the PDF selectable?

Yes. This tool writes real text into the PDF using standard embedded fonts, so you can select, copy, search and zoom without any loss of sharpness. It is not a picture of your text.

Can I write in Hindi or another Indian language?

Not with this tool — the built-in PDF fonts cover Latin scripts only, and unsupported characters are replaced with a question mark with a clear warning. Use HTML to PDF for other scripts, or your operating system’s print-to-PDF with a suitable font.

Can I upload a .txt file instead of typing?

Yes. Use the file picker in the extra controls, and the text is loaded into the box where you can still edit it before converting. You can also drop a .txt file into the main upload box.

How long can my document be?

There is no length limit. The text flows onto as many pages as it needs, with page numbers added automatically. Documents of a few hundred pages convert in a second or two.

Can I add line numbers and page numbers?

Yes, both are available as checkboxes. Line numbers are handy for reviewing drafts or referencing specific lines in code; page numbers go in the footer, centred.

Does it keep my line breaks exactly?

Yes. Each line break in your text becomes a new line in the PDF, and long lines wrap automatically. That makes it good for lists, logs and code as well as prose.

Is my text uploaded anywhere?

No. The conversion happens entirely in your browser. There is no server component, so your text — whether it is a personal letter or confidential notes — stays on your device.

Written and maintained by the PDFUtilise team. Last reviewed: 2026-10-07. Found a problem with this tool? Tell us — we fix reported bugs fast.