**Short answer:** if you have one page in a few languages, any free generator will give you working tags. If you have many pages, or you want bad codes and missing return links caught before you publish, pick a tool that validates your input. If you need to audit pages that are already live, use a checker that fetches them, because a generator only works with what you type in.
What to look for
- ✓Code validation: language codes follow ISO 639-1 and regions follow ISO 3166-1, so en-UK and jp are wrong (en-GB and ja are right).
- ✓A self-reference on every page, and the full set of alternates repeated on every page in the group.
- ✓Return links, because Google wants each page to confirm the other.
- ✓An x-default option for visitors who match none of your languages.
- ✓The output method you need: HTML tags, HTTP headers, or a sitemap.
- ✓Handling more than one page at a time, if you have more than a handful of pages.
1. Our Hreflang tag generator and checker (we built it)
You paste one language code and URL per line, with a blank line between pages. It accepts spaces, commas, tabs or pipes, and either column order. It checks codes, relative URLs, duplicates and single-URL pages, then outputs HTML tags, an HTTP Link header or a sitemap with xhtml:link entries. A second mode takes tags you already have and reports missing return links, missing self-references, bad codes and conflicting duplicates. It runs in the browser, with no sign-up.
**Where it falls short:** it never fetches your pages. It cannot see HTTP status codes, redirects or canonical tags, and the checker only knows about the pages whose tags you paste in. It has no drop-down language picker, so you need the codes (there is a short reference on the page). Try it at /tools/hreflang-generator.
2. GeoPlugin hreflang generator
We added four variants (en-US, en-GB, fr-CA, de) using its form. It worked on the first try with no sign-up, and the output included a self-reference for each variant and an x-default pointing at the first URL. Language and country come from drop-down lists, which is friendlier if you do not know the codes. Each variant is added with its own URL, language and country selection, so four variants meant a dozen interactions.
**Where it falls short:** when we then added a second page (a pricing page in en-US and de), it merged everything into one output with en-US and de listed twice and no warning. The language list is also short (the 20 languages we saw did not include Greek, for example). Output is HTML only. It is a good fit for a single page, but you would need to reload it for each additional page.
3. Geotargetly hreflang generator
This one asks for a default URL and then a row per language or country variant, with search-as-you-type fields for language and country. It generated an x-default tag for the default URL straight away, and needed no login for the generator itself. The page also promotes the company's paid geo-redirect product.
**Our test was incomplete:** we could not get a full run through this form using our automated browser, and the one tag we saw come out was missing its URL because of how we filled the fields. So we cannot tell you how complete its output is. Judge it by trying it yourself.
4. jQuery.app hreflang sitemap builder
This builds sitemap XML from language-code and URL pairs, with an optional x-default field and a reciprocity check. It says it runs in the browser with no uploads. It only accepts the format language|url (our space-separated input returned "No valid pairs found"). With a pipe-separated sample, it produced sitemap XML and reciprocity warnings.
**Where it fell short in our test:** the output listed each URL with only its own xhtml:link rather than the full set of alternates, and it accepted the invalid code en-UK without comment. It may expect a different input layout than we used; its page gives only the pipe format as instructions. It is the closest to ours in scope, so try it with your own data.
Checkers that fetch live pages (read, not tested)
We did not run these, so what follows is what their own pages say. The Digital Darts hreflang checker is a free Chrome extension that, per its page, checks return links, codes, self-references, x-default, duplicates, canonicals and redirects on the page you are viewing, and needs no account. DiagnoSEO's hreflang checker fetches the alternates of a URL you give it to verify return links, status and canonicals, and its free plan shows a limit of three checks per day.
These are better than any generator, ours included, when you need to audit a live site, because they look at the real pages. A paid plan is the better choice if you need sitemap checks or higher volume, as DiagnoSEO lists those on its advanced plan.
Which one should you use?
- One page, a few languages, you do not know the codes: use GeoPlugin's drop-down generator.
- Many pages, or you want bad codes and duplicates flagged as you go: use ours, or try the jQuery.app builder if you want sitemap output.
- Output as a sitemap or HTTP header for non-HTML files: ours does both, as does jQuery.app for sitemaps.
- Checking a site that is already live: use a fetching checker such as the Digital Darts extension or DiagnoSEO.
Takeaways
- Every page in a hreflang set needs the full set of tags, including itself, and the return links have to exist on the other pages.
- Wrong region codes (en-UK, jp) are a common mistake, so use a tool that checks them.
- Generators only know what you type in. Only a fetching checker can tell you what Google will actually see.
- Test with a small sample before running it on your whole site.
Sources
- GeoPlugin: Hreflang Tag Generator (tested) — GeoPlugin
- Geotargetly: Hreflang Tag Generator (partly tested) — Geotargetly
- Free Hreflang Sitemap Builder (tested) — jquery.app
- Hreflang tag checker (read only) — Digital Darts
- Hreflang Checker (read only) — DiagnoSEO