Skip to content

Latest commit

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Google Search Operator Cheatsheet 🔍

Basic Operators

OperatorDescriptionExample
""Exact match"how to center a div"
OREither termpython OR javascript
-Exclude termjavascript -jquery
*Wildcardhow to * in python
()Group terms(javascript OR python) tutorial

Advanced Operators

OperatorDescriptionExample
site:Search specific websitesite:github.com react hooks
filetype:Search for file typesfiletype:pdf javascript guide
intitle:Term in page titleintitle:react tutorial
inurl:Term in URLinurl:react
related:Related websitesrelated:microsoft.com
cache:Cached versioncache:website.com

Time-Based Search

OperatorDescriptionExample
before:Before datejavascript before:2023
after:After datereact after:2022
..Number rangephone $100..$500

Code-Specific Search

OperatorDescriptionExample
language:Programming languagelanguage:javascript promise
repo:GitHub repositoryrepo:facebook/react hooks
error:Error messageserror:"npm ERR!"

Social Media Search

OperatorDescriptionExample
@Social tags@username twitter
#Hashtags#javascript

Combinations for Developers

Finding Code Solutions

Search: site:stackoverflow.com OR site:github.com "specific error message"

Finding Documentation

Search: site:docs.microsoft.com OR site:developer.mozilla.org javascript

Finding Recent Tutorials

Search: intitle:tutorial react after:2023

Finding Code Examples

Search: site:github.com filetype:js "function example"

Finding API Documentation

Search: site:docs.* api reference "endpoint"

Pro Tips 💡

Use Multiple Operators

Search: site:github.com "react hooks" filetype:md after:2023

Exclude Multiple Terms

Search: javascript -jquery -wordpress -php

Find Similar Sites

Search: related:netflix.com streaming service

Find Specific Versions

Search: "react tutorial" "version 18" OR "v18"

Find Source Code

Search: site:github.com filetype:js "function name"

Common Development Searches

Error Messages

Search: "error message" site:stackoverflow.com OR site:github.com

Library Usage

Search: site:github.com "import library" filename:js

Best Practices

Search: intitle:"best practices" javascript after:2023 -wordpress

Security Issues

Search: site:cve.mitre.org OR site:nvd.nist.gov vulnerability library

Performance Tips

Search: site:web.dev OR site:developers.google.com performance optimization

Remember 🤔

  • Google search is not case-sensitive
  • Order matters - put important terms first
  • Use fewer, more specific terms
  • Update date ranges for current information
  • Check multiple pages of results
  • Verify information from multiple sources

Additional Resources 📚

Expert Tips 🎯

Finding Specific File Types

  • PDFs: filetype:pdf subject
  • PowerPoints: filetype:ppt subject
  • Excel files: filetype:xlsx OR filetype:xls subject
  • Word docs: filetype:doc OR filetype:docx subject

Academic Research

  • Search: site:.edu OR site:.gov subject
  • Search: filetype:pdf site:.edu research paper subject

Technical Documentation

  • Search: site:readthedocs.io OR site:docs.* subject
  • Search: inurl:docs OR inurl:documentation subject

Forum Discussions

  • Search: site:reddit.com OR site:stackoverflow.com subject
  • Search: inurl:forum OR inurl:discussion subject

Price Comparisons

  • Search: price OR cost $50..$100 product
  • Search: compare OR vs product1 product2

Troubleshooting Tips 🔧

Too Many Results?

  • Add more specific terms
  • Use exact phrases in quotes
  • Add site: operator
  • Specify date ranges

Too Few Results?

  • Remove some terms
  • Try synonyms
  • Remove quotes
  • Broaden date range

Wrong Context?

  • Add context terms
  • Use -term to exclude irrelevant results
  • Specify industry/field

Outdated Results?

  • Use after: operator
  • Sort by date
  • Add year to search
  • Include "current" or "latest"

I fix the bugs other devs gaslight you about. A I tools, Five M systems, automation pipelines. Build it, break it, resurrect it: 👉 https://AJThe.Dev

About

A better way to navigate google. I find it useful and refer to it a lot so thought others might find it helpful too,

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors