Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Hreflang Tag Generator & Checker for Multilingual Sites

    1

    Builds hreflang tags, an XML sitemap and HTTP Link headers from a CSV of language versions, and checks saved pages or a sitemap for wrong codes like en-UK or jp, missing return links, x-default and canonical conflicts.

    $7.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Hreflang Tag Generator & Checker for Multilingual Sites

    Hreflang Tag Generator & Checker for Multilingual Sites

    Example session with this skill installed

    Generate hreflang tags for three versions of my homepage: English (global), Japanese, and Simplified Chinese for Singapore. The URLs are https://site.com/, https://site.com/ja/, and https://site.com/zh-sg/.

    • Read your context and instructions
    • Compiled the hreflang tag generator

    I have generated the hreflang annotations for your homepage group. The configuration includes the x-default fallback for the English global version and uses the specific zh-SG code for the Singapore market.

    Hreflang Configuration

    VersionURLHreflang CodeRole
    Global / Englishhttps://site.com/en, x-defaultPrimary/Fallback
    Japanesehttps://site.com/ja/jaRegional
    Chinese (SG)https://site.com/zh-sg/zh-Hans-SGRegional (Script + Region)

    HTML Head Tags

    <link rel="alternate" hreflang="x-default" href="https://site.com/" />
    <link rel="alternate" hreflang="en" href="https://site.com/" />
    <link rel="alternate" hreflang="ja" href="https://site.com/ja/" />
    <link rel="alternate" hreflang="zh-Hans-SG" href="https://site.com/zh-sg/" />
    

    Sitemap XML Snippet

    <url>
      <loc>https://site.com/</loc>
      <xhtml:link rel="alternate" hreflang="x-default" href="https://site.com/"/>
      <xhtml:link rel="alternate" hreflang="en" href="https://site.com/"/>
      <xhtml:link rel="alternate" hreflang="ja" href="https://site.com/ja/"/>
      <xhtml:link rel="alternate" hreflang="zh-Hans-SG" href="https://site.com/zh-sg/"/>
    </url>
    

    Next steps

    1. Self-Reference Check: Ensure each of these pages contains the full set of links including itself.

    Canonical Alignment: Verify that https://site.com/zh-sg/ has a self-referencing canonical tag and does not point to the English version.
    3.

    Baidu Optimization: For the Chinese version, ensure <html lang="zh-SG"> is set, as Baidu ignores these hreflang tags.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Hreflang tells search engines which language or country version of a page to show, and one wrong code or missing return link can make them ignore the whole set. This skill builds the annotations from a simple sheet and checks what is already on your site, with extra care for Chinese, Japanese and Korean markets.

    What it does

    • Code planner: picks valid codes (ISO 639-1 language, optional script, ISO 3166-1 region), including zh-Hans, zh-Hant, zh-TW, zh-HK, ja and ko, and explains when to use x-default.
    • Generator: a standard-library Python script turns a CSV of page groups into head link tags for every page, an XML sitemap with xhtml:link alternates, and HTTP Link headers for PDFs.
    • Checker: reads saved HTML pages and/or your sitemap and flags invalid codes (en-UK, jp, cn, es-419), missing self-references, non-reciprocal return links, incomplete sets, missing x-default, relative URLs, duplicate languages, and HTML vs sitemap conflicts.
    • Canonical conflicts: catches translations canonicalized to another language and alternates that point to non-canonical URLs.
    • Translation flags: html lang mismatches, Simplified text on Traditional pages and the reverse, Japanese pages with no kana, and titles left untranslated.
    • Other engines: plain notes on Baidu (no hreflang support), Naver, Bing and Yandex, plus site structure advice for ccTLDs, subfolders and subdomains.

    How it works

    1. List your language versions in a CSV (group, URL, code) or save your live pages.
    2. Run the build or check command; the skill explains each finding.
    3. Paste the tags, sitemap or headers into your site and re-check.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Marketing & SEO.

    Works from a CSV, saved HTML files and sitemap files; it does not crawl your site, fetch URLs or read Search Console. Translation checks are simple heuristics and need a native speaker's review. Correct hreflang helps engines show the right version but there is no ranking guarantee.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    Accounts
    Sitemaps
    Software
    Python 3

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Allowed Hosts

    example.com
    host
    www.sitemaps.org
    www.w3.org
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    There is no guarantee. Hreflang helps search engines show the right language or country version; it is not a ranking boost.

    Use zh-Hans and zh-Hant when you have one page per script, and zh-CN, zh-TW or zh-HK when pages differ by market. The skill helps you choose and checks the codes.

    Baidu does not support hreflang. The skill explains what Baidu looks for instead, such as Simplified Chinese content on a host that loads well in mainland China.

    No. It reads files you give it: a CSV, saved HTML pages or a sitemap. Nothing is fetched from the internet.

    Yes. Save the rendered pages or download the sitemap, and the checker reads them the same way.

    New in Marketing & SEO