iOS: Change the User Agent in Safari Without Jailbreak

Safari for iOS displays mobile versions of web pages be default. If you wish to view full versions of web pages on your iPhone, iPad or iPod Touch using Safari, you will need to change the user agent string that is used. This hack will allow you to do so without having to jailbreak the device.

1. Connect and sync your iOS device with iTunes on your computer.

2. Download and install iBackupBot on your computer.

3. Disable automatic syncing in iTunes by going to Edit > Preferences > Devices and check Prevent iPods, iPhones and iPads from syncing automatically.

Prevent device from syncing in iTunes
4. Close iTunes and launch iBackupBot.

5. Connect your device to the computer using the USB cable. iBackupBot should detect the device.

6. Select the latest backup you have on the left side.

7. Open the Library/Preferences/ file. Click Cancel on the dialog that appears afterwards.

Select mobilesafari file

8. Scroll down to the bottom of the file and insert this line right above the line that says </dict>

<string>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11</string>

Adding String mod iOS

Be sure to click the Save disc icon, then close the file.

9. Check the box next to Library/Preferences/, then click the Restore button.

Restore file from iBackupBot

10 The device will go through the restore process. Once finished it should have successfully changed the user agent in Safari. Open Safari and you will be able to view the full desktop versions of web pages. You can also visit WhatIsMyUserAgent to check to see if it is changed.

Full version of Facebook in Safari on iPod Touch



  1. MIc says

    I’ve followed the steps described in this article over an iPad, and unfortunately it didn’t work at all.

  2. Some Random Guy says

    This works–thanks for sharing. Very impractical to switch back and forth, however. I think I’ll just clog my phone with another app that can do UA switching. My time is worth the extra MBs it clogs..

  3. Mitch says

    You could do that, but I’m not sure why anybody would switch browsers and clog their phone with another app just to be able to view a desktop site.

  4. Any User says

    Or just download the icab mobile browser which has the ability to use any User-Agent you prefer.

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>