Free Tool · Generator
Hreflang Tag Generator
Generate hreflang tags for international SEO — HTML link tags, HTTP headers, or XML sitemap format with x-default support.
Hreflang tags
HTMLDrop inside <head><link rel="alternate" hreflang="x-default" href="https://example.com/" />
<link rel="alternate" hreflang="en-US" href="https://example.com/" />
<link rel="alternate" hreflang="fr-FR" href="https://example.com/fr" />Automate it with SEOitis
Serving multiple languages? Don't lose rankings.
SEOitis automatically generates hreflang tags and multilingual content structures. Run a free analysis to check your international SEO setup.
How to use
How to use the Hreflang Tag Generator
- 01
Every version must link to all other versions — including itself
Missing a self-referencing hreflang is the most common implementation mistake. If page A lists B and C, then B must also list A, B (self), and C. Incomplete bi-directional linking causes Google to ignore the tags entirely.
- 02
Always include an x-default for the fallback page
x-default tells search engines which URL to serve users whose language/region doesn't match any specified hreflang entry. It's typically your primary English page or a language-selector landing page.
- 03
Use ISO 639-1 language codes and ISO 3166-1 Alpha-2 region codes
Examples: en-US, fr-FR, pt-BR. The language code is required, the region is optional. Don't invent codes — 'en-UK' is wrong (it's 'en-GB'). Google silently ignores invalid codes.
Frequently asked
About the Hreflang Tag Generator
Related tools
Pairs well with this one
Redirect Generator
Generate 301/302 redirect rules for Apache .htaccess, Nginx, Next.js, and Vercel — with bulk import support.
XML Sitemap Generator
Create valid XML sitemaps with priority, change frequency, and last modified dates — bulk URL support included.
Robots.txt Generator
Build a clean robots.txt — including AI bots like GPTBot, ClaudeBot, PerplexityBot, Google-Extended, and CCBot.
Disavow File Generator
Build a Google disavow.txt file to reject spammy backlinks — with URL/domain validation, comments, and bulk import.
More free tools
The full SEOitis free toolkit
01 · Generator
Schema Markup Generator
Generate validated JSON-LD schema markup for 9 types — paste-ready for your site.
02 · Analyzer
Google SERP Preview
See how your title and description render on Google desktop, mobile, and as a social card — with real pixel-width truncation.
03 · Analyzer
Core Web Vitals Checker
Real Core Web Vitals from Google PageSpeed Insights — LCP, INP, CLS, FCP, TTFB. Lab + field data, mobile + desktop.
04 · Generator
Meta Tag Generator
Build a complete, validated set of HTML meta tags — title, description, robots, canonical, Open Graph, Twitter cards, and more.
05 · Generator
Robots.txt Generator
Build a clean robots.txt — including AI bots like GPTBot, ClaudeBot, PerplexityBot, Google-Extended, and CCBot.
06 · Checklist
SEO + AI Search Checklist
A modern 50-item SEO checklist covering technical, on-page, content, and AI-search (GEO) — with progress saved in your browser.
07 · Generator
Open Graph Generator
Generate Open Graph and Twitter Card meta tags with live social preview — see how your links look on Facebook, Twitter/X, and LinkedIn.
08 · Generator
Hreflang Tag Generator
Generate hreflang tags for international SEO — HTML link tags, HTTP headers, or XML sitemap format with x-default support.
09 · Analyzer
Keyword Density Checker
Analyze keyword frequency and density in your content — single words, 2-word, and 3-word phrases with stop-word filtering.
10 · Generator
Redirect Generator
Generate 301/302 redirect rules for Apache .htaccess, Nginx, Next.js, and Vercel — with bulk import support.
11 · Generator
XML Sitemap Generator
Create valid XML sitemaps with priority, change frequency, and last modified dates — bulk URL support included.
12 · Generator
Disavow File Generator
Build a Google disavow.txt file to reject spammy backlinks — with URL/domain validation, comments, and bulk import.
13 · Analyzer
Word Counter
Count words, characters, sentences, paragraphs, and reading time — with SEO content length recommendations.
14 · Generator
UTM Link Builder
Build campaign URLs with UTM parameters for Google Analytics tracking — with source/medium presets and live preview.