Get Source Code of Webpage
Enter a URL
How to Get Your Website Source Code?
Underneath all the beautiful images, perfect typography, and wonderfully placed calls to action that you may have on a site, lies your webpage source code. This is the code that your browser turns into delightful experiences for anyone visiting your site on a daily basis. In other words, all issues of a site are corrected in the webpage source code.
Google and other search engines like Yahoo and Bing, just to name a few, read this code to determine where your Webpages should appear in their indexes for a given search query.
How to View a Site's Source Code
There are three (3) ways you can do this.
- Use the keyboard commands provided below;
- Firefox – CTRL + U (Meaning press the CTRL key on your keyboard and hold it down. While holding down the CTRL key, press the “u” key.) Alternatively, you can go to the “Firefox” menu and then click on “Web Developer,” and then “Page Source.”
- Internet Explorer – CTRL + U. Or right click and select “View Source.”
- Chrome – CTRL + U. Or you can click on the weird-looking key with three horizontal lines in the upper right hand corner. Then click on “Tools” and select “View Source.”
- Opera – CTRL + U. You also can right click on the webpage and select “View Page Source.”
- Safari – The keyboard shortcut is Option+Command+U. You also can right click on the webpage and select “Show Page Source.”
- Firefox – You can right click and select “Page Source” or you can navigate to your “Tools” menu, select “Web Developer,” and click on “Page Source.” The keyboard shortcut is Command + U.
- Chrome – Navigate to “View” and then click on “Developer” and then “View Source.” You can also right click and select “View Page Source.” The keyboard shortcut is Option+Command + U.
- Do a Right Click on the site without pressing any keyboard command and then click view source code;
- Or simply use our SEO Prime Tools "Get Source Code of Webpage" to do the job for you in a matter of seconds.
Once you are able to view the source code, you can apply the same search functions you use for normal web browsing to searching in your source code. For example; commands like CTRL + F (for Find) will help you quickly scan your source code for important SEO elements.