Technical SEO

Hreflang Tag Generator & Validator

List each language or region version of your page, then get a ready-to-paste hreflang tag set, already checked for the mistakes that can quietly rosak your international SEO.

Runs entirely in your browser lah. Nothing you type here is sent anywhere except an anonymized usage count.

Language versions

Language / region code Page URL
Output format

Generated tags

Add at least one language version above, then click Generate.

How to use hreflang properly

Hreflang works as a reciprocal set: every URL you listed above, including the page you are on now, must appear in the tag list, and the same exact tag list must go on every one of those pages — cannot just put on one page only.

Add one x-default entry to point at the fallback page shown to visitors whose language dun match any of your other versions. Strongly recommended, but not a hard rule.

You can put hreflang as HTML link tags in the page head, as HTTP headers, or as xhtml:link entries in your XML sitemap. Just pick one method for the whole site and stick to it, don't mix and match across pages.

📊 How accurate is this page?

Tap a face to rate it — then see what everyone thinks.

0%

Couldn't save your vote — please try again.

4