Hreflang Generator

Hreflang tags tell search engines which URL to show to visitors of a given language or region, so they land on the right version of your page. This tool builds the full set of tags from a simple list.

How to Use This Tool

  1. Edit the sample rows or add versions with + Add Language Version.
  2. Enter a language code (like en), a language-region code (like en-us), or x-default for the fallback version, with its URL.
  3. Copy the generated tags and add the same full set to every language version of the page.

Why Use ToolVigo's Hreflang Generator

  • Supports language-only, language-region, and x-default codes.
  • Generates the full reciprocal tag list at once.
  • Simple two-field rows, no need to remember exact syntax.

Limitations

Does not validate that each listed URL actually exists or returns the expected language version.

Privacy & Security

This tool runs entirely in your browser. Nothing you type is uploaded to ToolVigo's servers or stored anywhere.

Frequently Asked Questions

Do hreflang tags need to be on every language version, or just one?

The complete set of hreflang tags should appear on every version of the page, each one listing all versions including itself, for search engines to trust the signal.

What does x-default mean?

It marks the URL to show visitors when no other language or region tag matches them, commonly used for a language-selector page or a default version.