Detect mobile browser via user agent
Helping small and large websites detect and redirect mobile browsers based on their user agent since 2007.
You are NOT using a mobile
Your user agent is
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Detect mobile browser with PHP
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?
PHP code and demoDetect mobile browser with JavaScript
A small but highly effective JavaScript code recognizes the browser of a smartphone, so that it can be redirected to the mobile website and a mobile template can be displayed.
JavaScript demo