Detect Mobile Browsers | Open source mobile phone detection


Detect Mobile Browser was created by Chad Smith.


If you receive financial gain or use the scripts regularly, please say thanks and consider a small donation.


This is free and unencumbered software released into the public domain.

For more information, please refer to the UNLICENSE.


Download a mobile browser redirect script and change to your mobile site's URL.

Redirect Service

A redirect service is available so you can share mobile-friendly links to sites you do not control.

Please do not point your entire app or site to a redirect URL. Instead, download a redirect script.

Supported Devices

This script was written to quickly detect nearly all major devices detected by WURFL. Download a list of supported devices and useragents.


Android tablets, iPads, Kindle Fires and PlayBooks are not detected by design. To add support for tablets, add |android|ipad|playbook|silk to the first regex.


Support and installation are available at an hourly rate. Contact Mktg Dept for information.