How to Change Default View Source Editor (HTML Viewer) in IE8
The default View Source editor is no longer Notepad in Internet Explorer 8, whether it’s in the IE8 which built-in by default in Windows 7 or IE 8 that is downloaded and installed by end-user on Windows Vista or Windows XP. In IE8, when user clicks on “View Source” command from “Page” menu or in right click context menu, the HTML source code of the web page is opened in a built-in viewer, instead of Notepad, which is used in IE7 or older version of IE.
The Internet Explorer 8 built-in viewer is included as part of the Developer Tools in IE8. The built-in web page source code viewer has many features and functions, such as allowing user to save as HTML source or Formatted HTML View, dynamically refresh the displayed source code window, increase or decrease text size, print, copy and paste, and etc. However, some users have preferred to use Notepad or other text editor instead to replace the built-in viewer, which provide more flexibility, such as direct editing of the HTML source code.
IE8 does provide an easy way to change the default HTML source code viewer. In fact, there are many ways to change the associated default HTML View Source editor or viewer. Just pick one of the preferred methods listed below.
Method 1: Change Default View Source Editor or HTML Viewer with IE8 Developer Tools
- Launch Internet Explorer 8.
- Click on Tools on menu bar, and select Developer Tools in the pull down menu.
Alternatively, press F12 to start Developer Tools.
- Click on File on menu bar, and select Customize Internet Explorer View Source
- The following three options are available:
Default Viewer
Notepad
Other…Default Viewer will use the default IE8 built-in viewer, Notepad will display HTML source code on Windows built-in Notepad program. Selecting Other will prompt a dialog box to select the executable or program file of the preferred text editor.
Method 2: Manually Edit The Registry Key
- Click Start -> Run, then type RegEdit.
- Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer
- Create a sub-key named as View Source Editor under “Internet Explorer”.
- Create a sub-key named as Editor Name under “View Source Editor”. For example, the complete registry key name is now:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name
- Change Default value of “Editor Name” to Notepad.exe (to choose Notepad as default HTML viewer) or another other full path to a text editor’s EXE file as its value data (for Notepad++, Notepad2 or etc).
- Exit Registry Editor.
Method 3: Download Registry Fix
For user who intends to set Notepad as the default View Source editor in IE, just download the following registry registration file:
Run and execute viewsource_notepad.reg to set Notepad as the default HTML source code viewer in IE8. To revert and restore the original setting so that built-in viewer of IE8 as default View Source editor, run and execute viewsource_default.reg. Note that registry registration files in the ZIP archive will both work in IE6 or IE7 too, but will both set Notepad as the default View Source editor.
Method 4: Third-Party “View Source Editor” Editor
There are few utility that able to help user to change default View Source viewer/editor used to display a web page HTML source code. One such utility is Iconico View Source Editor, which available for free download: ViewSourceEditor.zip. With built-in View Source editor changer in IE8 (method 1), third party apps are less useful, as it provide similar function which allows user to choose which program that they want to use as default viewer to open HTML source code of a web page.
Related Articles
- How to Change IE Default View Source Editor from Notepad to Other Text Editors
- How to Open and View or Extract CHM (Compiled HTML) Files in Linux
- Change and Set Different Input Method (Letter or Block Recognizer) as Windows Mobile Default After Soft Reset
- How to Change Windows Explorer Default Folder
- How to Edit or Change File Type or Extension Associations (Default Programs) in Windows Vista
- Firefox Add-on: Download ThinkFree Viewer to View Any Document Without Installing Office Suite
- Switch, Change or Set 64-Bit Windows Media Player 11 (WMP11) in Windows Vista x64 as Default
- Download Free Microsoft Photo Info 1.0 (EXIF, IPTC and XMP Viewer and Editor)
- Change My Documents Folder Default Location Path in XP and Vista
- Display and View FireFox Cache Files Without Browser Cache Viewer










































November 10th, 2009 02:52
[...] Update: How to Change Default View Source Editor or HTML Source Code Viewer [...]