Change User Agent in Google Chrome

You can change the User Agent String (UAString) in Google Chrome for your desktop computer by using these steps. When you browse a website using any web browser such as Google Chrome, a user agent string is read from your browser so it can determine how to render the page. For example, if you are browsing from your Android phone, by default it may have a user agent string like the following:

Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

A website that reads this string may decide to display a mobile version of the site or a version that is specific to Android. Google Chrome for Windows has a default string that looks like this:

Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36

You can change this user agent string if you are developing a website and wish to test how your site looks under different strings. You may also change it if you wish to view the mobile version of a website from your desktop. Here’s how it’s done.

1. Select the Menu button in the upper-right corner, then select Tools > Developer tools. You can also get to this screen by pressing Ctrl + Shift + I for Windows and Linux or Command + Option + I for Mac OS X.

Chrome Developer Tools option

2. Select the “Show console” icon. Then select “Emulation” > “User Agent“. From there you can check the “Spoof user agent” box, then choose the User Agent you wish to use. You can free text the string by selecting “Other“.

Change User Agent on Google Chrome

 

FAQ

There are plugins that change the User Agent string. Do I need to download and install those?

No. There is no need for a plugin. Just use the steps as I have outlined above.

Comments

  1. Rodney Dickson says

    SO MANY OTHER WEBSITES had the wrong steps to reproduce this. I’m so glad you created the right steps…thank you for this

  2. Greg says

    Fantastic! Thanks for posting this updated information! Many of the other sites had the old way from previous versions.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>