This wikiHow teaches you how to view a website's HTML source code using Google Chrome for Windows or macOS.

Steps

  1. 1
    Open Google Chrome on your computer. You'll find it in the All Apps area of the Start menu (Windows) or in the Applications folder (macOS).
  2. 2
    Navigate to a website.
    Advertisement
  3. 3
    Click . It's at the top-right corner of Chrome. A menu will expand.
  4. 4
    Click More tools. Another menu will expand.
  5. 5
    Click Developer tools. A panel will open on the right side of the website.
  6. 6
    Click Sources. It's the third link at the top of the right panel. You can now peruse the source code of the website.
    Advertisement

About This Article

Nicole Levine, MFA
Written by:
Tech Specialist
This article was written by Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 2,884 times.
How helpful is this?
Co-authors: 2
Updated: September 6, 2019
Views: 2,884
Categories: HTML
Article SummaryX

1. Open Chrome.
2. Go to a website.
3. Click .
4. Click More tools.
5. Click Developer tools.
6. Click Sources.

Did this summary help you?
Advertisement