This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I edit an html file in Firefox using View Source?

  • 5 replies
  • 35 have this problem
  • 1 view
  • Last reply by LexieMac

more options

I have created an html webpage and saved it to my pc. I can't edit the html file in firefox when I right click on the page and select "View Source". I can view the code but I can't edit it. I can do this in IE9.

I thought I was able to do this before in Firefox.

Did my settings change somewhere that I can no longer do this?

Do I have to have something checked in the Web Developer extensions for it to work?

I'm using Firefox 24.0

Thank you for any help with this. :)

I have created an html webpage and saved it to my pc. I can't edit the html file in firefox when I right click on the page and select "View Source". I can view the code but I can't edit it. I can do this in IE9. I thought I was able to do this before in Firefox. Did my settings change somewhere that I can no longer do this? Do I have to have something checked in the Web Developer extensions for it to work? I'm using Firefox 24.0 Thank you for any help with this. :)

Modified by LexieMac

All Replies (5)

more options

The View Source window in Firefox cannot be used to change computer codes. Nor can the Web Developer tools.

Sorry for any inconvenience.

I suggest using Programmer's Notepad.

more options

copy the source code on the note pad edit it and save it as html open with firefox till the bug is fixed

more options

You cant permenatly change the HTML in the page using any inspector,on any browser, it only lasts until a refresh.

I would look for a alternative to notepad, as on windows this is the only way to edit HTML that comes with windows.

Modified by kobe

more options

Firefox allows you to designate an external program as your source viewer, but I think it still will open the page from Firefox's cache, and not open the original source page.

Maybe you had an extension before that could open the actual source file corresponding to a file:// URL in a real editor?

more options

Yes you can edit a locally saved html file in IE9 by right clicking the page in the browser window, choosing "view source" which opens in notepad and editing the code and then go to file and save the changes.

You can do the same thing In Firefox by opening Firebug and then opening the Firebug editor which is notepad.

I just thought I remembered doing it by just right clicking the page and opening "view source" in Firefox just as I did in IE9.

There are a lot of options in the Web Developer Extensions and the Web Developer/ Firebug that can be checked and unchecked. I thought I might have messed up those.