Hreflang Generator
Hreflang Generator — runs in your browser. Inputs are not stored.
hreflang tag generator
다국어 페이지용 <link rel="alternate" hreflang="…" href="…"> 태그를 만듭니다.
How to use
- Check rows of language codes and URLs. Use Add row if you need more.
- Fill each row with a code such as ko, en, en-US and the absolute URL of that language page.
- If you have a fallback when no language matches, fill x-default URL.
- Press Generate, review the
link rel=alternatetags, and Copy them intohead. - Reset restores the rows. Putting the same set on every language page is the safer pattern.
Key concepts
The hreflang generator builds link tags that tell search engines how multilingual or multi-region pages correspond. If versions do not point at each other, the signal can be ignored—so the same bundle goes on every language version. Codes look like ko, en, or en-US. x-default is the page to show when no language fits.
If slash rules differ and URLs 404, the tags are meaningless. Generation runs only in the browser. This screen builds HTML link tags only, not sitemap hreflang. Assigning different language codes to nearly identical pages can be a quality issue.
Example
One row ko + Korean URL, next row en + English URL, x-default = language picker → three link tags. Add ja and you get four lines. Paste the same tags into each language head. Without reciprocal links, engines may ignore the signal. Whether you use ko-KR or just ko should match the real content scope. If slash conventions differ and a URL 404s, the tag is useless. When retrying, reset first so old output is not mixed in. On a shared computer, clear the fields when you finish. Closing the tab discards values; no server delete is needed. Labels match the tool at the top of the page. If the result is empty, check required fields and hidden errors. This article is a how-to; it does not mean input is stored off-site.
Related: Meta tag generator · Sitemap generator · JSON-LD generator
Frequently asked questions
What is x-default in hreflang?
The fallback page when language or region does not match. Often a language picker or global home.
Must every language page have the same tags?
Using the same set so links are reciprocal is the safer approach.
Are tags saved on a server?
No. They are generated only in the browser.
What language-code format is used?
Language only (ko, en) or language-region (en-US).
Does it output sitemap hreflang?
This screen builds HTML <code>link</code> tags only.
How many rows can I add?
Add row grows language pairs. Match the number of languages you actually ship.
Last reviewed: 2026-09-04