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: February 25, 2026

Feb 25, 2026 - 10:00 am
Google Maps

Careful With Google Business Profile Verification Flow

Feb 25, 2026 - 7:51 am
Google

Google AI Mode See More Button

Feb 25, 2026 - 7:41 am
Other Search Engines

Anthropic Updates Crawler Docs: ClaudeBot, Claude-User & SearchBot

Feb 25, 2026 - 7:31 am
Google

Google AI Shopping Pushing Show More Products

Feb 25, 2026 - 7:21 am
Google

Google Search Brief Serving Issue This Morning

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