Let visitors search your website
Every site has a search page. Add a search box to your header or a page, with suggestions as visitors type — across pages, blog posts and collections.

On this page
Your search page
Every site has a search page at /search, covering published pages, blog posts and collection items, ranked by how well they match.
Add a search box
In the editor (or in your header, in the theme), add the Search box block. Its settings:
- Suggest as you type — after two letters, matching pages, posts and items appear, each labelled (Page, Blog…), with See all results.
- Search in — everything, just pages, just blog posts, both, or one collection.
Visitors can use the arrow keys and Enter to pick a suggestion, and Esc to close the list.
Common questions
What does search include?
Published, public pages, blog posts and collection items on your site. Drafts and password-protected pages are left out.
Does search work without JavaScript?
Yes. The box sends visitors to your /search page; suggestions are an extra for browsers that run scripts.
Something out of date or unclear? Search other guides or tell us from your dashboard.