← All text tools

Hreflang tag generator

Create hreflang tags for multilingual sites (like Arabic + English), with code checks.

  • Free
  • No sign-up
  • Works on any device

About Hreflang tag generator

Creates hreflang link tags that tell search engines which language or regional version of a page to show, for example Arabic and English pages of the same content. It checks language codes such as ar or en-GB. Each version must link to all the others and to itself.

How to use Hreflang tag generator

  1. Add each language version with its page address.
  2. Pick the language and region code for each one.
  3. Copy the generated hreflang tags into the head of every page.

Why use this tool?

Also known as

Frequently asked questions

Why must hreflang tags link both ways?

Search engines ignore the annotation if pages do not confirm each other. Every version must list all alternates, including itself, and may add x-default as fallback.

What do language and region codes look like?

Use a language code like en or ar, and optionally a region like en-GB or ar-SA. The tool checks the codes, so fix any that it flags before you publish.

What is x-default for?

It marks the fallback page for visitors whose language does not match any version, such as a language chooser or your main version. Add it once per group of pages.

Is Hreflang tag generator free?

Yes. Hreflang tag generator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Hreflang tag generator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools