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 Search Engine Optimization

Google Updates Crawled - Currently Not Indexed Details

Nov 3, 2026 - 4:15 pm
Google Search Engine Optimization

Google Performance Reports Showing Weird Spike In Clicks For Some Sites

Nov 3, 2026 - 10:54 am
Search Forum Recap

Daily Search Forum Recap: November 3, 2026

Nov 3, 2026 - 10:00 am
Google

Google Will Turn Off Google Search For K-12 Schools & Testing Learning Beta

Nov 3, 2026 - 9:44 am
Google

Google AI Mode Biased: It Only Shows Links To Google Flights

Nov 3, 2026 - 7:51 am
Google

Google Tests Removing AI Mode Button From Search Bar

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