I'd like to know what precise version of Mobile Safari the iPad I'm using has. Is there any way to find out (preferably from the device itself)? There doesn't seem to be any menu in Safari Mobile, and thus none to choose "About" from. If you go to Settings | Safari, you see various useful things, but no "About" or "Version" or similar, which surprised me.


7 Answers 7


Since Ross McNab's answer appears to no longer work...

Bookmark this (or any) page - then edit the bookmark - call it what you like, but change the url to...


Now you can check your user agent any time you feel like conveniently from your bookmarks - thanks Apple!

Or if it's just a quick one-off check you want and you're connected to the 'net, do what T.J. originally posted.

  • 2
    This no longer works, as current versions of safari block javascript from being executed in the address bar.
    – r3wt
    Apr 27, 2018 at 20:59
  • 1
    @r3wt - This works just fine in Safari on iOS. Note that Billy's answer doesn't have you executing from the address bar. It has you creating a bookmarklet, then running it. That still works, where writing the above directly in the address bar does not. Sep 23, 2019 at 9:33
  • Sadly, this no longer works because running JavaScript from the address bar is prohibited now in the latest version. Ironically, I'm still trying to find out what version that actually is... :)
    – Thomas
    Jul 5, 2021 at 12:37

The only way I've found Ross McNab's way was much better but sadly no longer works (thanks, Apple); Billy Moon's way works but is a bit awkward for one-off checks.

Another way to do this is to use an external website (there are plenty to choose from, just search on "what's my browser"), which will report my user-agent string back to me.

So for instance, these sites will report back to me that my user-agent string is:

Mozilla/5.0 (iPad; U; CPU OS 4_3_5 like Mac OS X; en-gb) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8L1 Safari/6533.18.5

...from which I can tell that I'm using Mobile Safari 5.0.2.

  • I didn't even realize you were answering your own question, but to confirm: yes that would be the only way. You could condense a list of iOS versions and installed Mobile Safari and use that for reference, if no one else has done it already...
    – Gerry
    Nov 9, 2011 at 16:45
  • @T.J.Crowder, you should probably accept your own answer - it's the best way of doing what you asked.
    – JW8
    Nov 9, 2011 at 23:39

You can get the userAgent string without visiting an external website, by typing the following in the Safari address bar (where you would normally type a URL):


You must type it exactly as it appears here, matching case and punctuation.

An alert popup will appear with the full useragent string, which contains the version number of Safari and iOS.

  • What. Was. I. Thinking? Of course, the javascript: pseudo-protocol and navigator.userAgent. Feb 26, 2014 at 15:46
  • 4
    Sadly, this has stopped working, as noted by Billy Moon. Nowadays you have to create a bookmark, go back and edit it to change the location to the javascript:alert(navigator.userAgent) bit, and then follow the bookmark -- that still works. Mar 3, 2015 at 10:31
  • 3
    @Ross : I'm getting 'Cannot Run Script: Safari cant run the script because JavaScript is not alloed to be used this way' message..working on iOS 8.1.2 iPad mini Mar 14, 2015 at 5:44

None of the javascript answers worked for me. I found an easier way! There are several "what's my IP address?" pages out there, such as this one. These pages tell you your IP address and, in some cases, what your browser is, what your operating system is, and if your browser is up to date.

  • "None of the javascript answers worked for me" Huh? javascript:alert(navigator.userAgent) definitely works. Jan 28, 2015 at 7:35
  • 3
    @T.J.Crowder that js solution does not work for me on Mobile Safari 8 on iOS 8.1 - get Safari cannot run the script because JavaScript is not allowed to be used this way. but if I save a bookmark, and then edit the bookmark with that js solution, it works.
    – Billy Moon
    Mar 3, 2015 at 10:20
  • 2
    @BillyMoon: And sadly, I can confirm this on iOS 8.1.2, apparently they've disallowed it. I suggest posting your bookmark workaround as an answer. Mar 3, 2015 at 10:30

You can visit http://spiderip.com to check the user agent and version of safari

  • 2
    Could you explain why this works, not just a link. Just goiving a link makes me think of viruses and trojans etc.
    – mmmmmm
    May 9, 2013 at 12:17
  • This works because on every request the browser send this information to the webserver. But usually you just do not see this and this webpage just "reflects" the information passed via the request.
    – user72693
    Mar 11, 2014 at 9:50

Handy alternative if you want to copy paste this info / you're already there: plug your iPad into your mac (assuming platform!) and in OSX Safari, remote debug the device, and copy the User Agent from the Resource Panel under Request Headers.

Enable remote debugging:

  • In OSX Safari’s Preferences pane under Advanced, check the Show Develop menu in the menu bar checkbox.
  • On iDevice: Settings > Safari > Advanced


  • 1
    Thanks for this. It took me a while to figure the Resource Panel is on the right edge of the screen (not the Resources tab).
    – akauppi
    Jul 24, 2016 at 20:48
  • Unfortunately, I still didn't get any precise versions this way. Just iOS 9.3.2 which I knew anyways. So while I enjoyed your answer, I'm not necessarily recommending it to others. Hope you understand. ,o
    – akauppi
    Jul 25, 2016 at 11:14

For some reason javascript:alert(navigator.userAgent) did not work. I tried it but got an error from Safari saying it was not allowed (tested on iOS 12).

I happened to be on jsfiddle.net, typing it in there did work :)

jsfiddle.net is an online website where you can type in JavaScript. And since the JavaScript is coming from the page and not directly from the browser, it is allowed to display.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .