Whether you develop for the web and need to see how your site or web app displays itself in multiple browsers, or you just want to visit a site that requires a particular browser that you don't want to use, you may eventually need to use a browser other than Safari. While most of the web is free to access through any browser you'd like, there are occasionally websites (particularly older ones) that need you to use browsers like Internet Explorer, or worse yet, would like you to be on a Windows PC. Or maybe you'd like to see how your site or web app presents itself in Safari on iPhone or iPad, or Chrome on Windows.
Luckily, Safari on Mac has the answer for you. Safari allows you to masquerade as the user of other browsers and Windows through a tool in its Develop menu: changing the user agent. Changing the user agent tells websites that you're using a browser other than the version of Safari that you're using on your Mac. It can event tell a website that you're running Windows. And while Internet Explorer was removed from the default list of user agents in macOS Catalina, you can still add it as on by changing the user agent string manually.
Safari for Mac supports the following user agents:
- Safari for iPhone
- Safari for iPad
- Safari for iPod touch
- Microsoft Edge
- Google Chrome for Mac
- Google Chrome for Windows
- Firefox for Mac
- Firefox for Windows
Keep in mind that, though Safari will appear to be another browser, it won't actually be that browser. Any web app or site that requires, say, Chrome's Blink rendering engine (which Safari doesn't have) won't work properly, even if Safari's user agent is changed to Google Chrome.
Here's how you go about changing the user agent in Safari.
How to access websites in Safari that require a PC or another browser
- Open Safari from your Dock or Applications folder.
Click Safari in the Menu bar.
- Click Preferences.
- Check the box next to Show Develop menu in the menu bar.
Close the Preferences window. The user agent choices will be grayed out and unselectable if you don't.
- Click Develop.
Hover over User Agent.
- Click on the user agent of the browser you need. If you need to pretend that you're using a PC, choose Microsoft Edge, Google Chrome — Windows, or Firefox — Windows.
Click Other... if you need to enter a custom user string.
Enter the user agent string for your desired browser/operating system combination.
Click OK. Your page will reload with the appropriate user agent.
Doing this should get you through a website detection-checker.
If you have any questions about masquerading Safari as a Windows web browser, let us know in the comments.
Updated March 2020: Updated through macOS Catalina.
Serenity Caldwell contributed to a previous version of this article.
We may earn a commission for purchases using our links. Learn more.
Foxconn to invest $1 billion in India to move iPhone production from China
According to a new report from Reuters, Foxconn is preparing to greatly expand its production capabilities in India for Apple's iPhone.
Photos reveal stunning new Apple Store in Beijing, opening soon
Photos have shown off Apple's stunning new Sanlitun store, which will replace Apple's first-ever store in China.
iPhone 12 120Hz decision hangs in the balance, says report
EverythingApplePro, noting Max Weinbach and internal sources, claims the decision to include 120Hz in the iPhone 12 has been pushed back following a series of failed tests.
Get 4K for your Mac with these great monitors
To get the most out of your Mac, you need a beautiful display. A 4K monitor is a huge step in the right direction. Here are the best 4K monitors for your Mac.