SEO-Tools

Kostenlose OpenSearch Description Generator

Erstelle eine OpenSearch-Beschreibungs-XML und einen HTML-Link-Tag für die Browser-Suchleiste.

Tool wird geladen...

Was ist OpenSearch Description Generator?

An OpenSearch description is an XML document that tells browsers how to search a website. When a browser detects the OpenSearch link tag, it offers to add the site's search as a search engine option. Users can then search the site directly from the browser address bar or search box without visiting the site first. Firefox, Edge, and some Chromium-based browsers support this feature.

Kurze Antwort

Generate an OpenSearch description XML file so browsers can add your site search as a search engine. Include a short name, search URL with {searchTerms} placeholder, and favicon URL. Add the link tag to your page head so browsers auto-discover the search plugin.

Einschränkungen

  • Safari does not support OpenSearch. The feature works primarily in Firefox and Chromium-based browsers. Consider it a progressive enhancement rather than a core search feature.
  • The OpenSearch 1.1 specification (2005) is old and has not been updated. The format is stable but lacks some modern search features like structured data integration.
  • The XML file must be served with the correct Content-Type header (application/opensearchdescription+xml). Some static hosts may not serve custom content types for XML files.

So nutzt du dieses Tool

  1. Enter a short name (max 16 characters) for the search engine and a brief description.
  2. Provide the search URL template with {searchTerms} as the placeholder for the user's query.
  3. Add a favicon URL and optionally a suggestions URL for search autocomplete.
  4. Copy the XML to opensearch.xml and add the link tag to every page's head section.

Wofür du es nutzen kannst

  • Add site search to Firefox and Chromium-based browsers so users can search directly from the address bar.
  • Create an OpenSearch plugin for a documentation site or knowledge base with a dedicated search page.
  • Add search integration for a static site that uses a third-party search service like Algolia or a custom search endpoint.

Anwendungsfalle

Praxisbeispiele

Beispiel

Documentation site search

A documentation site has a search page at /search?q=. Generate the OpenSearch XML with the search URL template https://docs.example.com/search?q={searchTerms}. Visitors using Firefox see the site in their search engine list and can search docs directly.

Beispiel

Static site with third-party search

A static site uses a third-party search service. The search URL might be https://search.example.com/search?query={searchTerms}&site=mysite. Generate the OpenSearch description to integrate this search into visitors' browsers.

Haufige Fehler

  • Forgetting to include {searchTerms} in the search URL template — without it, the browser cannot pass the user's query to the search page.
  • Using a relative URL for the favicon or not serving it over HTTPS — the favicon must be an absolute HTTPS URL.
  • Serving the XML file with the wrong Content-Type — it should be application/opensearchdescription+xml for browsers to recognize it.

Überprüfung

  1. Visit your site in Firefox and check the address bar for a green plus icon or search engine addition prompt after adding the link tag.
  2. Verify the XML file at https://yoursite.com/opensearch.xml returns Content-Type: application/opensearchdescription+xml using the browser DevTools Network tab.

FAQ

Fragen zu OpenSearch Description Generator

Which browsers support OpenSearch?

Firefox has the strongest support and actively encourages sites to add OpenSearch descriptions. Chromium-based browsers (Chrome, Edge, Brave) support OpenSearch but the user experience varies. Safari does not support OpenSearch. The link tag is harmless in unsupported browsers and provides a progressive enhancement for Firefox users.

Can I use POST instead of GET for the search method?

Yes, but GET is strongly recommended. GET-based search URLs are bookmarkable, shareable, and work with browser address bar autocomplete. POST-based search requires the browser to submit a form, which limits usability. Most site search implementations use GET with query parameters.

Do I need a suggestions URL?

No, the suggestions URL is optional. It enables search autocomplete suggestions as the user types in the browser search bar, similar to how Google suggests queries. To support suggestions, your server must return JSON in the OpenSearch Suggestions format. Most static sites skip this feature.

Verwandte Tools

Weitere seo-tools

Auch ausprobieren

Auch ausprobieren