Get Source Code of Webpage

Enter a URL

About Get Source Code of Webpage

How to Get Source Code of Webpage?

Have you ever wondered what is behind stunning images, typography and perfect metatags?

Well, all these things are inside your webpage source code. A website source code helps web browsers to make the browsing experience more delightful and comfortable.

  1. you can't see these webpage source codes because they are hidden. However, if you want to show the source code of a particular webpage, then you have to follow some simple steps.

So, without further ado let's get started:

How to get source code?

In order to get the source code of your website, you have to check out the actual code. You can very easily see it on any web-browser. We have included some keyboard commands and steps for Mac and Windows/Linux PCs.

Take a look:

Windows/Linux PCs:

For Firefox: Hold CTRL and press U or go to the “web developer” in the Firefox menu and then go to the “page source”.

For internet explorer:

Just press U while holding the CTRL key or after the right click choose “View Source”.

For Chrome: press CTRL+U or click on the three-dotted lines on the upper right corner and then choose “View source” under the “Tool” section.



For Safari: you can right-click on the webpage and chose “show page source”.

From chrome:

Go to the “view” and click on “view source” under the “developer” section or simply press Option+Command+U.

In order to scan your source code for SEO elements, press CTRL+F.

For Firefox: simply, press right-click on the webpage and chose “page source” or you can also go to the “tools” menu and choose “web developer” menu and then go to the “page Source” section or you can press “U” while holding the “Command” button.

So, now you are able to see the source code of any webpage. But how can you use it for your benefit?

Well, all you have to do is to find information about:

Title tags (starting with <title> and closing with </title>).

Usually, you will find it at the starting part of source code near the <Head> section.


Meta Descriptions: it is another very important factor that significantly affects the SEO process and website ranking. Always try to check the meta description under <meta name=” Description” content=”xvvhvfiefibfibfj” />


H1 headings:

In order to find out the H1 headings. You can check <h1>H1 HEADING</h1>.


Image Alt Tags:

You should know the fact that robotic search engines can’t read your images. That is why you need to insert image alt tags on every single image on your website.

For example, if you running an e-commerce website then you must ensure that title of the image, product name, serial number, brand name etc. are in under alt tag description.

So, it is very easy to get the source code of any webpage. You can use important information such as the title tags, meta descriptions, h1 tags, etc. for your own benefit.

We hope that you find this article helpful in some ways.

Please check out our other articles on SEO and related content.


There are several reasons to want to see the source code of a page. For web developers, you may wish to discover a specific style or an application from another designer. You may be maintaining this site and trying to figure out how a certain part of the web page is displayed or misunderstood.

How can I get access to the source code of a website?

One of the easiest ways to access source code of a website is to use This website provides a very easy tool to find source code of any website, Go to and type the URL name in a given box and click on Get Source code, within few seconds you will see web site's source code displayed in a box. You can easily copy the source code of the website from there.

How to find the source code of a webpage using google chrome?

One of the methods to find the source code of a website is to use the Chrome development tools, which allow you to deepen the code on the page, as well as configure it on the fly for testing and development purposes. The developer tool interface can be opened and closed using the keyboard shortcut: CTRL + SHIFT + I (COMMAND + OPTION + I on macOS).

You can also execute them along the following path:

Find and select the main button of the Google Chrome menu which is located on the upper right corner. It is also represented by the three vertically arranged points. When you find and select the main button of google chrome, you will see the scrolling menu, move the mouse over the Advanced Tools option.

When a submenu appears, select Developer Tools and from there you can have access to website source code.


Viewing a web page source in Chrome for Android as simple as this: add the following text before the address (or URL) - source-view: The HTML and other code of the page in question will be displayed immediately in the active window.


While there is no proprietary method to display source code using Chrome on an iPad, iPhone or iPod touch, the simplest and most effective way is to use a third-party solution, such as the View Source application.

Available for $0.99 on the App Store, View Source prompts you to enter the URL of the page (or copy/paste it from the Chrome address bar), and that's it.