ua-parser is a multi-language library for parsing User-Agent strings into structured data, such as browser, OS, and device information. Originally created for web analytics and user tracking, it supports a wide range of platforms and is available in JavaScript, Python, Java, and other languages. ua-parser is often used in server logs, analytics dashboards, and A/B testing systems to segment traffic.

Features

  • Extracts browser, OS, and device details from User-Agent strings
  • Regularly updated regex patterns for broad compatibility
  • Available in multiple programming languages
  • Used in web analytics and logging tools
  • Modular and extensible rule sets
  • Lightweight and dependency-free in most versions

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow UA-Parser

UA-Parser Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of UA-Parser!

Additional Project Details

Programming Language

Perl

Related Categories

Perl Parser Generators

Registered

2025-07-25