When you choose "Save As", just type "filename.html" manually. It should save it as an html file that your default browser will load. The file's icon should become that of your default browser (i.e. Chrome or Edge).

This not only works for Notepad, but also new blank files you create inside your working folder when using code editors such as VS Code, Sublime Text, Atom... etc.

Answer from Haley A on Stack Overflow
๐ŸŒ
Cantech
cantech.in โ€บ home โ€บ how to save html file in chrome, notepad, desktop & mobile
How to Save HTML File in Chrome, Notepad, Desktop & Mobile
March 9, 2024 - Open Notepad from the Start Menu and write your HTML code. Once you are done editing and when you want to save the file go to File menu > Save As option. Type the file name that you want to keep and add a .html extension to it.
๐ŸŒ
YouTube
youtube.com โ€บ watch
How to Save HTML File in Chrome From Notepad - Detailed Tutorial [2025] - YouTube
How to Save HTML File in Chrome From Notepad Saving an HTML file in Chrome from Notepad is a simple process that allows you to create and view your own web ...
Published ย  February 2, 2025
Discussions

html - I am coding in Notepad but I cannot save because there is no file extension" (*.*)" after " All Files" - Stack Overflow
I am coding in Notepad and unable to save the file and then launch it into a web browser because instead of "All Files (.)" appearing when I select "save as" all I can see is "All Files" without th... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Chrome to save HTML content - Stack Overflow
I use 'Save As' in Chrome to save it as an html file. When I inspect the file in Notepad, I can't find any data/informationn that shown in Chrome. More on stackoverflow.com
๐ŸŒ stackoverflow.com
Saving a plain text file as HTML document.
I'm really not following your problem. Notepad++ does allow multiple files to be opened at once - each in its own tab. If I saved a text file as an HTML document, it would alter my plain text file (but not turn it into the web page type document I wanted) I'm really not following this. MS Notepad doesn't "turn it into a web page". HTML is is still a plain text file. But, a browser will render the HTML if the file has a .HTML extension. refuse to save changes giving me an error message that "You already have this document opened." This doesn't make any sense. I feel like you have a very unusual use case or there's something significant that you're not explaining. Notepad++ doesn't lock files when opened in my experience. Are you opening the file in another application, such as MS Word, that might lock the file for saving? Addendum: Part of the problem might be because you got "rid of those (really annoying) tabs" NPP was designed to use the tabs. If you don't like the tabs, then you're probably better off just using MS Notepad. More on reddit.com
๐ŸŒ r/notepadplusplus
12
3
November 17, 2022
microsoft edge - Can't get my .html files to save in chrome - Stack Overflow
When I click the "save as" button on Notepad and save it, it has the Edge icon instead of the Chrome one on the file icon and opens in Edge instead of ChromeImage: More on stackoverflow.com
๐ŸŒ stackoverflow.com
People also ask

