Hreflang Tag Generator
Generate <link rel="alternate" hreflang="…"> tags for international SEO from a simple table.
Presets
Tags
<link rel="alternate" hreflang="en" href="https://example.com/en/about" /> <link rel="alternate" hreflang="es" href="https://example.com/es/about" /> <link rel="alternate" hreflang="x-default" href="https://example.com/about" />
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/hreflang-generator/run \
-H "Content-Type: application/json" \
-d '{
"entries": [
{
"lang": "a",
"url": "https://example.com"
}
]
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/hreflang-generator/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"entries": [
{
"lang": "a",
"url": "https://example.com"
}
]
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_hreflang_generatorFull reference: developer docs · OpenAPI spec
About hreflang
hreflang tells search engines which version of a page to show users in a given language and region. Every page in the set should reference every other version, including itself (self-referential).
Use x-default for the fallback when no other locale matches. The code can be a language alone (en) or language-region (en-US).
You might also like
- Keyword Density CheckerAnalyse text for word, phrase, and n-gram frequency — see what your content is actually about.
- Robots.txt GeneratorBuild a robots.txt for your site with a guided UI.
- Sitemap ValidatorValidate sitemap.xml against the protocol and inspect every URL inside.
- Title & Meta Description Length CheckerCheck whether your title tag and meta description fit Google's truncation limits.