Free Website Schema Generator
A sitelinks search box lets searchers query your site without leaving Google. NToolHub's free Website Schema Generator creates WebSite JSON-LD — with optional SearchAction markup — for your homepage. It's a two-minute win for any site with internal search, from blogs to large ecommerce catalogs.
How to Use the Website Schema Generator
- Enter your website name and homepage URL.
- Tick sitelinks search box if your site has internal search.
- Click Generate Schema to build the WebSite markup.
- Paste it into your homepage <head> and validate it.
Features
Enter your site name, alternate name and URL, then toggle the sitelinks search box to add a SearchAction with a customizable URL template. The generator outputs clean WebSite JSON-LD with copy and download, ready for your homepage head.
Benefits & Use Cases
Eligible sites get a branded search box under their homepage result, capturing navigational queries and sending motivated visitors straight to internal results pages. The WebSite entity also strengthens your brand's presence in Google's Knowledge Graph.
Tips
Only enable the search box if your site actually has working internal search, and test the URL template manually first. Place WebSite markup on the homepage only — repeating it site-wide adds no value.
Frequently Asked Questions
What is the sitelinks search box?
It's a search field Google sometimes shows under a site's homepage result, letting users search within your site directly from Google. It requires WebSite schema with a SearchAction.
What should the search URL template be?
Your internal search URL with {search_term_string} where the query goes — e.g. https://example.com/?s={search_term_string}. Test it by replacing the placeholder with a real word.
Will the search box always appear?
No — Google shows it at its discretion for sites with sufficient brand queries. Correct markup makes you eligible; it doesn't guarantee display.
Should I add WebSite markup to every page?
No. Put it on the homepage only. Google associates the WebSite entity with your domain from there.
Related Tools
Schema Markup Generator
Generate Organization schema markup with logo, contact point and social profiles. Free Schema Markup Generator from NToolHub — no sign-up needed.
Open tool →JSON-LD Generator
Flexible JSON-LD generator for any schema.org type with custom properties support. Free structured data builder from NToolHub — no sign-up required.
Open tool →Article Schema Generator
Generate valid Article JSON-LD schema for blog posts and news articles. Rich-result-ready structured data, free with NToolHub — no sign-up required.
Open tool →FAQ Schema Generator
Generate FAQPage JSON-LD schema from your questions and answers in seconds. Free FAQ Schema Generator by NToolHub — build rich-result eligibility fast.
Open tool →Breadcrumb Schema Generator
Generate BreadcrumbList JSON-LD schema for clean breadcrumb rich results in Google. Free Breadcrumb Schema Generator from NToolHub — no sign-up needed.
Open tool →Open Graph Generator
Generate Open Graph meta tags for rich social previews on Facebook, LinkedIn and Slack. Free OG Tag Generator from NToolHub — no sign-up needed.
Open tool →