How to Save as an HTML File in Notepad?
Open the โ€˜Notepadโ€™ from the Start Menu of the Desktop and enter your code. Once you are done go to File > โ€™ Saveโ€™ or โ€˜Save Asโ€™ option. You can also use the shortcut Ctrl+S or Ctrl+Shift+S respectively. In the dialog box, choose โ€œAll Filesโ€ from the โ€œSave as typeโ€ dropdown menu, also, choose the location or create a folder in your preferred directory for your file and save it with the .html extension in the file name (Example, abc.html).
๐ŸŒ
cantech.in
cantech.in โ€บ home โ€บ how to save html file in chrome, notepad, desktop & mobile
How to Save HTML File in Chrome, Notepad, Desktop & Mobile
How to save HTML Code in Notepad?
Write your code and choose the Save As option from the File Menu or simply press Ctrl+S on the keyboard. Save the file with the .html extension at your preferred location.
๐ŸŒ
cantech.in
cantech.in โ€บ home โ€บ how to save html file in chrome, notepad, desktop & mobile
How to Save HTML File in Chrome, Notepad, Desktop & Mobile
How to Make an HTML File in Notepad?
Open Notepad from the Start Menu and write your HTML code. After you are done go to File menu > Save As option. Type the file name that you want to keep and add a .html extension to it. Select โ€˜All Filesโ€™ in the โ€˜Save as typeโ€™ dropdown and click on the Save button.
๐ŸŒ
cantech.in
cantech.in โ€บ home โ€บ how to save html file in chrome, notepad, desktop & mobile
How to Save HTML File in Chrome, Notepad, Desktop & Mobile
๐ŸŒ
Programming Head
programminghead.com โ€บ how-to-create-save-and-open-an-html-file-in-notepad
How to Create, Save and Open a HTML file in Notepad
Or open that Text file in Notepad Text Editor and Select file from top Navigation bar. A File menu will appear on the Screen select Save As Option from there and Save your File with .html or .txt Extension. To Open or Run an HTML file in Chrome Browser we need to Double click on that HTML file.
๐ŸŒ
YouTube
youtube.com โ€บ netcast on webtech zone
How to Save HTML File in Chrome | How to Save HTML File and Open on Chrome From Notepad - YouTube
How to Save HTML File in Chrome. just follow this tutorial and learn, How to save a Notepad file as HTML in Chrome?
Published ย  December 15, 2022
Views ย  14K
๐ŸŒ
Scaler
scaler.com โ€บ home โ€บ topics โ€บ how to save html file?
How to Save HTML File? - Scaler Topics
June 9, 2024 - Once you click on open, the file will be opened in the Notepad editor, and you can edit it. Now you can edit the file and can save it by pressing Ctrl +S or by going to File then Save.
Find elsewhere
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 41421753 โ€บ chrome-to-save-html-content
Chrome to save HTML content - Stack Overflow
I use 'Save As' in Chrome to save it as an html file. When I inspect the file in Notepad, I can't find any data/informationn that shown in Chrome.
๐ŸŒ
Reddit
reddit.com โ€บ r/notepadplusplus โ€บ saving a plain text file as html document.
r/notepadplusplus on Reddit: Saving a plain text file as HTML document.
November 17, 2022 -

Back when I used to use MS Windows' Notepad, my primary use of that program, in addition to creating plain text files to store info, was to create lists of active links by writing in basic HTML language on a text file, and saving as an HTML document, in addition to also saving the original source code as a plain text file.

In Notepad++ I couldn't do this. If I saved a text file as an HTML document, it would alter my plain text file (but not turn it into the web page type document I wanted) and then refuse to save changes giving me an error message that "You already have this document opened."

After much head-banging I finally realized that, unlike MS Notepad, Notepad++ does not allow two documents to be opened at the same time, and that was the crux of the problem. (The fact that MS Notepad allows multiple documents to be opened at one time is perhaps the only attribute to recommend it.)

Probably everyone else (more techy than I) knows this, but just in case some other lost soul is struggling with it, this is the way:

Instead of opening a plain text document that you wish to save as an html doc, right click on it and select "edit." Then make changes (if needed) to the plain text document and click "Save." Next "File" - "Save as" and in "File Name" enter name with dot html extension. In "Save as Type" select "All Files." Click "Save."

Using "Edit" to save plain text documents as html documents solved all my problems. I've learned that Notepad++ really doesn't like 2 documents open at once. So from now on, I'll respect that!

๐ŸŒ
Computer Hope
computerhope.com โ€บ issues โ€บ ch001877.htm
How to Convert an HTML Document to a Text Document
June 1, 2025 - Once Notepad is open with the HTML code, click File, then Save as, choose the location where you want to save the file, then click the Save button to save as a text document.
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 62458774 โ€บ cant-get-my-html-files-to-save-in-chrome
microsoft edge - Can't get my .html files to save in chrome - Stack Overflow
When I click the "save as" button on Notepad and save it, it has the Edge icon instead of the Chrome one on the file icon and opens in Edge instead of ChromeImage: ... Sign up to request clarification or add additional context in comments.
๐ŸŒ
Wikihow
wikihow.com โ€บ computers and electronics โ€บ internet โ€บ website and blog creation โ€บ how to save a text document as an html file (windows & mac)
How to Save a Text Document as an HTML File (Windows & Mac)
July 14, 2025 - Open the code file in a plain text editor like Notepad or TextEdit. Add <html></html> tags around the code. Save the document as an .html or .htm file.
Top answer
1 of 2
4

