In this articlewe will explain the process to save a Notepad file in HTML and PDF format. Notepad is a text editor software in Windows computers that lets users create and edit documents. By defaultit saves a file in .txt format. But you may not know that you can also save a Notepad file in formats other than .txt such as PDFHTMLetc.

How to save Notepad file in HTML and PDF format in Windows 11/10
Herewe will explain the process to save a Notepad file in:
- PDF format.
- HTML format.
1] Save a Notepad file in PDF format
You can save a Notepad file as PDF by using Microsoft Print to PDF feature. It is a built-in feature in Windows that lets users convert their documents from one format into PDF.

Follow the below-listed steps:
- Launch Notepad and open your file in it.
- Nowgo to “File > Print.” Alternativelyyou can also press the Ctrl + P keys on your keyboard. A new Print window will open showing different options.
- You have to select the Microsoft Print to PDF option from the list.
- Click on the Print button.
- Name your fileselect the target folder to save itand click on the Save button.
This will save your text file in PDF format. You can open it in a dedicated PDF reader like Adobe or your web browser.
2] Save a Notepad file in HTML format

To save a Notepad file as HTMLyou simply have to change its extension while saving it. Let’s see how to do this:
- Launch Notepad on your system and open a text file in it.
- Nowgo to “File > Save As.” Oryou can simply press Ctrl + Shift + S keys on your keyboard. This will open the Save As window.
- Click on the drop-down menu adjacent to the Save as type and select All files.
- Type .html at the end of the file name and click on the Save button.
This will save your text file in HTML format. Double-click on the saved file and it will open in your default web browser.
That’s it.
Related posts: