Hreflang Tag Generator
Generate correct hreflang tags for your multi-language website. Essential for Dubai and Global markets.
Shown when no language matches.
Language Versions
<!-- Hreflang Tags generated by KERVAN --> <link rel="alternate" hreflang="x-default" href="https://example.com" /> <link rel="alternate" hreflang="en" href="https://example.com/en" /> <link rel="alternate" hreflang="ar-ae" href="https://example.com/ar" />
Hreflang Technical Guide
ISO 639-1
Language codes (e.g., 'en', 'ar'). Always comes first.
ISO 3166-1
Region codes (e.g., 'US', 'AE'). Optional, comes second.
x-default
The fallback page for users with no matching language.
The Golden Rule: Reciprocity
If Page A links to Page B as its Arabic version, Page B must link back to Page A as its English version. If this "return tag" is missing, Google will ignore your instructions.
Best Practices
- Self-Referencing: Every page should have a hreflang tag pointing to itself.
- Absolute URLs: Always use full URLs (https://...), never relative paths.
Common Mistakes
Wrong Region Codes
Never use 'UK' for United Kingdom. The correct code is 'GB'.
Homepage Only
Hreflang must be implemented page-by-page, not just on the homepage.
More Free SEO Tools
SERP Simulator
Preview how your website will look in Google search results. Optimize Title & Meta Description for higher CTR.
Meta Tag Generator
Generate standard HTML Meta Tags for your website including Title, Description, Robots, and Viewport.
Ultimate Schema Gen
All-in-one structured data builder. Create Article, FAQ, Local Business, Product, and Organization schemas to win Rich Snippets.
Social Preview (OG)
See exactly how your content will appear when shared on Facebook, LinkedIn, and X (Twitter).
Robots.txt Generator
Control which bots can access your site. Block AI scrapers or allow Googlebot with simple toggles.
AI Visibility Score
Will ChatGPT or Google SGE cite you? Test your content's machine readability and 'Answer Engine' readiness.
llms.txt Generator
The future of SEO. Create a context file for AI models (ChatGPT, Claude) to better understand your website.