English, British English and German
en https://example.com/, en-GB https://example.com/uk/ and de https://example.com/de/, with x-default https://example.com/, give four <link rel="alternate"> tags to put on all three pages.
Generate hreflang tags for multilingual sites as HTML, sitemap XML or an HTTP header, with code checks.
One per line: a language code (en, en-GB, pt-BR), then the full URL of that version.
Where to send visitors whose language isn't listed.
Add a language code and URL for each version of the page.
Runs in your browser — nothing you enter is sent to a server.
Hreflang annotations tell search engines which URL to show to speakers of each language or people in each country. List every version of a page — one language code and URL per line — and add an optional x-default URL for everyone else. The tool checks each code and writes the annotations as HTML <link> tags, an XML sitemap or an HTTP Link header (useful for PDFs).
A code is an ISO 639-1 language (en), optionally followed by an ISO 3166-1 country (en-GB) or a script (zh-Hant). Every version must carry the full set, including a link to itself; if the pages don't link back to each other, search engines ignore the annotations.
en https://example.com/, en-GB https://example.com/uk/ and de https://example.com/de/, with x-default https://example.com/, give four <link rel="alternate"> tags to put on all three pages.
en-UK is rejected: the country code for the United Kingdom is GB, so the correct code is en-GB. Region-only codes such as us are also invalid — a language always comes first.
It's the page for visitors whose language or country doesn't match any listed version — often the home page or a language picker. It's optional but recommended.
Either works; use one method, not both. Tags are simplest for a few pages; a sitemap is easier for large sites because the pages themselves don't change. HTTP headers are for files without an HTML <head>, such as PDFs.
No. Each language version should have a canonical tag pointing to itself, not to the main-language version — otherwise search engines may drop the other versions.
Turn a list of page URLs into a valid XML sitemap, with duplicate removal and URL checks.
SEO Tools
Generate the title, description, canonical, robots and viewport tags for a page's <head>, with length checks.
SEO Tools
Create a robots.txt file that blocks paths, allows exceptions, lists sitemaps and can block AI training crawlers.
SEO Tools