Skip to content

User-Agent

Identifies the software, browser, and operating system originating the request.

The User-Agent request header contains a characteristic string that allows the receiving server to identify the application type, operating system, software vendor, or software version of the requesting user agent. It has historically been a critical piece of metadata for web servers.

Browsers, bots, web scrapers, and cURL automatically attach this to every outward request.

Servers analyze this header for analytics (browser market share), formatting content (serving a mobile layout vs desktop layout), or security (blocking known malicious bots like curl or headless browsers on sensitive routes).

The format often includes Mozilla compatibility flags, the OS, and the rendering engine. User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/120.0.0.0

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)