Website Sitelinks Searchbox Schema Generator
Generate valid Website Schema with a Sitelinks Searchbox for Google search results. Enable users to search your internal site structure directly from the search engine interface.
Website Details
Core structural configuration
Waiting for input...
Website Schema Markup Helpers
Establish core domain authority and activate the dedicated Sitelinks Searchbox. Allow users to directly query your internal database from Google's SERP.
SITELINKS SEARCHBOX
Directly injects a custom search bar under your domain listing in Google, driving deeper engagement.
BRAND CLARITY
Defines your alternate brand names securely, ensuring proper Knowledge Graph connections.
SEAMLESS INTEGRATION
Connects directly with your existing GET parameter search architecture (e.g. ?q=search_term).
How to Add WEBSITE JSON-LD Schema to Your Homepage
Implementing this markup on your root domain gives search engines permission to embed an internal search interface directly in SERPs. Follow this 3-step deployment process:
Setup Domain Architecture
Define your absolute canonical URL, brand name, and the URL parameters your CMS uses for internal searches.
Validate Action Path
Click "Test in Google" to verify that your PotentialAction endpoints resolve correctly within the search indices.
Deploy to Homepage
Embed the compiled JSON script tag directly into the <head> of your primary index page (homepage only).
Schema Formatting FAQs
What is a Sitelinks Searchbox?
It is a specialized input field that occasionally appears below a brand's main search result. It allows users to execute an internal site search directly from the search engine.
How do I trigger the internal search bar?
First, you must have a working internal search mechanism on your website. Then, you generate and place this markup on your homepage. The search engine will decide when to display the box based on user intent and brand authority.
What is the search_term_string?
It is a placeholder variable required by the SearchAction markup. When a user submits a query from the SERP, the engine replaces '{search_term_string}' with their actual query, directing them to your internal results page.
Where should I place this code?
Unlike specific content schemas, the Website markup should generally be placed only on the homepage (the root level) of your domain.
Will this guarantee a searchbox?
No. Providing the valid syntax makes your site eligible and provides instructions on how to handle the query, but the final decision to display the visual element remains with the search engine's algorithm.
Related Schema Generators
Discover more structured data tools to boost your SEO.
Person Schema Generator
Generate Person schema for authors, creators, and public figures to build identity and authority.
Breadcrumb Schema
Generate BreadcrumbList schema to improve site structure visibility and URL navigation in search results.
Schema Generators Hub
Access our entire suite of 14 free JSON-LD Schema markup generators in one centralized location.