PDFVela — pdfvela.com

How to save a Notepad or .txt file as a PDF

Turn a plain text file into a PDF on Windows, on a Mac or in your browser — and what to do when accented letters break, lines run off the page or the font is too small

By · Updated November 9, 2026

Three ways to do it

A .txt file has no layout of its own, so making a PDF means choosing a page size, a font and margins somewhere. You can do that with the PDF printer that comes with your computer, with TextEdit on a Mac, or with a browser tool that does it in one step.

MethodGood forWatch out for
Print to PDF from NotepadQuick, nothing to openNotepad's header and footer, long lines
TextEdit on a MacMac usersPlain text vs rich text mode
TXT to PDF in the browserPhones, page numbers, old Turkish filesPlain text only, no bold or headings

On Windows: print to PDF from Notepad

  1. Open the file in Notepad.
  2. Press Ctrl + P, or open File → Print.
  3. Choose Microsoft Print to PDF as the printer and click Print.
  4. Pick a folder and a file name in the save window, then click Save.

Notepad adds a header and footer (the file name and page number) to printed pages in many versions. If you do not want them, look under File → Page Setup and clear the header and footer boxes before printing. Menu names differ slightly between Windows 10 and Windows 11.

If Microsoft Print to PDF is not in the list, our guide to printing to PDF on Windows and Mac shows how to switch it back on.

On a Mac: TextEdit

  1. Open the .txt file in TextEdit.
  2. Choose File → Export as PDF.
  3. Name the file and click Save.

TextEdit uses its own font and wraps long lines to the window width. To change the font size first, choose Format → Font → Bigger or Smaller.

In the browser, on any device

TXT to PDF works on Windows, Mac, Android and iPhone:

  1. Choose your .txt file. The text appears in a box where you can fix a typo.
  2. Pick the paper size (A4 or US Letter), orientation, text size and margins. Leave Number the pages on if you will print it.
  3. Press Convert to PDF and download the file.

This route helps when the file comes from an old Windows computer: files saved as "ANSI" in Turkish are detected automatically, so ç, ğ, ı, ş and İ come out right.

Common problems

Letters turn into symbols such as "ç" or "�". The file and the program disagree on the encoding. Save the file again as UTF-8 (Notepad: File → Save as → Encoding: UTF-8) or use a tool that detects it.

Long lines are cut off at the right edge. Some programs print each line as it is without wrapping. Turn on Format → Word Wrap in Notepad before printing, choose landscape, or use TXT to PDF, which always wraps long lines.

The text is too small to read. Increase the font in Notepad before printing, or choose Large text in TXT to PDF.

You have several text files. Convert each one, then put them in order with Merge PDF.

Ready to try it? It is free and your file stays on your device.

Open TXT to PDF

Notepad to PDF questions

Does Notepad have a Save as PDF option?

No. Notepad only saves .txt files. To get a PDF you print to the built-in PDF printer, Microsoft Print to PDF, or open the file in a tool that converts it.

Why do ç, ğ, ş or ı turn into odd symbols?

The file was saved in an older encoding and the program opening it guessed wrong. In Notepad, choose File → Save as and set Encoding to UTF-8, then convert again. PDFVela's TXT to PDF also recognises the older Turkish "ANSI" encoding on its own.

Can I change the font or size in the PDF?

With Print to PDF, the PDF uses Notepad's font, so change it under Format → Font (or the settings menu in newer versions) before printing. In TXT to PDF you pick small, medium or large text and the margins.

Is my file uploaded when I use an online tool?

It depends on the site. PDFVela's TXT to PDF reads and lays out the text in your browser; the file is not sent to a server.