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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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