$npx skillfedfor your agent

fake-useragent

Up-to-date simple useragent faker with real world database

Worth itPyPI Software DevelopmentReleased Apr 202510.9M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fake_useragent-2.2.0-py3-none-any.whl
v2.2.0 · released 2025-04-14 · Python >=3.9 · 1 runtime deps: importlib-resources

Yes, with caution about maintenance. The package is stable, has low install friction, and solves a real problem for web scraping and testing. However, the repository is now archived and abandoned, so the bundled user-agent database will not receive updates for new browser versions. Install it if your use case tolerates a static database; avoid it if you need current data for the latest browser releases or if you require ongoing bug fixes.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low install friction; single runtime dependency (importlib-resources).
  • Repository is archived and marked abandoned as of the fact sheet date, with last commit on 2026-03-29, so maintenance has ceased.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with attribution and liability disclaimers.

last release 2025-04-14 (487 days) · last repo commit 2026-03-29 · 4,054 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,932,845 downloads/mo, #1,427 on PyPI

Verify before relying

from fake_useragent import UserAgent
ua = UserAgent()
print(ua.random)  # Returns a random user-agent string
print(ua.chrome)  # Returns a Chrome user-agent
print(ua.getRandom)  # Returns full user-agent dictionary
  • Whether the pre-packaged user-agent data is current enough for modern browser versions after the repository's abandonment.
  • Whether the data source (Intoli LLC) continues to be updated or if the package's database is now static.
  • Performance characteristics when filtering across large browser/OS/platform combinations.
Same gist for agents: .md · .json

What it is and what it does

fake-useragent provides a simple interface to retrieve realistic user-agent strings without making external HTTP requests. The package ships with a pre-downloaded and post-processed database of real-world browser agents sourced from Intoli LLC, covering desktop, tablet, and mobile platforms across browsers like Chrome, Firefox, Safari, Edge, Opera, and others. You instantiate a UserAgent object and call properties like `.random`, `.chrome`, or `.firefox` to get strings, or use `.getRandom` and similar methods to retrieve full dictionaries with metadata like browser version, OS, and device brand.

The package is designed for web scraping, testing, and scenarios where you need to rotate or spoof browser identification. It supports filtering by specific browsers, operating systems, platform types (desktop/mobile/tablet), and minimum browser version. Since data is bundled with the package rather than fetched at runtime, there are no external dependencies or network calls, making it lightweight and reliable for offline use.

Use it for

  • Web scraping: rotate user-agent strings to avoid detection or blocking by servers.
  • Automated testing: simulate requests from different browsers and devices in test suites.
  • API client libraries: add realistic user-agent headers to HTTP requests without hardcoding.
  • Bot development: generate varied user-agent strings for bots that need to appear as different browsers.
  • Security testing: test how applications handle requests from diverse browser and OS combinations.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes, with caution about maintenance.

The package is stable, has low install friction, and solves a real problem for web scraping and testing. However, the repository is now archived and abandoned, so the bundled user-agent database will not receive updates for new browser versions. Install it if your use case tolerates a static database; avoid it if you need current data for the latest browser releases or if you require ongoing bug fixes.

Install

fake-useragent on PyPI

Before you install

Low install friction; single runtime dependency (importlib-resources). Repository is archived and marked abandoned as of the fact sheet date, with last commit on 2026-03-29, so maintenance has ceased.

Requires Python 3.9 or later.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with attribution and liability disclaimers.

Quickstart

from fake_useragent import UserAgent
ua = UserAgent()
print(ua.random)  # Returns a random user-agent string
print(ua.chrome)  # Returns a Chrome user-agent
print(ua.getRandom)  # Returns full user-agent dictionary

Verify before relying

  • Whether the pre-packaged user-agent data is current enough for modern browser versions after the repository's abandonment.
  • Whether the data source (Intoli LLC) continues to be updated or if the package's database is now static.
  • Performance characteristics when filtering across large browser/OS/platform combinations.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
importlib-resources
MaintenanceAbandoned 487 days since the last release
Last repo commit repository archived
First released
Downloads10,932,845 / month, #1,427 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Evidence: fake_useragent-2.2.0-py3-none-any.whl

Tags

Capabilities
random user agent generatorfake useragent stringsbrowser user agent fakeruser agent spoofingmock browser identificationuseragent databaseuser agent rotation
Topics
web-scrapingtestinguser-agent
PyPI keywords
agentfakefake user agentfake useragentuseruser agentuseragent

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “fake useragent strings”

  • fake-useragentGenerates random or browser-specific user-agent strings from a…
  • fake-headersGenerates realistic User-Agent strings and HTTP headers locally…
  • random-user-agentProvides random user agent strings filtered by operating system,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also random-user-agent · ua-generator · woothee · fake-headers · latest-user-agents · user-agent · fake-http-header · httpagentparser · browserforge · ua-parser-rs

Further reading