Accessible Language Switcher Markup Generator
Writes a navigation list of real links for your language versions, labelled in each language.
Use the tool
Why this tool exists
A crawlable switcher uses ordinary links. Each link carries hreflang and lang, so assistive technology pronounces the name correctly, and the current page is marked with aria-current. Labels default to the native name of the language, taken from your browser's Intl data, because people look for their own language.
The tool can also output the matching hreflang link tags for the head. It avoids flags (a flag is a country) and avoids select menus that navigate on change.
How to use it
- Enter one line per version: code | URL | label.
- Set the current page code and a navigation label.
- Copy the nav block and the head tags.
- Style it to match your site.
Frequently asked questions
Why not a dropdown?
Selects that navigate on change are harder for keyboard and screen reader users.
Why native names?
Visitors look for their own language, not the page language.
Should I use flags?
No. A flag stands for a country, not a language.
Is JavaScript needed?
No.