1. Home
  2. PDF Tools
  3. Text to PDF Converter (Notepad to PDF)

Text to PDF Converter (Notepad to PDF)

Paste text or open a Notepad .txt file and turn it into a tidy PDF with your choice of font, size, page size, margins and page numbers.

Drop a .txt file here or click to openOr type / paste text in the box below
Options

Runs locally in your browser. Your files and data are never uploaded or stored.

About the Text to PDF Converter (Notepad to PDF)

Plain text files from Notepad, TextEdit, code editors or log files are easy to write but awkward to share and print. The Text to PDF Converter turns any text into a properly formatted PDF document: long lines wrap neatly inside the margins, blank lines are kept, and pages break automatically.

You choose the look: a sans-serif, serif or monospace font (monospace keeps code and ASCII tables aligned), the font size, the page size (A4, Letter, Legal, A5 or A3), portrait or landscape orientation, the margins and optional page numbers at the bottom of every page.

For English and other Latin-alphabet languages the PDF contains real, selectable and searchable text using the standard PDF fonts, which keeps the file very small. Text in other scripts, such as Hindi, Urdu, Arabic, Chinese, Japanese, Korean, Thai or Russian, is laid out by your browser with your device's fonts so every character appears correctly.

Open a .txt file or simply paste text. Nothing is uploaded; the PDF is generated on your device.

Choosing settings for different kinds of text

TextFontSizeMargins
Letter, notes or a storySerif (Times)12 ptNormal
Code, logs or a table made with spacesMonospace (Courier)9–10 ptNarrow
Lyrics, a speech or large-print textSans-serif14–16 ptWide
Very wide log linesMonospace9 ptNarrow, landscape

Useful details

  • Monospace keeps columns lined up. Each character has the same width, so text aligned with spaces stays aligned.
  • Page numbers help when the PDF will be printed and the pages could get mixed up.
  • Blank lines are kept, so leave an empty line between paragraphs to make them easy to read.
  • The text in the PDF can be selected and searched, so readers can copy parts of it later.

How to use the Text to PDF Converter (Notepad to PDF)

  1. Drop a .txt file or paste your text into the box.
  2. Choose the font, size, page size, margins and orientation.
  3. Tick "Page numbers" if you want them.
  4. Click "Create PDF" to download the document.

Frequently asked questions

Does it support Urdu, Hindi, Arabic or Chinese text?

Yes. Text in any language is supported. Non-Latin scripts are drawn with your device's fonts so every character shows correctly.

Can I start a new page at a certain point?

Yes. Put a form-feed character (often shown as ^L in code editors) on its own line where you want a page break.

Is the text in the PDF selectable?

For Latin-alphabet text, yes: it uses real PDF text. Other scripts are rendered as high-quality page images.

Is there a size limit?

No fixed limit. Even text files with hundreds of pages usually convert in a few seconds.