# How To Save Notepad File As PDF Or HTML In Windows 10 Operating System

**URL:** <https://onehack.st/t/how-to-save-notepad-file-as-pdf-or-html-in-windows-10-operating-system/205675>\
**Category:** Tutorials & Methods\
**Tags:** tips-tricks\
**Created:** [November 1, 2021, 6:30am UTC](https://onehack.st/t/how-to-save-notepad-file-as-pdf-or-html-in-windows-10-operating-system/205675 "2021-11-01T06:30:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [November 1, 2021, 6:30am UTC](https://onehack.st/t/how-to-save-notepad-file-as-pdf-or-html-in-windows-10-operating-system/205675/1 "2021-11-01T06:30:10Z")

</div>

With default settings, the Notepad app in Windows 10 saves files as text files. That is, files are saved with the .txt extension.

Although text files are supported across computer and smartphone operating systems, PDF is the best format for sharing a text file with others.

If you want to save a Notepad file in any other format such as PDF or HTML, you can do so as well. The best part is that you do not need to install any third-party software for this job.

## **Save a Notepad file as PDF format in Windows 10**

**Step 1:** Open the text file you want to save as a PDF file in the Notepad app.

**Step 2:** Once the file is open in Notepad, click on the **File** menu, and then click the **Print** option to open the Print dialog.

 ![image](https://onehack.st/uploads/default/original/3X/c/b/cbfe8f878c375a7d8bdfb7478661eac476de832b.png)

**Step 3:** In the Print dialog, select \*_Microsoft Print to PDF_ as the printer in the **Select Printer** section. Click on the **Print** button.

 ![image](https://onehack.st/uploads/default/original/3X/6/6/66d8f25ba10f61a6c6a2c4d1159ad951ec5e7762.png)

**Step 4:** You will now get the **Save as dialog**. Here, type a name for the PDF file and then click the **Save** button. That is it! You can now open the PDF file with any web browser or a dedicated PDF reader.

 ![image](https://onehack.st/uploads/default/original/3X/4/9/49d91d0a7e80e7c34c85251b887b3f1123bc2aed.png)

## **Save a Notepad file as an HTML file in Windows 10**

**Step 1:** In the Notepad, click on the **File** menu and then click the **Save as** option.

 ![image](https://onehack.st/uploads/default/original/3X/c/e/ce6a184ef219102d1c89e32c9c60d23ddb7664d7.jpeg)

**Step 2:** In the resulting Save As dialog, type a name for the file. At the end of the file name, mention **.HTML** and then select the option labeled **All files** from the **Save as type** drop-down menu.

 ![image](https://onehack.st/uploads/default/original/3X/1/f/1f642a87edb9328c827b63431218d9199dd8853e.jpeg)

**Step 3:** Finally, click on the **Save** button. That is it!

**Happy learning!**
