SEO & Marketing

Hreflang Alternate URL Builder

Assemble hreflang alternate link tags and matching sitemap XML snippets for multilingual URL sets so search engines can map language and region variants.

SEOHTMLInternational

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Connect language versions of the same article for global sites
  • Prepare hreflang clusters for a country-specific site group
  • Generate sitemap xhtml:link alternates alongside HTML head tags

How to use

  1. Add language codes and absolute URLs
  2. Optionally set the sitemap loc URL
  3. Copy the HTML head tags or sitemap XML snippet

Example input and output

Lang

en

Code

rel="alternate" hreflang="en"

FAQ

What is x-default?

It is the fallback version shown when no language or region match is available.

Tools

Related tools

Continue with another translated tool for a nearby task.

Canonical Tag Generator

Canonical Tag - Preferred URL Markup

Available

Generate a link rel="canonical" tag from a preferred URL so search engines can identify the primary address among parameterized or duplicate pages.

Canonical SEO HTML