Type a tool name, for example "keyword density" or "transcript".
Test the language versions of a page, and whether they link back to each other.
Separate several with spaces or commas.
en-UKNot supportedUse en-GBThe country code of the United Kingdom is GB. UK is only reserved in ISO 3166-1, and Google ignores it.
de-ATSupportedGerman (Austria)
jpNot supportedUse jaJP is a country code (Japan). A code has to start with a language.
| Written | Use | Why |
|---|---|---|
en-UK | en-GB | The country code of the United Kingdom is GB. UK is only reserved in ISO 3166-1, and Google ignores it. |
uk | en-GB | uk is the language Ukrainian. The country code of the United Kingdom is GB. |
en_US | en-US | The parts are joined with an underscore. Google expects a hyphen. |
GB-en | en-GB | The order is reversed: the language comes first, then the country. |
jp | ja | JP is a country code (Japan). A code has to start with a language. |
cn | zh | CN is the country China. Use zh, or zh-Hans and zh-Hant for the two scripts. |
se | sv | se is the language Northern Sami. It does not stand for the country (Sweden). |
be | nl-BE | be is the language Belarusian. For Belgium write nl-BE, fr-BE or de-BE. |
es-419 | es | 419 is the UN number for Latin America. Google names es-419 as a code it does not support. |
en-EU | en | EU (European Union) is not an assigned country code in ISO 3166-1, so Google ignores that part. |
| Written | Use | Why |
|---|---|---|
es-LA | es | LA is Laos. Latin America has no country code: use es for all Spanish speakers, or one tag per country, such as es-MX and es-AR. |
br | pt-BR | br is the language Breton. It does not stand for the country (Brazil). |
tw | zh-TW | tw is the language Twi. It does not stand for the country (Taiwan). |
kr | ko | kr is the language Kanuri. It does not stand for the country (South Korea). |
gr | el | GR is a country code (Greece). A code has to start with a language. |
cz | cs | CZ is a country code (Czechia). A code has to start with a language. |
dk | da | DK is a country code (Denmark). A code has to start with a language. |
ua | uk | UA is a country code (Ukraine). A code has to start with a language. |
vn | vi | VN is a country code (Vietnam). A code has to start with a language. |
us | en-US | US is a country code (United States). A code has to start with a language. |
mx | es-MX | MX is a country code (Mexico). A code has to start with a language. |
at | de-AT | AT is a country code (Austria). A code has to start with a language. |
ch | de-CH | ch is the language Chamorro. For Switzerland write de-CH, fr-CH or it-CH. |
ca | en-CA | ca is the language Catalan. For Canada write en-CA or fr-CA. |
eng | en | Google reads two-letter language codes (ISO 639-1). eng is the three-letter form of English. |
en-USA | en-US | Google reads two-letter country codes. USA is a three-letter one (United States). |
ar-AR | ar | The language code is repeated as the country, and AR is the code of Argentina. |
sv-SV | sv-SE | The language code is repeated as the country, and SV is the code of El Salvador. |
ja-JA | ja-JP | The language code is repeated as the country, but JA is not the country code. |
ko-KO | ko-KR | The language code is repeated as the country, but KO is not the country code. |
da-DA | da-DK | The language code is repeated as the country, but DA is not the country code. |
zh-CHS | zh-Hans | CHS is an old Windows code for Chinese. |
iw | he | iw is not the current code for Hebrew. |
default | x-default | The fallback value is written x-default. |
A language code comes first. A script and a country may follow, joined with hyphens: en, en-GB, zh-Hant, zh-Hans-SG. Capital letters make no difference.
abAbkhazianaaAfarafAfrikaansakAkansqAlbanianamAmharicarArabicanAragonesehyArmenianasAssameseavAvaricaeAvestanayAymaraazAzerbaijanibmBambarabaBashkireuBasquebeBelarusianbnBengali (Bangla)biBislamabsBosnianbrBretonbgBulgarianmyBurmesecaCatalanchChamorroceChechennyChichewa (Nyanja)zhChinesecuChurch SlaviccvChuvashkwCornishcoCorsicancrCreehrCroatiancsCzechdaDanishdvDhivehinlDutchdzDzongkhaenEnglisheoEsperantoetEstonianeeEwefoFaroesefjFijianfiFinnishfrFrenchffFulahglGalicianlgGandakaGeorgiandeGermanelGreekgnGuaraniguGujaratihtHaitian CreolehaHausaheHebrewhzHererohiHindihoHiri MotuhuHungarianisIcelandicioIdoigIgboidIndonesianiaInterlinguaieInterlingueiuInuktitutikInupiaqgaIrishitItalianjaJapanesejvJavaneseklKalaallisutknKannadakrKanuriksKashmirikkKazakhkmKhmerkiKikuyurwKinyarwandakvKomikgKongokoKoreankjKuanyamakuKurdishkyKyrgyzloLaolaLatinlvLatvianliLimburgishlnLingalaltLithuanianluLuba-KatangalbLuxembourgishmkMacedonianmgMalagasymsMalaymlMalayalammtMaltesegvManxmiMaorimrMarathimhMarshallesemnMongoliannaNaurunvNavajongNdonganeNepalindNorth NdebeleseNorthern SaminoNorwegiannbNorwegian BokmålnnNorwegian NynorskocOccitanorOdia (Oriya)ojOjibwaomOromoosOsseticpiPalipsPashtofaPersianplPolishptPortuguesepaPunjabiquQuechuaroRomanianrmRomanshrnRundiruRussiansmSamoansgSangosaSanskritscSardiniangdScottish GaelicsrSerbiansnShonaiiSichuan YisdSindhisiSinhalaskSlovakslSloveniansoSomalinrSouth NdebelestSouthern SothoesSpanishsuSundaneseswSwahilissSwatisvSwedishtlTagalogtyTahitiantgTajiktaTamilttTatarteTeluguthThaiboTibetantiTigrinyatoTongantsTsongatnTswanatrTurkishtkTurkmentwTwiukUkrainianurUrduugUyghuruzUzbekveVendaviVietnamesevoVolapükwaWallooncyWelshfyWestern FrisianwoWolofxhXhosayiYiddishyoYorubazaZhuangzuZuluAFAfghanistanALAlbaniaDZAlgeriaASAmerican SamoaADAndorraAOAngolaAIAnguillaAQAntarcticaAGAntigua and BarbudaARArgentinaAMArmeniaAWArubaAUAustraliaATAustriaAZAzerbaijanBSBahamasBHBahrainBDBangladeshBBBarbadosBYBelarusBEBelgiumBZBelizeBJBeninBMBermudaBTBhutanBOBoliviaBABosnia and HerzegovinaBWBotswanaBVBouvet IslandBRBrazilIOBritish Indian Ocean TerritoryVGBritish Virgin IslandsBNBruneiBGBulgariaBFBurkina FasoBIBurundiKHCambodiaCMCameroonCACanadaCVCape VerdeBQCaribbean NetherlandsKYCayman IslandsCFCentral African RepublicTDChadCLChileCNChinaCXChristmas IslandCCCocos (Keeling) IslandsCOColombiaKMComorosCDCongo (DR Congo)CGCongo (Republic)CKCook IslandsCRCosta RicaHRCroatiaCUCubaCWCuraçaoCYCyprusCZCzechiaCICôte d'IvoireDKDenmarkDJDjiboutiDMDominicaDODominican RepublicECEcuadorEGEgyptSVEl SalvadorGQEquatorial GuineaEREritreaEEEstoniaSZEswatiniETEthiopiaFKFalkland IslandsFOFaroe IslandsFJFijiFIFinlandFRFranceGFFrench GuianaPFFrench PolynesiaTFFrench Southern TerritoriesGAGabonGMGambiaGEGeorgiaDEGermanyGHGhanaGIGibraltarGRGreeceGLGreenlandGDGrenadaGPGuadeloupeGUGuamGTGuatemalaGGGuernseyGNGuineaGWGuinea-BissauGYGuyanaHTHaitiHMHeard and McDonald IslandsHNHondurasHKHong KongHUHungaryISIcelandINIndiaIDIndonesiaIRIranIQIraqIEIrelandIMIsle of ManILIsraelITItalyJMJamaicaJPJapanJEJerseyJOJordanKZKazakhstanKEKenyaKIKiribatiKWKuwaitKGKyrgyzstanLALaosLVLatviaLBLebanonLSLesothoLRLiberiaLYLibyaLILiechtensteinLTLithuaniaLULuxembourgMOMacaoMGMadagascarMWMalawiMYMalaysiaMVMaldivesMLMaliMTMaltaMHMarshall IslandsMQMartiniqueMRMauritaniaMUMauritiusYTMayotteMXMexicoFMMicronesiaMDMoldovaMCMonacoMNMongoliaMEMontenegroMSMontserratMAMoroccoMZMozambiqueMMMyanmar (Burma)NANamibiaNRNauruNPNepalNLNetherlandsNCNew CaledoniaNZNew ZealandNINicaraguaNENigerNGNigeriaNUNiueNFNorfolk IslandKPNorth KoreaMKNorth MacedoniaMPNorthern Mariana IslandsNONorwayOMOmanPKPakistanPWPalauPSPalestinePAPanamaPGPapua New GuineaPYParaguayPEPeruPHPhilippinesPNPitcairn IslandsPLPolandPTPortugalPRPuerto RicoQAQatarRORomaniaRURussiaRWRwandaRERéunionBLSaint BarthélemySHSaint HelenaKNSaint Kitts and NevisLCSaint LuciaMFSaint Martin (French part)PMSaint Pierre and MiquelonVCSaint Vincent and GrenadinesWSSamoaSMSan MarinoSASaudi ArabiaSNSenegalRSSerbiaSCSeychellesSLSierra LeoneSGSingaporeSXSint Maarten (Dutch part)SKSlovakiaSISloveniaSBSolomon IslandsSOSomaliaZASouth AfricaGSSouth Georgia and South Sandwich IslandsKRSouth KoreaSSSouth SudanESSpainLKSri LankaSDSudanSRSurinameSJSvalbard and Jan MayenSESwedenCHSwitzerlandSYSyriaSTSão Tomé and PríncipeTWTaiwanTJTajikistanTZTanzaniaTHThailandTLTimor-LesteTGTogoTKTokelauTOTongaTTTrinidad and TobagoTNTunisiaTMTurkmenistanTCTurks and Caicos IslandsTVTuvaluTRTürkiyeUMU.S. Outlying IslandsVIU.S. Virgin IslandsUGUgandaUAUkraineAEUnited Arab EmiratesGBUnited KingdomUSUnited StatesUYUruguayUZUzbekistanVUVanuatuVAVatican CityVEVenezuelaVNVietnamWFWallis and FutunaEHWestern SaharaYEYemenZMZambiaZWZimbabweAXÅland IslandsArabArabicHansChinese, SimplifiedHantChinese, TraditionalCyrlCyrillicDevaDevanagariGuruGurmukhiLatnLatinMongMongolianLists compared with the Library of Congress, the Unicode Consortium and the United Nations on December 5, 2026.
A hreflang checker tests whether the language and country versions of a page are tagged correctly and point back to each other. With this free tool you enter a page address, an XML sitemap or pasted code, and it returns a verdict, a table showing who lists whom, and a specific fix for every problem it finds.
Hreflang is an annotation that tells search engines which language, and optionally which country, a page targets, and which other URLs are its translations or regional equivalents. According to Google's Search Central documentation, it helps Google show the right version to the right searcher. It does not raise rankings by itself. It swaps the URL shown in results.
Each annotation pairs a code with an absolute URL. The code is a two-letter language (such as en), optionally followed by a hyphen and a region (en-GB, pt-BR) or a script (zh-Hant). The special value x-default marks the fallback page for everyone else, usually a language selector or a global homepage.
You can place the annotations in three spots: link tags in the HTML head, an HTTP Link header, or an XML sitemap. Use one method consistently for a set of pages. Two rules apply to all of them:
You can start from a live page, a whole sitemap, or code you paste, and each route ends with the same report.
https://example.com/en/. If your hreflang lives in a sitemap, select The sitemap has another address and enter the Sitemap address, such as https://example.com/sitemap-en.xml.https://example.com/sitemap.xml. Optionally fill in Page to open and check (optional) to put one URL in focus.Say your English page https://example.com/en/ contains four annotations: en-US pointing to /en/, en-UK pointing to /uk/, de pointing to /de/, and x-default pointing to the homepage. The German page lists the same four. The UK page has no hreflang at all.
The checker reports two problems. First, en-UK is not a valid code, because the United Kingdom's region code is GB, so the fix shown is en-GB. Second, the UK page does not link back to the English or German page, so those two links have no return tag. The matrix under Who lists whom shows an empty row for the UK page, and the Only pages with something missing filter narrows the table to it.
The repair is to add the full set of four tags, with the corrected en-GB code, to the head of every version, including the UK page itself. Run the check again and the verdict should clear.
The report starts with an overall verdict, then breaks the details into sections you can scan in under a minute.
A good result has every version listed by every other version, each page including itself, valid codes, absolute URLs, and one x-default. A poor result has gaps in the grid, codes the checker cannot validate, or tags that point to a redirected or broken address. Fix errors first, then warnings. A warning often means the code is understood but written in an unusual way, such as a wrong letter case.
The code tester checks one or more hreflang codes you type and tells you whether each is valid, and what to write instead if it is not. Enter values like en-UK de-AT jp in One or more hreflang codes, or type a plain name such as Swedish, Brazil or ko into Find a language or country to look up the right code.
| Written | Use | Why |
|---|---|---|
| en-UK | en-GB | GB is the region code for the United Kingdom |
| jp | ja | jp is Japan's country code; Japanese is ja |
| us-en | en-US | Language comes first, region second |
| en_US | en-US | Use a hyphen, not an underscore |
The page also lists common wrong codes with their right versions, and full lists of valid language and country codes you can search. A short section called What Google and Bing say summarizes how both engines treat the annotations.
Anyone who publishes the same content for more than one language or market will benefit, because hreflang errors fail silently. Nothing looks broken on screen, yet the wrong version may appear in search.
If you have not written the tags yet, build them first with the hreflang tags generator, then come back and verify the output.
Most hreflang failures come from a short list of repeat mistakes, and each one has a quick fix.
en-UK, jp or us-en using the code tester.If the report shows nothing found, check that the tags are in the head and not injected somewhere the page source does not include them. In that case, paste the rendered code into the paste box instead. For translated titles and descriptions that match each market, preview them in the SERP snippet preview.
The checker tells you whether your annotations are consistent and correctly formed. It cannot promise that Google will show a given version, because search engines treat hreflang as a signal, not a command. It also does not judge translation quality or whether the content of two pages is truly equivalent. Very large sitemaps are shown in batches, so use the focus field or the filter to reach the pages you care about. Pasted text is limited to 1.5 MB, which is far more than a page head needs.
Run your page, sitemap or pasted code through the checker above, fix the items listed under changes and open points, and test again until every version links to every other. For more tools like this, browse the on-page SEO and meta tags tools.
Your report has been submitted. We will look into this issue.
A VPN changes your network exit. It does not guarantee anonymity.
Themes, plugins, code, video, audio, graphics & more from 90,000+ authors.
Web Development
Design & Media
Unlimited Access
Explore Envato Market