Mastodon
99Tools.net

Website (Sitelinks) Schema Markup Generator

Website Information

Sitelinks Search Box

Enter the URL of your website’s search results page. Replace your internal search query parameter with {search_term_string}.

Generated JSON-LD Structured Data

About Website (Sitelinks) Schema Markup Generator

Have you ever searched for a big brand—like Amazon, Pinterest, or YouTube—on Google and noticed something cool? Right under their main website link, there is a dedicated mini-search box. It allows you to search that specific website directly from the Google results page.

It looks professional, commands authority, and gets users to the content they want faster.

That little feature is called a Sitelinks Search Box. And guess what? You don’t need to be a massive corporation to get one. You just need the right code to tell Google, "Hey, my site has a search engine!"

Our Website (Sitelinks) Schema Markup Generator writes that code for you instantly. No coding knowledge required.

How to Use Website (Sitelinks) Schema Markup Generator

We designed this tool to be as straightforward as possible. You don't need to write a single line of JSON-LD. Just follow these simple steps:

  1. Website Information:
    • Name: Enter the name of your brand or website (e.g., My Awesome Shop).
    • URL: Paste your homepage address (e.g., https://example.com).
  2. Sitelinks Search Box Setup:
    • This is the most important part! You need to tell the code how your internal site search works.
    • Go to your website and search for something (anything, like "shoes").
    • Look at the URL bar. You will see something like https://example.com/search?q=shoes.
    • Copy that URL into the Search Target URL field, but replace the word you searched for (shoes) with the tag {search_term_string}.
    • Example: https://example.com/search?q={search_term_string}
  3. Get Your Code:
    • As you type, the tool automatically writes the JSON-LD Structured Data in the box below.
    • Click the Copy button.
    • Paste the code into the <head> section of your website or use a plugin like "Insert Headers and Footers."
You Might Also Need: How-to Schema Markup Generators

What is Sitelinks Search Box Schema?

In plain English, Schema (or Structured Data) is a language that search engines speak. It helps them understand not just what is on your page, but how your page functions.

The Sitelinks Search Box Schema is a specific snippet of code that tells Google that your website has an internal search engine. It provides Google with the exact pattern they need to send traffic directly to your search results page.

Why Should You Use It? (The Benefits)

Why bother adding this extra bit of code? Here are three solid reasons:

  1. Dominating the Search Results (SERPs): A Sitelinks search box makes your listing physically larger on the results page. This pushes competitors further down the screen and draws the user’s eye straight to you.
  2. Better User Experience: If a user knows exactly what they want (e.g., "iPhone 15 case"), they can type it into the search box on Google and land directly on your product page, skipping your homepage entirely. This reduces friction and can increase conversions.
  3. Brand Authority: Let’s be honest—it just looks cool. Having that search box signals to users that you are an established, trustworthy, and user-friendly resource.

Important Things to Know

While this tool generates the perfect code, there are two rules to keep in mind regarding Google:

  • You Need a Working Search Function: This schema doesn't create a search engine for your site; it points to the one you already have. If your website doesn't have a search icon or search bar functionality, this code won't work.
  • Google Makes the Final Call: Adding this code makes you eligible for the Sitelinks Search Box, but Google's algorithms ultimately decide when to show it. It usually appears for branded searches (when someone searches for your specific company name).

Frequently Asked Questions (FAQ)

Q: Does this work for WordPress?

A: Absolutely. This JSON-LD code works on any platform, including WordPress, Shopify, Wix, or custom HTML sites.

Q: Where do I paste the generated code?

A: The best place is in the <head> section of your homepage. You typically only need this script on the main page of your site, not every single post.

Q: I added the code, but the search box isn't showing on Google yet. Why?

A: SEO requires patience! Google needs to re-crawl your site to see the new code. Even after crawling, they display the box based on your site's authority and traffic volume. Use Google Search Console to check if your structured data is valid.

RECOMMENDED
Breadcrumb Schema Generator
Try Now âž”