Categorizr is a device detection script with a twist, it takes the user agent (UA) string and categorisers them into desktop, tv, tablet and mobile. Best of all it falls back to mobile rather than the desktop if no match is made.

Originally the script was written with the idea in mind of using it as a solution to creating a hybrid responsive web site.

Note: this is no longer being maintained by the creator.

  • Resource Name


  • Resource Creator

    Brett Jankord


Categorizr is a modern device detection script that helps categorize different web capable devices into 4 categories, desktop, tv, tablet, or mobile. It take’s traditional device detection and flips it on it’s end, assuming devices are mobile first, unless otherwise detected as tablet or desktop.

View on Github Download Resource

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.