Shortcut

Chrome DevTools Edit as HTML Shortcut

The Chrome DevTools shortcut to edit as html is F2 on Windows. On Mac, press Function + F2.

Quick Answer

Windows
F2
Mac
Function+F2
Web
Not confirmed yet
Chrome DevToolsShortcut

Edit as HTML

Windows
F2

Turns the selection into editable HTML markup.

Learn More

How to edit as html in Chrome DevTools

  1. Open Chrome DevTools and go to where you want to edit as html.
  2. Press F2 on Windows or Function + F2 on Mac.

Chrome DevTools Edit as HTML Shortcut for Windows

Press F2.

Chrome DevTools Edit as HTML Shortcut for Mac

Press Function + F2.

Chrome DevTools Edit as HTML Shortcut for Chrome DevTools Web

We haven't confirmed a Chrome DevTools Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the Chrome DevTools edit as html shortcut?

On Windows, press F2. On a Mac, press Function + F2.

Is there a Mac shortcut to edit as html in Chrome DevTools?

Yes: Function + F2.

Does it work in Chrome DevTools for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify