Free auditStart free
GlossaryGlossary · International SEO

x-default

x-default is the reserved hreflang value for visitors whose language matches none of your versions. See the syntax, what to point it at, and common mistakes.

3 min
read
2
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

x-default is a reserved hreflang value that names the fallback URL for users whose language and region match none of your localized versions. Google says it was designed for language selector pages, though it can be used on any page. It is added alongside your other hreflang annotations, not instead of them, and needs no language code.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode

At a glance

3 facts from the sources below
Reserved hreflang value
Type
No
Needs a language code
Other hreflang annotations on the same page
Used with
01Explained

What x-default does

Normal hreflang values point a language or region at a URL: de goes to the German page, en-GB to the British one. x-default covers everyone else. Google's documentation says the value is used when no other language or region matches the user's browser setting.

Google's example from its blog: a page has annotations for English and Spanish versions plus an x-default pointing at the English version. French-speaking users are then sent to the English version. The x-default page can be a language and country selector, the page where you send users when you have no content for their region, or simply the version you consider the default.

02Check it

Syntax

x-default is one more <link> tag in the same set as your other alternates. Google's own example:

Google says there is no need to specify a language code for the value, because the page targets users whose language settings are unmatched on your site, so the language of the page is irrelevant. Like other hreflang annotations, it can also be delivered by HTTP header or in an XML sitemap.

html
<link rel="alternate" href="https://example.com/en-gb" hreflang="en-GB" />
<link rel="alternate" href="https://example.com/en-us" hreflang="en-US" />
<link rel="alternate" href="https://example.com/en-au" hreflang="en-AU" />
<link rel="alternate" href="https://example.com/country-selector" hreflang="x-default" />
04Worth knowing

Common mistakes

Using it as a replacement for real versions

It is a fallback. Each language you do support still needs its own annotation.

Forgetting the rest of the set

Google's common-mistakes list starts with missing return links: if page X links to page Y, page Y must link back, or the annotations may be ignored or not interpreted correctly. Google's HTML example puts the x-default tag in the set alongside the language versions.

Adding a language code to it

The value is just x-default.

Skipping it on selector pages

Google says to consider a fallback page for unmatched languages, especially on language/country selectors or auto-redirecting home pages.

For the decision of whether you need one at all, see the fix guide for missing x-default. For the rest of the annotation system, see hreflang.

05Explained

Two side benefits Google names

Google's May 2023 post says URLs in hreflang annotations, including x-default, may be used for URL discovery, which can help large sites where it is hard to make sure every localized URL is well linked. It also says sending users to a page where they can convert, instead of a version they cannot read, can help conversions. Both are Google's stated benefits, not guarantees.

Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What is x-default in hreflang?

It is a reserved hreflang value that specifies the fallback page for users whose language settings don't match any of your site's localized versions.

02Is x-default required?

Google calls it recommended for specifying the fallback page, and tells you to consider adding one, especially on language or country selectors and auto-redirecting home pages. The value is recommended, not listed as required.

03Can x-default be used on any page or only the home page?

Google says you can use it for any page, but it was designed for language selector pages and works best with those.

04Does x-default need a language code?

No. Google says the language of the x-default page is irrelevant because it targets users with unmatched language settings.

Sources · 2

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01Tell Google about localized versions of your pagedevelopers.google.com · checked 2026-10-25
  2. 02How x-default can help youdevelopers.google.com · checked 2026-10-25
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly