How to see the code behind a page
Short, practical guides for phones and computers. Each one takes a minute or two.
On your phone
How to view page source on iPhone and iPad
Safari on iPhone has no “view source” button. Here are three ways to see a page’s HTML anyway, from quickest to most powerful.
How to view page source on Android
See the HTML of any page on an Android phone with Chrome’s view-source trick, or with viewhtmlonline when that doesn’t work.
On your computer
How to view page source in Chrome, Edge and Firefox
Keyboard shortcuts and menu paths to see a page’s HTML source in desktop browsers, and when to use Inspect instead.
How to view page source in Safari on a Mac
Safari hides its source viewer until you turn on the developer features. Here’s how, plus the shortcut.
Basics
What is HTML source, anyway?
A plain explanation of what you see when you view a page’s source, and how to read the most important parts.
How to find a page’s meta tags
Where the title, meta description, canonical and Open Graph tags live in the source, and how to check them quickly.
Why does the source look different from the page?
The HTML a server sends and the page you see after scripts run are not the same thing. Here’s why, and which one you need.
Can ChatGPT, Claude and Google read your site?
How robots.txt decides which search and AI bots may crawl a page, and how to check any page in one click.