Overview Open Chrome DevTools Simulate mobile devices with Device Mode Performance insights: Get actionable insights on your website's performance Lighthouse: Optimize website speed Animations: Inspect and modify CSS animation effects Changes: Track your HTML, CSS, and JavaScript changes Coverage: Find unused JavaScript and CSS CSS Overview: Identify potential CSS improvements Issues: Find and fix problems Media: View and debug media players information Memory Inspector: Inspect JavaScript ArrayBuffer Network conditions: Override the user agent string Recorder: Record, replay and measure user flows Security: Understand security issues Search: Find text across all loaded resources WebAuthn: Emulate authenticators
Overview Open Chrome DevTools Simulate mobile devices with Device Mode Performance insights: Get actionable insights on your website's performance Lighthouse: Optimize website speed Animations: Inspect and modify CSS animation effects Changes: Track your HTML, CSS, and JavaScript changes Coverage: Find unused JavaScript and CSS CSS Overview: Identify potential CSS improvements Issues: Find and fix problems Media: View and debug media players information Memory Inspector: Inspect JavaScript ArrayBuffer Network conditions: Override the user agent string Recorder: Record, replay and measure user flows Security: Understand security issues Search: Find text across all loaded resources WebAuthn: Emulate authenticators

Search: Find text across all loaded resources

Published on

Use the Search tab to find text across all loaded resources.

Gotchas

The Search tab doesn't show results from network headers and responses. To search across them, follow the steps in Search network headers and responses.

Alternatively, use built-in search bars to find text in a resource opened in a specific tool.

You can open the Search tab in several ways. First, open DevTools, then do one of the following:

  • In the top-right corner of DevTools, select Customize and control DevTools Customize and control DevTools > More tools > Search.
  • Press Esc to open Drawer, and in the top-left corner, select Customize and control DevTools More Tools > Search.
  • Press Command+Option+F (Mac) or Control+Shift+F (Windows/Linux).

Search for text across all loaded resources

To search for text across all loaded resources, in the search bar on the Search tab, type your query and press Enter.

Search results.

To make your query case-sensitive, toggle the Match case. Match Case button.

Match Case button.

To search for text that matches a RegEx pattern, toggle the RegEx button. Use Regular Expression button.

RegEx button.
Gotchas

You don't need to wrap your RegEx query in forward slashes.

Rerun a query, expand, and clear results

To rerun your search query, click Refresh. Refresh.

To expand all search results, press:

  • On Windows / Linux, Ctrl+Shift+{ or }
  • On MacOS, Command+Option+{ or }

To clear your search results, click Clear. Clear.

Search for text in a specific tool

To narrow your search scope to a resource opened in a specific tool, you can use a built-in search bar if the tool supports it.

Search bars have up and down buttons to jump to previous and next search results.

To open a built-in search bar in a specific tool, press Command+F (Mac) or Control+F (Windows/Linux).

Not all DevTools panels and tabs have a built-in search bar but those that do, often provide tool-specific features. Below is a list of tools with search bars and their features.

Panel or tabCase-sensitiveRegExScopeTool-specific features
ElementsDOM treeSearch by selector and XPath
ConsoleCheck.Check.Log messages
SourcesCheck.Check.Current source fileReplace
NetworkCheck.Check.Network headers and responses
PerformanceCheck.Check.Activities
MemoryCheck.ProfilesSearch sampling profiles by cost, name, and file
JavaScript ProfilerCheck.CPU profilesSearch by cost, name, and file
Quick SourceCheck.Check.Current source fileReplace

Last updated: Improve article

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.