We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

However, testing a website on every operating system and net online gate isnt practical.

Chrome inspect element

Change user-agent in Chrome, Opera, and Microsoft Edge.

I am going to show you both methods.

Change user-agent from Inspect element window.

Network conditions

For demonstration, I am going to use Chrome.

Now punch the three vertical dots menu at the top-right corner and select theNetwork Conditionsoption from theMore toolsmenu.

A new panel will open at the bottom.

Uncheck Use browser default option

Here uncheck the checkbox next to theUse surfing app defaultoption in theUser-agentsection.

Afterward, press the user-agents menu here, and a list of user-agents will open up.

The reloaded page will open with the new user-agent.

Select user-agent

you could decrease the size of the window if its getting in the way.

We will be using aChrome extension.

Ill recommend you to use theUser-Agent Switcher and Managerextension instead.

User-agent Chrome extension

It has a user agent for almost every operating system and web app.

Not only that, it even has a user-agent for almost every version of browsers and operating systems.

The extension has two drop-down menus at the top.

apply user-agent

One lists all the supported browsers, and the other lists all the supported operating systems.

grab the required user-agent from the list and click theApplybutton below.

You will have to reload the page to see the changes.

reset user-agent

The new user-agent will persist through new tabs, so all your browsing will now use the spoofed user-agent.

To undo this, initiate the extension again and click onRestart.

This will reset all user strings, and the default will be selected.

Access Firefox preferences

You will still have to reload the page, though.

Change user-agent in Firefox.

Here typegeneral.useragent.overridein the preferences search bar.

create new string in Firefox

Firefox will offer you to create a new preference with this same name.

Select theStringoption on this and then opt for+(plus) icon at the end.

This will create a new preference with an empty space to add a user-agent string.

add user-agent string

You will have to manually add a user-agent string here.

Here is alist of all the user-agents.

Find the required user-agent and copy/paste it in the preference you created and click onSave.

Safari enable develop menu

you’ve got the option to keep changing this string to try different user-agents.

To reset to the default user-agent, you will have to delete the preference you have created.

Just click theTrash binicon next to this preference to immediately delete it.

change user-agent in Safari

Use a Firefox add-on.

Thankfully, theUser-Agent Switcher and Managerextension is also available for Firefox.

It also works the same way as on Chrome.

Alternatively, it’s possible for you to also check out theUser-Agent SwitcherFirefox add-on.

However, the list of user-agents it offers is very limited.

Change user-agent in Safari.

You just have to enable developer mode first.

Heres how:

Go toPreferencesfrom theSafarimenu.

Here move to theAdvancedtab and check the checkbox next to theShow Develop menu in the menu baroption.

you might also click onOther…to add a custom user-agent string just like we did in Firefox above.

To undo the user-agent change, you will have to return to the sameDevelopmenu and selectDefaultin theUser Agentoption.

They are more versatile and make it very easy to switch between multiple user agents.