Keyboard basics

Keyboard Find Shortcut: How to Search a Page, Document or File

The keyboard find shortcut is Ctrl + F on Windows and Cmd + F on Mac. Learn find next, find and replace, and search across files in Chrome, Excel, Word and VS Code.

Published Updated 2 min read

Keyboard find shortcut guide showing Ctrl + F and Cmd + F for searching web pages, documents, spreadsheets and files on ShortcutSearch.app
Use Ctrl + F on Windows or Cmd + F on Mac to quickly find text on a page, document, spreadsheet or file.— ShortcutSearch.app

Quick Answer

Find shortcut

Ctrl+F

Opens the find box in your browser, document or spreadsheet. On Mac press Cmd + F.

View Shortcut
On This Page
  1. Find on a web page
  2. Find and replace
  3. Find in Excel and Word
  4. Find across files in code editors
  5. Find in apps that use "/"
  6. Common mistakes
  7. Related Shortcuts
  8. FAQ

The keyboard find shortcut is Ctrl + F on Windows and Cmd + F on Mac. It opens a search box so you can type a word and jump straight to it on a web page, in a document or in a spreadsheet. Most apps highlight every match and let you step through them.

Find on a web page

TaskWindowsMac
Find on pageCtrl + FCmd + F
Next matchCtrl + GCmd + G
Previous matchCtrl + Shift + GCmd + Shift + G

These are the Google Chrome keys. Press Esc to close the find bar.

Find and replace

To change every match at once, use find and replace instead of find.

TaskWindowsMac
Find and replace (Excel)Ctrl + HCtrl + H
Find and replace (Word)Ctrl + HCtrl + H
Find and replace (Google Docs)Ctrl + HCmd + Shift + H
Find and replace (Google Sheets)Ctrl + HCmd + Shift + H

Step-by-step: find and replace in Excel.

Find in Excel and Word

In Excel and Word, Ctrl + F (Cmd + F on Mac) opens Find. In Excel, select a range first to search only those cells.

Find across files in code editors

TaskWindowsMac
Find in file (VS Code)Ctrl + FCmd + F
Find in files (VS Code)Ctrl + Shift + FCmd + Shift + F
Search all files (Chrome DevTools)Ctrl + Shift + FCmd + Option + F

Find in apps that use "/"

Several web apps use the / key to jump to their search box. This works in Gmail, Google Drive, Google Calendar and GitHub. In Vim, / searches forward and n goes to the next match.

Common mistakes

  • Find only searches what's loaded. In some web apps, long lists load in pieces, so use the app's own search for those.
  • Ctrl + F in Canva or Illustrator does something else. In Canva it opens find and replace. In Illustrator it pastes in front.
  • Searching a selection in Excel. If one cell is selected, Excel searches the whole sheet. If a range is selected, it only searches that range.
Google ChromeShortcut

Find on Page

Windows
Ctrl+F

Searches for text on the current page.

Learn More
Google ChromeShortcut

Find Next

Windows
Ctrl+G

Jumps to the next match of your search.

Learn More
Google ChromeShortcut

Find Previous

Windows
Ctrl+Shift+G

Jumps to the previous match of your search.

Learn More
ExcelShortcut

Find

Windows
Ctrl+F

Searches the sheet for text.

Learn More
ExcelShortcut

Find and Replace

Windows
Ctrl+H

Finds text and replaces it.

Learn More
WordShortcut

Find

Windows
Ctrl+F

Opens the search box to find text.

Learn More
WordShortcut

Find and Replace

Windows
Ctrl+H

Finds text and replaces it.

Learn More
Google DocsShortcut

Find and Replace

Windows/ChromeOS
Ctrl+H

Opens find and replace.

Learn More
Visual Studio CodeShortcut

Find

Windows
Ctrl+F

Finds text in the current file.

Learn More
Visual Studio CodeShortcut

Find in Files

Windows
Ctrl+Shift+F

Searches across all files in the workspace.

Learn More

FAQ

What is the keyboard shortcut to find a word?

Press <code>Ctrl + F</code> on Windows or <code>Cmd + F</code> on Mac, then type the word.

How do I go to the next match?

In Chrome press <code>Ctrl + G</code> (<code>Cmd + G</code> on Mac). Many apps also accept Enter.

What is the find and replace shortcut?

<code>Ctrl + H</code> in Excel, Word, Google Docs and Google Sheets on Windows.

How do I search all files in VS Code?

Press <code>Ctrl + Shift + F</code> on Windows or <code>Cmd + Shift + F</code> on Mac.

Related Guides

  • Best Shortcuts

    Keyboard Shortcut Keys: The Essential List for Windows and Mac

    The essential keyboard shortcut keys for Windows and Mac, from copy and paste to screenshots and browser tabs, plus links to full lists for every app.

    Windows · Google Chrome · Microsoft Excel · Microsoft Word · Updated 2026-10-19

  • How-To Guides

    Cut Shortcut: How to Cut and Paste with the Keyboard

    The cut shortcut is Ctrl + X on Windows and Cmd + X on Mac. Learn how cut and paste works, how it differs from copy, and how it behaves in Excel and Word.

    Windows · Microsoft Excel · Microsoft Word · Adobe Illustrator · Updated 2026-10-16

  • How-To Guides

    Hotkey Shortcuts: What They Are and the Most Useful Ones

    Hotkey shortcuts are key combinations that perform an action instantly. Learn what hotkeys are, how they differ from regular shortcuts, and the most useful ones for Windows, Mac and popular apps.

    Windows · Microsoft Excel · Google Chrome · Updated 2026-10-16

  • How-To Guides

    How to Freeze Columns in Excel

    Lock specific columns in place so they remain visible while you scroll through your data. Learn how to freeze the first column or multiple columns in Excel.

    Microsoft Excel · Updated 2026-10-17

  • Best Shortcuts

    50 Excel Keyboard Shortcuts You Should Know

    Learn 50 essential Excel shortcuts for everyday editing, formulas, formatting, navigation, and worksheet management.

    Microsoft Excel · Updated 2026-10-08

  • Shortcuts by Profession

    Excel Shortcuts for Accountants

    Excel shortcuts for accountants, organized around ledger preparation, reconciliations, recurring schedules, and month-end review.

    Microsoft Excel · Updated 2026-10-08

Find More Keyboard basics Shortcuts

Search Keyboard basics keyboard shortcuts on ShortcutSearch.

Browse Keyboard basics Shortcuts