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

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: January 20, 2026

Jan 20, 2026 - 10:00 am
Google

Google AI Overviews With Font Strikethroughs

Jan 20, 2026 - 7:51 am
Google

Google AI Mode Fan-Out Prompts To Narrow Your Query

Jan 20, 2026 - 7:41 am
Google Search Engine Optimization

Google Search Team Does Not Endorse LLMs.txt Files

Jan 20, 2026 - 7:31 am
Bing Ads

Poll: More Advertisers To Add Microsoft Advertising To Marketing Mix?

Jan 20, 2026 - 7:21 am
Google

Google AI Mode Shows Product Inventory & Pricing In Light Font Color

Jan 20, 2026 - 7:11 am
 
Previous Story: Google: Structure Your XML Sitemap As You Like