Skip to content
Start free

Blog

Google custom search for your website in 2026: what changed, and the alternatives

Google's Programmable Search Engine is still free, with ads, but its ad-free options and API closed to new customers in 2026. What it does well, where it falls short for stores, and the other ways to add search to a website.

By Dagur Leo, founder of Findlane ·

If you want a search box on your website, Google's custom search is usually the first thing you find. It's Google's search, on your own pages, for free. In 2026, Google changed a lot about it: what you can still sign up for, what it costs, and what's going away.

I build site search for online stores, so I'm not neutral here. But Google's tool is the right choice for some sites, and I'll say which. The facts about it come from Google's own pages, linked as I go.

The short version

  • It's called Programmable Search Engine now. Google renamed Custom Search Engine in April 2020.
  • The search box is still free, with no daily limit, and it shows Google's ads, which you agree to display.
  • For a business, the ad-free options are gone. The paid ad-free search box closed to new customers in January 2026, and so did the Custom Search JSON API, which shuts down on 1 January 2027. Only non-profits, schools and government bodies can turn ads off.
  • It searches only what Google has crawled, so new pages and prices can be days or weeks behind.
  • Good for a content site whose pages change slowly. Weak for an online store, where prices, stock and filters matter.

What Google's custom search is

Programmable Search Engine puts Google's search on your own site, limited to the sites you choose. You set it up in three steps:

  1. Create an engine at programmablesearchengine.google.com, and add your site.
  2. Copy the code it gives you: a script tag and a <div class="gcse-search"></div>.
  3. Paste both where you want the search box.

There's no server to run and nothing to upload. Google searches its own index of your pages, with its spelling correction and language understanding (Google).

What it costs in 2026

OptionPriceAdsCan you sign up today?
Search box (Search Element)Free, no daily limitYesYes
Search box for non-profits, schools and governmentFreeNoYes, if you qualify
Paid ad-free search box$5 per 1,000 searchesNoNo, closed to new customers in January 2026
Custom Search JSON API100 free searches a day, then $5 per 1,000, up to 10,000 a dayNoNo: closed on 20 January 2026, shuts down 1 January 2027
Google Site SearchWas paidNoNo: sales ended in April 2017, shut down by April 2018

The ads come from Google. You can earn a share of them through AdSense, but only with an engine created from your AdSense account, and nothing is shared when a visitor clicks through to Google (Google). Blocking a competitor's ads also needs an AdSense account (Google).

What changed in 2026

  • 20 January: new engines can search at most 50 domains and can't search the entire web. Existing engines that search the whole web, and every user of the JSON API, have to move to something else by 1 January 2027 (Google). For API users searching up to 50 domains, Google suggests its cloud product, Vertex AI Search, since renamed Agent Search, where website search costs $4 per 1,000 queries. For whole-web search, it asks you to contact it.
  • Around 30 January: the paid ad-free search box closed to new customers. Google didn't announce it in a post. A note on its page says so.
  • 11 February: every engine got a new results design. Custom CSS written for the old one may need fixing (Google).

None of this changes the free search box for searching your own site. Google's terms do say the service "may be modified or terminated at any time" (Google).

What it does well

  • It's free, and there's no limit on searches.
  • It takes five minutes, with no server, no data to upload, and no code beyond a script tag.
  • It's Google's search: spelling correction, language understanding, image search and autocomplete are included.
  • It suits content sites, such as a blog, a council, a university or documentation, whose pages are well indexed and change slowly. Google now describes it as "intended for website owners who cater focused content to a specific audience".

Where it falls short, especially for stores

It only knows what Google has crawled. Your pages have to be in Google's index, and "crawling can take anywhere from a few days to a few weeks" (Google). A new product isn't searchable until Google finds it, and a deleted one can linger: "pages that no longer exist in your content may appear" (Google). Pages Google doesn't index, such as ones behind a login, aren't searchable at all.

Prices come from the last crawl. Google reads prices and other details from your page markup when it indexes the page (Google). Whatever a result shows is what Google saw then.

You can't fix the results. The terms say you may not "edit, modify, truncate, filter or change the order of the information contained in any Results" (Google). You can exclude a page by its address, by hand (Google), but you can't correct a price, reorder results, or mix in your own product data, such as what's in stock.

Filters are labels, not product filters. Google's "refinements" are labels you put on sites or URL patterns (Google). Google documents no filter panel for size, color or brand with counts beside them. Sorting by price is possible, but only with price markup Google has crawled and a sort key you set up (Google).

Little control over ranking. You can promote results, but at most three show, picked at random if more match (Google).

Thin analytics. The built-in statistics are query volume and popular queries (Google). Searches that found nothing, clicks, or sales from search take Google Analytics and code of your own.

Results can lead away from your site, through the ads, competitors' included unless you block them, and "Search on Google" links.

For a blog, none of that matters much. For a store, it's most of what search is for.

Other ways to add search to a website

Your platform's built-in search. Most site builders have one, and it costs nothing extra:

  • WordPress matches each word only as typed, as part of the title, excerpt or content (WordPress source). WooCommerce stores use it unless they add a plugin.
  • Shopify forgives one wrong, missing, extra or swapped letter, and there's "no setting that controls how broadly search matches" (Shopify).
  • Squarespace and Wix have site search too, with their own rules on what's indexed.

A plugin or app that replaces or extends the built-in search. WordPress has search plugins, and Shopify has its own free Search & Discovery app for synonyms, boosts and filters. Some run searches on your own server, and some send your data to a hosted service.

A hosted search service. You send your pages or products to it, through a feed, an app or an API, and it answers your search box, usually from a script tag. Unlike Google's crawl, it updates when your data changes, and you decide filters, ranking and what the results look like.

A self-hosted engine, such as OpenSearch, Typesense or Meilisearch, on a server you run. Free to download, but you build the front end and keep it running.

Which to choose

  • A content site with a few hundred pages that change slowly, where ads are fine: Google's free search box is hard to beat.
  • A non-profit, school or government site: the same, without the ads.
  • An online store: you need prices and stock that are right now, filters, and results you can arrange, without competitors' ads. Use your platform's search if it passes a ten-minute test, or a store search app or service if it doesn't.

Where Findlane fits

Findlane is a hosted search service for online stores, so this is my bias. For a store on any platform, one script tag adds it to your site's own search box, and it reads the Google Shopping or Meta product feed your store probably already has, every hour (how it works). Prices and stock are as fresh as your feed, with no ads, and with filters, synonyms and merchandising you control.

On Shopify and WooCommerce, it's an app and a plugin instead. It's free for up to 10,000 products.

Questions people ask

Is Google custom search free?

The search box is, with no daily limit, but it shows Google's ads, which you agree to display. Without ads, it's free only for non-profits, schools and government bodies.

Is the Google Custom Search JSON API being discontinued?

Yes. It closed to new customers on 20 January 2026 and shuts down on 1 January 2027. Google suggests its cloud product, Agent Search, formerly Vertex AI Search.

Not as a new business customer: both ad-free options are closed to new customers. Non-profits, schools and government bodies can turn ads off.

Why doesn't Google custom search find my new pages or products?

It only searches pages in Google's index, and crawling can take from a few days to a few weeks. Pages behind a login, or blocked from Google, never show.

It was the paid, ad-free version. Google stopped selling it in April 2017 and shut it down by April 2018.

How do I add Google search to my website?

Create an engine at programmablesearchengine.google.com, add your site, and paste the script tag and the gcse-search div it gives you where the search box should go.

Search that finds what shoppers mean.

Typos, plurals, joined words and accents, handled from the first search. Free for the first 10,000 records.