The simplest thing I can think of is to open the file you want to save as source code, which you can do from Chrome Android by prepending view-source to the URL, like so.

view-source:https://my-site.tld/xxx/my_page.html

You can then either copy and paste this code into a local file, or use the share button to open it with a compatible app of your choosing.

If this seems like too much of a pain, you might consider doing something like using PHP to determine whether the file should be viewed or downloaded. For example if the IP address of the request matches your phone, download instead of displaying the file.

<?php
/**
 * File url: https://my-site.tld/xxx/my_page.php
 *
 */

$remote_address = filter_input(INPUT_SERVER, 'REMOTE_ADDR', FILTER_SANITIZE_STRING);

if ($remote_address === '56.57.58.59') {
    header("Content-Disposition: attachment; filename=\"filename.html\"\n");
    header("Content-Type: text/html\n");
}

?>
<!-- Begin actual page content -->
<!DOCTYPE html>
<html lang="en-US">
    <meta charset="UTF-8">
    ....

Conversely, you could also simply create a separate page to allow a download regardless of the requesting IP address.

<?php
/**
 * File url: https://my-site.tld/xxx/my_page-download.php
 *
 */

header("Content-Disposition: attachment; filename=\"filename.html\"\n");
header("Content-Type: text/html\n");
readfile('path/to/file');

Additional information about the Content-Disposition header may be found in the Mozilla Developer Docs. It's not the only resource, of course, it's just my personal favorite.

2 of 2
0

You can copy the html raw content (from view-source) into the textarea on this page https://jsfiddle.net/o19q5tzy and press download.

The webpage only contains

<a id="link" href="" download='tmp.html'>download</a><br>
<textarea oninput="link.href = window.URL.createObjectURL(new Blob([this.value], {type: 'plain/text'}))" style="width: 100ch; height: 40ch"></textarea>
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ html โ€บ how-to-access-an-html-document-in-a-browser
How to access an HTML document in a browser ? - GeeksforGeeks
June 1, 2022 - Method 1: The file must be saved in .html format. The HTML file opens with Default Browser. Method 2: Drag and Drop the HTML file to the Default Browser. Method 3: Access an HTML File in a Browser using Notepad++
๐ŸŒ
Depaul University
condor.depaul.edu โ€บ sjost โ€บ hci201 โ€บ documents โ€บ notepad.htm
Using Notepad
Invoke Notepad by selecting Start, All Programs, Programs, Accessories, Notepad. Type in your HTML text. Save your file by selecting main menu item File, Save As ...
๐ŸŒ
WinBuzzer
winbuzzer.com โ€บ home โ€บ how to download a html page in chrome with images and everything else
How to Download a HTML Page in Chrome with Images and Everything Else
November 7, 2024 - We show you how to download a webpage in Chrome as a HTML file, as well as how to save a link as a desktop shortcut.
๐ŸŒ
W3Schools
w3schools.com โ€บ html โ€บ html_editors.asp
HTML Editors
Then under "Open and Save", check the box that says "Display HTML files as HTML code instead of formatted text". Then open a new document to place the code. Write or copy the following HTML code into Notepad:
๐ŸŒ
daily.dev
daily.dev โ€บ home โ€บ blog โ€บ get into tech โ€บ download html page: step-by-step guide
Download HTML Page: Step-by-Step Guide
December 22, 2025 - Type a name for your file and choose "Webpage, Complete (*.htm, *html)" in the "Save as type" dropdown. Hit "Save". ... Open Chrome and go to the page you want to save.