Hreflang tag generator

Build valid hreflang tags for every language and region version of a page, and catch the return-tag mistakes that break them.

hreflang tags for Australian, New Zealand and UK pages

The version shown when no other locale matches. Usually your main market.
Your hreflang tags will appear here.

Every Page Has to Vouch for Every Other Page

Plenty of Perth businesses sell further than the Nullarbor. A Malaga manufacturer ships to Auckland, a Welshpool mining services firm runs an office in Singapore, a Margaret River tour operator keeps a Japanese version of its booking page. The moment you have two versions of the same page for different markets, Google needs to be told which is which. Hreflang does that job.

Think of it as a wedding seating plan. Every page in the set has to list every other page, including itself. Miss one name and the whole table gets reshuffled. If your Australian page points at the New Zealand page but the New Zealand page does not point back, Google treats the claim as unverified and ignores it. No error, no warning. Your Kiwi customers just keep landing on prices in Australian dollars.

That missing return tag is the fault we find most often when Perth Digital Edge audits an international site. The runners-up are relative URLs (hreflang needs the full address, https included), canonicals that point every version at one “main” page and cancel the lot, and invented codes. en-UK is not a thing. The United Kingdom is en-GB, and a country on its own, such as au, is not valid either.

So this tool does not give you one tag per page. It builds the complete, matching block for every URL in the set, self reference and x-default included, ready to paste into each page head. Fiddly to do by hand. Ten seconds here.

One honest limit. Hreflang helps Google show the right version; it will not make a thin New Zealand page outrank a local competitor in Christchurch. The page still has to deserve the click.

New to targeting other countries? Our guide on how to do international SEO covers the full process, and our international SEO service can set it up for you.

Hreflang Generator, Answered

The questions that come up when a WA business first takes on a second market. If you are untangling a site with five regions and a plugin that has its own ideas, the Perth Digital Edge team can help. Call 1800 967 911.

Yes, if you have separate pages for different English-speaking markets. An Australian page and a New Zealand page selling the same thing look like duplicates without it. Hreflang tells Google they are regional versions, using codes like en-AU and en-NZ, and which to show where.

It names the page to show when none of your versions match the searcher. Someone in Germany with no German page on your site needs somewhere to land. Leave it out and Google decides, which usually means your biggest market page wins whether or not that suits you. Most Australian businesses point x-default at their AU page or a simple country chooser.

Language first, then an optional country: en-AU, en-NZ, en-SG, ja-JP. The language uses ISO 639-1 and the country uses ISO 3166-1 Alpha 2. The classic slip is en-UK, which Google ignores; the code for the United Kingdom is GB. A language on its own, such as ja, is fine when one Japanese page serves every Japanese speaker.

In the head of every page in the set, in your XML sitemap, or in HTTP headers for files like PDFs. Pick one method and stick to it across the site. Mixing them is a reliable way to end up with conflicting signals nobody notices for months.

The country domains already tell Google which market each site is for, so it matters less. It is still worth adding when the pages are close copies, because it stops Google picking the wrong one as the main version and swapping them around in results.

Google retired the International Targeting report in Search Console in 2022, so there is no single dashboard any more. Use URL Inspection on each version to see which page Google has chosen as canonical, run a crawler that validates return tags, and search from the other country with a VPN to see which version turns up.

Not directly. It decides which of your own pages appears in each country, rather than how high it ranks. The knock-on effect is real, though: the right currency, phone number and delivery details showing to the right people means fewer bounces and more enquiries.

Other Free Tools

Same deal as this one. Free, no sign up.

Meta Length Checker

Google trims titles by pixel width, not character count. A title full of capital Ws runs out of room long before one full of lowercase Is. See exactly where yours gets cut.

SEO Audit & Speed Test

Scan up to ten pages at once, each with its own target keyword. On-page checks, Google’s speed test and a content analysis, with a full branded PDF report for every page.

Open Graph Preview

Shared a page on Facebook or LinkedIn and watched it pull the wrong photo? Preview the card before it goes out, then generate the tags that fix it.


Our Technology Partners and Certifications

The platforms we build, run and measure your marketing on every day.

Google Partner
Google Ads
Google Analytics
Meta
Instagram
WordPress
WooCommerce
Shopify
Instapage

Book a No-Obligation Strategy Session

Tell us your targets on a free discovery call and we will come back with a clear, accountable plan for SEO, Google Ads and your website.