Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    Hreflang Tag Generator

    Fill in one line per language version of a page and get the hreflang tags for it, as HTML link tags, as XML sitemap entries or as an HTTP header. You can add an x-default, and the tool warns about wrong codes and double entries. Works in English and in Dutch.

    Features

    • One line per language: code, then address
    • HTML tags, XML sitemap entries or an HTTP header
    • An optional x-default version
    • Warnings for wrong language codes, double entries and addresses without https

    How to use Hreflang Tag Generator

    1. Type one line per language, such as nl followed by the address.
    2. Choose an x-default and the output format.
    3. Copy the code into every language version of the page.

    Frequently asked questions

    What is hreflang?

    Hreflang tells search engines which language or country a version of a page is for, so they can show the right version to the right visitor.

    Which language codes can I use?

    Use an ISO 639-1 language code such as nl or en, optionally followed by a country such as nl-BE or en-GB. The tool warns when a code does not have this form.

    Does every version need the same tags?

    Yes. Every language version must contain the full set, including a tag that points to itself, and the versions must point to each other. Otherwise search engines may ignore the tags.

    Is my data sent anywhere?

    No. Everything runs in your browser and nothing is stored or sent.

    Related tools