Home / Guides / How to search website source code across the web
Guide · Basics
How to search website source code across the web
By SearchWebCode · Updated November 7, 2026 · Basics · 2 min read
cdn.shopify.com. Add another term to require both, OR to match either, or a minus sign to exclude a term.SearchWebCode searches 131.2M stored homepages for text in their HTML, including inline scripts and styles. A script URL, plugin folder or tracking ID can locate a page even when those strings are invisible to someone reading it.
Start with one distinctive string
Run cdn.shopify.com to find homepages containing that hostname. A specific asset path is usually more useful than a product name, which may appear in a review or article. The technology directory lists the strings used for each technology sample.
For a plugin, follow the WordPress asset-folder method. For a known account identifier, use the Analytics ID lookup.
Combine and exclude terms
- Both terms:
"wp-content" "gtag/js?id=G-"requires the WordPress path and direct GA4 loader reference on the same homepage. - Either term:
"cdn.shopify.com" OR "cdn11.bigcommerce.com"matches either asset hostname. - Exclude a term:
"wp-content" -"wp-content/plugins/woocommerce"removes homepages containing the WooCommerce path. - Domain suffix:
"cdn.shopify.com" site:uklimits results to .uk hostnames. It does not establish a company's location.
Use quotes for the paths and phrases in these examples. The syntax reference covers the operators; the regex guide covers strings with a variable part.
Read the match in context
Open a result to view the stored source with the match highlighted. Check whether it belongs to a script or asset loaded by the page, quoted text, a comment, or a link to another site. Those contexts answer different questions.
Know what is outside the search
The index stores one homepage per hostname, including subdomains. It does not search every inner page, fetch the contents of every linked JavaScript file, or execute a site's consent flow. Use the live site's Network panel when you need to know what runs now. For repository code rather than website HTML, see the searchcode comparison.
Source counts checked 2026-10-14. They describe stored homepages, not live installations. How the counts are measured.
← All guides · Browse technologies · Search and export pricing
Frequently asked questions
Do I need regex to search source code?
No. Start with a literal string such as a script hostname or plugin folder. Regex is useful when part of the value changes between pages.
Can site: search one hostname?
In SearchWebCode, site: filters by top-level domain, such as site:uk. It is not an exact-hostname filter.
Does opening a result's source use another search credit?
No. Viewing the stored source of a result does not cost an additional search.