How-to guide

How to view page source in Chrome

Press Ctrl+U on Windows and Linux or ⌘+Option+U on a Mac to see a page’s HTML. With TabCmdr, press ⌘K, type source and press Enter.

Quick answer

View the source in three steps

  1. ⌘K

    Step 1

    Open the palette

    Ctrl+K on Windows and Linux, on the page you want.

  2. source

    Step 2

    Type source

    View Page Source shows up.

  3. ↵

    Step 3

    Press Enter

    The source opens in a new tab.

Chrome's way

Chrome’s built-in way to view source

To do thisWindows and LinuxMac
Show the HTML source of the pageCtrl+U⌘+Option+U

Google calls it non-editable HTML source code: you can read it, but not change it.

Source: Google’s Chrome keyboard shortcuts help page, checked in October 2026.

TabCmdr's way

View the source from the TabCmdr palette

TabCmdr is a keyboard launcher that lives in your browser. Its View Page Source command opens the source of the page you’re on, so you don’t need to remember a different shortcut on each computer.

Before you start: add TabCmdr from the Chrome Web Store. It has a 7-day free trial and needs no account.

Step 1: Open the palette on the page

Press ⌘+K on a Mac or Ctrl+K on Windows and Linux on the page whose source you want.

Step 2: Type source

View Page Source shows up under Commands, already highlighted.

TabCmdr palette with source typed and the View Page Source command highlighted
Typing source finds View Page Source.

Step 3: Press Enter

The palette closes and the source opens in a new tab at the end of your tab bar. The page you were on stays open, so you can switch back to it with TabCmdr or close the source tab when you’re done.

View Page Source works on web pages whose address starts with http:// or https://.

Try it on your own tabs

Works in Chrome, Edge, Brave, Arc, Vivaldi and Opera.

Install for Chrome

FAQ

Questions about viewing page source

More in the documentation.

What is the shortcut to view page source in Chrome?

Ctrl+U on Windows and Linux, and ⌘+Option+U on a Mac. Chrome shows the page’s HTML source, which you can read but not edit.

Where does TabCmdr open the source?

TabCmdr opens it in a new tab at the end of your tab bar and brings that tab to the front. The page you were on stays open.

Can I edit the source?

No. Google describes it as non-editable HTML source code, and the page you were on stays as it is.

Which pages does TabCmdr's View Page Source work on?

Web pages whose address starts with http:// or https://.

One shortcut for your whole browser. Stop hunting for tabs.

Free for 7 days Then $3.99 / y No account