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
- Edit the sample rows or add versions with + Add Language Version.
- Enter a language code (like
en), a language-region code (likeen-us), orx-defaultfor the fallback version, with its URL. - 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.
Related Tools
Meta Tag Generator
Generate title, description, robots and language meta tags.
Meta Description Generator
Trim a description to a safe length with live character count.
Open Graph Generator
Generate Open Graph tags for rich link previews on Facebook and LinkedIn.
Twitter Card Generator
Generate X (Twitter) Card meta tags for rich link previews.