Hreflang Tag Generator

Create hreflang tags for multi-language pages.

Use codes like en, en-gb, fr, es-mx. Add these tags to the <head> of every language version, and make sure each page references all the others.

How to use the Hreflang Tag Generator

Simple, free and instant - no sign-up required.

1

Fill in your details

Enter your page info in the fields - everything is generated in your browser, nothing is uploaded.

2

Adjust the options

Tweak the settings to generate exactly the markup or URL you need.

3

Get the code instantly

Your tags, code or URL build live as you type - no waiting and no processing queue.

4

Copy & paste into your site

Copy the output or download the file, then drop it into your page head, server config or CMS.

Advertisement · 970×90

Frequently asked questions

Everything you need to know about Hreflang Tag Generator.

hreflang tags tell search engines which language and region each version of a page targets, so the right version shows to the right users — e.g. the French page to French speakers.
Add the generated <link rel="alternate" hreflang=…> tags to the <head> of every language version of the page. Each version must list all versions, including itself.
x-default specifies the fallback page for users whose language or region doesn't match any of your specific versions — often your homepage or an international/language-picker page.

Related tools

More handy tools for your workflow.

View all tools
Hreflang Tag Generator | Free Online SEO & Web Tool - EveryFileTool