Free local SEO tool

Hreflang & Redirect Map Generator

Build a hreflang set and a redirect map without a server or crawler. The output is a draft for review; redirects must be tested before deployment.

Privacy: everything runs in your browser. No input is uploaded. No account required. Results are heuristics, not guarantees.

Hreflang set

One row per language/region. Use ISO language codes and a full URL. Every set should include a self-reference.

Redirect map

One line per redirect: old-path,new-path or full URLs.

Hreflang output

No hreflang set generated yet.

Redirect output

No redirect map generated yet.

Hreflang is a matching system

Every page should self-reference and point to valid alternates. It is not a translation switcher and it does not fix duplicate content by itself.

Redirect maps need a target

A redirect should land on the closest topical equivalent, not the homepage. This generator writes the map; it does not deploy it.

What a correct hreflang set needs

Every page should reference itself and every alternate. Return tags should be reciprocal: if en points to zh-CN, zh-CN should point back to en. Use the correct ISO language and optional region code. Do not use hreflang to fix duplicate content that should be consolidated.

Redirect mapping rules

  1. Map to the closest topical page, not the homepage.
  2. Avoid chains: old → new → final should be one hop.
  3. Keep redirects for URLs with external links, ideally indefinitely.
  4. Test status codes and canonical tags after deployment.
  5. Keep a CSV of every mapping for rollback.

Security and privacy

The generator does not crawl or deploy. Review generated Nginx rules before use; a bad rewrite can break a site.

Related work

Use the Robots & Sitemap tool for discovery, and the scorecard to check access.

FAQ

Does it crawl my site?

No. You paste the URLs and redirects; the tool formats and checks duplicates.

Is the Nginx output deployable?

Treat it as a draft. Test the exact paths, status codes and chains in staging before production.

Do I need a self-referencing hreflang?

Yes. Each page in the set should include itself, plus valid alternates.

Do I need return tags?

Yes. Alternates should be reciprocal; a one-way annotation is a common error.

Can the Nginx output be deployed directly?

It is a draft. Test paths, status codes and chains in staging first.

Browse all tools · See iCalf features