Free Website Search Schema Generator — WebSite JSON-LD
Want search engines to understand your site’s internal search? WebSite schema with a SearchAction potentialAction declares your site name and the URL pattern of your search box in one structured block. Fill in the form and the JSON-LD builds itself live.
Website Search Schema Generator
WebSite + SearchAction JSON-LD with your search URL template — built live as you type.
1 Fill in your site details
2 Your JSON-LD schema
Generated schema — updates as you type
Paste the schema into your homepage's <head> or just before </body>. Only filled fields are included — leave optional ones blank freely.
How it works
Enter your site name and homepage URL, then paste your search URL template with the literal {search_term_string} placeholder where the query belongs. The generator builds a WebSite JSON-LD block with a SearchAction potentialAction that declares exactly how a visitor can search your site. Hit Copy schema and paste it on your homepage — it belongs there rather than on inner pages. One honest note: Google has retired the visual “sitelinks search box” in its own results, but the markup remains valid structured data that other engines and crawlers can still read.
Everyday uses
- Site owners — give your homepage clean, machine-readable identity markup in one minute.
- Bloggers & publishers — declare your internal search so crawlers understand how content is discoverable.
- E-commerce sites — document your product search endpoint in structured form.
- Developers — generate the canonical WebSite block for client sites without hand-writing JSON-LD.
- SEO freelancers — a quick win to add to every technical audit checklist.