toolbin_

Hreflang tag generator for international SEO

Generate hreflang tags for international SEO (languages, regions, x-default), with validation.

Place in the <head> of each page. Every page must reference all versions, including itself (bidirectional hreflang).

🔒 100% client-side — no data sent

Create the hreflang tags to place in the <head> of your multilingual pages to tell Google about language and region versions. Add your language/URL pairs, an x-default, and copy the generated code. The tool checks codes and flags duplicates.

What is it for?

  • Set up SEO for a multilingual site
  • Generate tags for each language/region pair
  • Add an x-default for uncovered languages
  • Avoid hreflang code mistakes

FAQ

What is x-default?

It is the version shown when no declared language matches the user; often the language-selector page or the default version.

Where do hreflang tags go?

In the <head> of each page, or via the HTTP header / sitemap. Every page must list all versions, including itself.

What format for the language code?

An ISO 639-1 code (e.g. fr), optionally followed by an ISO 3166-1 region (e.g. en-US). Case is not significant but the convention is lowercase language, uppercase region.

Does the tool send my URLs anywhere?

No, generation is entirely local in your browser.

Related tools