How to view the code behind a website

If you would like to take a look behind the scenes and view the code behind a website, the quickest and easiest ways to do this are listed below. You will need to check which browser you are using e.g. Google Chorme, Mozilla Firefox, Safari, Opera, Explorer.

View HTML source code behind a website

Internet Explorer shortcut keys - view the code behind a website

Internet Explorer Shortcut keys

  • Go to the web page that you want to view
  • Explorer Shortcut keys: Press Shift+F12 and the code should appear in a separate window
  • If this does not work, hold the mouse pointer over a blank part of the web page, right click and choose “HTML“.
  • Alternatively from the menu bar select View and choose “HTML” or “Source” depending on the version you are using.
  • PRO TIP: here are some awesome free tests to check how good your website is. Each test takes a few seconds and will tell you how quick your website is, check for errors, check for broken links, and much more.

Firefox shortcut keys - view the code behind a website

Firefox Shortcut Keys

  • Go to the web page that you want to view
  • Keyboard shortcut: Press Ctrl+U and the code should appear in a separate window
  • If this does not work, hold the mouse pointer over a blank part of the web page, right click and choose “Page Source”.
  • Alternatively from the menu bar select View and choose “Page Source“.
  • PRO TIP: here are some awesome free tests to check how good your website is. Each test takes a few seconds and will tell you how quick your website is, check for errors, check for broken links, and much more.

Safari shortcut keys - view the code behind a website

Safari Shortcut Keys

  • Go to the web page that you want to view
  • Safari keyboard shortcut: Press Ctrl+Alt+U and the code should appear in a separate window
  • If this does not work, hold the mouse cursor over a blank part of the web page, right click and choose “View code“.
  • Alternatively from the menu bar select View and choose “View source“.
  • PRO TIP: here are some awesome free tests to check how good your website is. Each test takes a few seconds and will tell you how quick your website is, check for errors, check for broken links, and much more.

Google Chrome shortcut keys - view the code behind a website

Google Chrome Shortcut Keys

  • Go to the web page that you want to view
  • Chrome shortcut keys: Press Ctrl+U and the code should appear in a separate window
  • If this does not work, hold the mouse pointer over a blank part of the web page, right click and choose “View Source“.
  • Alternatively from the tool bar select Tools and choose “View Source“.
  • PRO TIP: here are some awesome free tests to check how good your website is. Each test takes a few seconds and will tell you how quick your website is, check for errors, check for broken links, and much more.

Opera shortcut keys - view the code behind a website

Opera Shortcut Keys

  • Go to the web page that you want to view
  • Opera Shortcut Keys: Press Ctrl+U and the code should appear in a separate window
  • If this does not work, hold the mouse cursor over a blank part of the web page, right click and choose “Source“.
  • Alternatively from the menu bar select View and choose “Developer Tools” and then “Source” from the pop-out menu.
  • PRO TIP: here are some awesome free tests to check how good your website is. Each test takes a few seconds and will tell you how quick your website is, check for errors, check for broken links, and much more.

iPad shortcut keys - view the code behind a website

View source code on an iPad

To view source code on an iPad or an IOS mobile device such as an iPhone, there are two methods. The quick one is to download the App. The second and decidedly geekier is to set up a button on your iPad, and is out of the scope of this article.

Found your code? Now discover how to test for HTML errors and implement Schema

Great, now that you have found your code, don’t stop there! Here are some excellent tests to check that your code is error free and fast loading; and here you can find out about Schema Markup and check that it is on being used by the code on your website (a great way to skyrocket your website visits).

Find out how we exploded our website visits 170% in 5 months

SARA DING

(Owner Juicing for Health)

2 million monthly visitors
1.1 million Facebook followers

Proven SEO results

We’ve worked with

A selection of the companies we have worked with

Client reviews

Our clients love the work we produce...

Quick, efficient and a better job than I imagined! I cannot recommend Jeyjoo enough.
Ali Jawad, British Powerlifter

Within just a few months we gained an excellent search engine positioning for our chosen keywords.
Roberto Ricco – Afi Esca

Our site is contemporary, clean and clear – everyone wants to know who made it.
Raphael Baglione – Door to Innovation

Ready to start earning online?

We can transform your business into a Google #1 website and grow your revenue



    I have read and accept the privacy policy

    No thanks! (I don't want more business)