Google: Country-Region Code Letter Case Not Important

Aug 1, 2017 - 8:27 am 0 by

Google Ncr

Google's John Mueller said on Twitter that going capital or lower case does not matter much when it comes to setting the country-region code in your XML sitemap files.

He said either "en-US" OR "en-us" are perfectly fine to use.

This comes after one webmaster said he was getting an "unknown language code(sitemap)" error. John did add that "one tricky one I've seen is either normal spaces or unicode no-width spaces accidentally used in a sitemap file."

But generally, the letter case does not matter here.

Here are the tweets:

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Google Search Volatility

More Details

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google

Google Discover Tests Dive Deeper Feature

Sep 18, 2026 - 4:22 pm
Search Forum Recap

Daily Search Forum Recap: September 18, 2026

Sep 18, 2026 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Unusual Google Search Ranking Volatility, Ad Tech Monopoly Remedies, AI Contribution Publisher Payouts & More

Sep 18, 2026 - 8:01 am
Google

Google May Be More Successful In Blocking Scrapers & Tracking Tools

Sep 18, 2026 - 7:55 am
Google

Google Search Bar Results Page Testing AI Mode Button

Sep 18, 2026 - 7:51 am
Bing Search

Bing Also Asking To Verify You Are Human Before Showing Search Results

Sep 18, 2026 - 7:41 am
Previous Story: Google: Structure Your XML Sitemap As You Like