How to Google With a Bang!
I hopped on the DuckDuckGo (DDG) hype train some years ago. It lasted for about 5 months. Unfortunately, I can’t help to be constantly reminded how good Google site search is. A story probably for another day.
While DDG did not become my default search engine, there’s one feature that changes how I look at browsers and search engines’ user experience (UX) forever — DuckDuckGo Bang.
Trust me, people can go on quite a bit about the Bang (!
) syntax in DDG. The address bar has become my main entry point to the Internet these days.
TL;DR
Replicate DDG's bang syntax in the Chrome address bar at chrome://settings/searchEngines
and add new search engines under “Site Search”.
Bangs
In DDG, Bang is nice as a quick shortcut that takes you to search results of other sites.
For example, if I enter !r m1 macbook review
on DDG’s search, it takes me directly to Reddit search at https://www.reddit.com/search?q=m1%20macbook%20review
.
It's a great way to cut through the noise and find the information that we need.
Google was my first stop
Whenever I had to research anything, I’d just simply Google it without any fancy search operators. Anything from gadget reviews to technical searches like “how to remove duplicates in a list in python”.
But as of late, I find myself increasingly appending site:reddit.com
, site:github.com/user/repo
, site:stackoverflow.com
, etc. to my search query to get more refined and meaningful results.
Doing so provides a relatively unbiased set of results that isn’t tied to my browsing habit. Getting to reviews that are hopefully written by actual users.
How to Google With a Bang
If you use Chrome, you can craft a similar UX as DDG Bang syntax. There’s no need to install any extensions. It’s available natively on your Chrome browser.
Here's an example:

Here’s how:
- Go to
chrome://settings/searchEngines
and add new search engines under “Site Search”. - Edit the search engine accordingly.
- The “Search engine” field is a way to name your “Shortcut”, it can be anything.
- Note that the example above uses the Google search engine.
- Alternatively, if you want to use the site’s search engine, change the “URL with %s in place of query” to the site’s search query. E.g.
https://www.reddit.com/search?q=%s
to search using Reddit’s search instead. - You can even prepend
site:reddit.com/r/<subreddit>
for a more refined search.

Example for appending “site:reddit.com” when prefixing “!r” shortcut to your search term
3. Repeat.
Some ideas

!r
for reddit.com — product reviews and community-specific information.!so
for stackoverflow.com — software engineering, programming-related topics.!p
for phind.com – Search engine optimized for developers. Addhttps://phind.com/search?q=%s
and you're set!!gh
for github.com — libraries or framework-specific GitHub issues (e.g. bugs) and workarounds. This has been incredibly useful to me.!hn
for hackernews.com — I use this to look for discussions or anecdotes on specific topics.!yt
for youtube.com — quicker (1-step) video search on YouTube.
The possibilities are endless. Refer to duckduckgo.com/bangs for more ideas.
Note: thanks to Brendan Keefe for pointing this out!
Useful resources
Closing Thoughts
Over the years, the quality of the top search results from Google has deteriorated:
- The first page is often filled with basic information that barely scratches the surface.
- When it comes to software engineering or programming-related topics, it’s the same problem. Outside of Stack Overflow, most articles are written to appeal to a broad audience.
- SEO (page ranking) has become increasingly gamified. It probably killed all kinds of real reviews. That’s why people have been gradually appending
site:reddit.com
to their Google searches because Reddit (and HN) is one of the few places online you can read actual human thoughts.
I know I am not the only one that feels this way. A “normal” Google search now does not yield satisfactory results anymore.
Having said that, Google search is still very much superior in my opinion — mostly because of Google Maps.
It's funny how we often take for granted the power of search engines, and how we drown in the sea of information that's available to us today.