Detect Mobile Browsers

Helping small and large websites detect and redirect mobile browsers based on their user agent since 2007.

Is this visitor using a mobile?
Yes or No?

This small yet highly effective PHP script detects mobile phone browsers on your website so you can redirect them to your mobile website or show them a different template. It simply answers the question: is this visitor using a mobile?

Download the Code on the Full Site

Click or tap the button below to see the full website where you can download this PHP function to detect mobile browsers by their user agent on your own website.

Full Website

© 2019 Andy Moore