Fancy becoming a productivity ninja with Alfred? Some might say that calling yourself a “ninja” is cliché but the ninja is efficient, stealthy and a master of his tools, just as you can be with Alfred. Besides, I’ve been gagging for an excuse to post this awesome Lego ninja picture so bear with me, alright?
To help you discover some of the more advanced features, I’ve put together this mini series to introduce some of the power user functionality you may not have used before.
First, use the web searches
Before jumping into Custom Searches, have a look at the dozens of web searches in the preferences. We’ve included a stack of standard searches you’re likely to want to use. Simply type the keyword followed by your search term.

Create your own custom web searches
There are no doubt websites you want to search that we haven’t included. In that case, it’s time to create your own! The key to creating custom web search is to work out the search URL for that site. Simply do a search and replace the search term with {query} like so:
http://www.netflix.com/Search?v1={query}
You can then use the searches to do super useful stuff:
- Search Apple Developer documentation: http://developer.apple.com/search/index.php?Search={query}
- Track packages from various shipping companies: See Alfred Tips for multiple query options
- Search Ruby on Rails API: http://apidock.com/rails/search?query={query}
And much more…
Searching apps on your Mac
There’s more than one flavour of custom searches; you can also create them for applications on your Mac. Not all apps offer an application URI so it’s worth digging around or asking the developer. Here are a few of our favourite ones:
- Spotify: spotify:search:{query}
- App Store: itunes://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?term={query}
- Facetime: facetime://{query}
A custom search without a query
Did you know that your custom “searches” can in fact not be searches at all? Launch any website with a custom keyword by saving it in Alfred’s custom searches.
- I keep my stress levels low with the “lolz” keyword: http://icanhascheezburger.com/?random
- And read my favourite daily web comic with a “qc” custom search: http://questionablecontent.net
Check out Anna’s Tumblr for regular tips on using Alfred and discover many more custom search ideas on Alfred fan Olivier Guerriat’s alfredtips.com.
Share your searches
As Jack Johnson says, “it’s always more fun to share with everyone…” so swap custom searches with friends. Use the copy icon to copy the custom search query and click on any special URL starting with alfredapp:// to import one to your own custom searches.

Chime in in the comments if you’ve become a black belt of productivity and want to share your own tips. We’ll feature some of the best ones in future posts!
Next time: Tweaking your search results to show just what you want

April 14, 2011 
Here’s one for the programmers: search Stack Overflow
alfredapp://customsearch/Search Stack Overflow for/stack/ascii/url=http://stackoverflow.com/search?q={query}
Guys, you rock! Thank you for that great post; there’s so much possible with Alfred, I realize I only scratched the surface yet.
Awesome tips, thanks!
Also, may I say, wonderful Ninja; is that your doing?
I have to build a custom search where spaces are replaced by dashes (-) or plus signs (+). How can I do it?
Why, why Rebecca Black??
I have a custom search for The Pirate Bay, and have it set to sort by Seeds. I use it almost daily (for accessing TV shows which aren’t available here in Australia).
i’m addicted to duckduckgo. and i use it as the first fallback.. bingo, hundreds of custom searches available with one step, no need to set up all those query URLs…
Here’s one to search the Mac OS X Developer Library:
alfredapp://customsearch/Search ADC/adc/ascii/url=http://developer.apple.com/library/mac/search/?q={query}
Thx for the nice post!
And again you see that Alfred cares
Wow, I had no idea about application searches. Anyone got some useful ones?
Have a look at http://www.alfredtips.com for a huge selection of user-submitted ones, as well as http://help.alfredapp.com/features/customsearch/examples/ for a few of our suggested ones
I have several gmail accounts, and I’m a mailplane user. I have one custom search setup for each account so I can use Alfred to quickly switch between accounts. Be sure to give each account a different keyword.
alfredapp://customsearch/Switch to Gmail Account/ggmail/ascii/url=mailplane://YourNameHere%40gmail.com
These tips are great! Thanks for authoring this series of posts on how to better use Alfred. I would have never figured this out on my own.
Hey I was wondering if there’s a simple way to search Mail.app using URIs or some other method?
thx for a fantastic product!
Love it… my only suggestion would be to make the copy icon into the word “Copy”… hard to know what it does unless you are told and I missed it totally. Wonder how many other users are missing out because it looks like it’s just an icon to go with the save button?
nv://{query}
Add a new note to Notational Velocity
Here’s one for searching AllMusic.com by artist:
http://www.allmusic.com/search/artist/{query}