What is a user agent?
DefinitionA user agent is software, such as a web browser, that retrieves and presents web content on a user's behalf, and the term also refers to the User-Agent HTTP header that identifies that software to servers.
Browsers, email clients, command-line tools such as curl and search engine crawlers are all user agents. With each request, they usually send a User-Agent string describing the software, its version and the operating system. Most browser strings begin with Mozilla/5.0, a leftover from early compatibility workarounds.
Websites and analytics tools use user agent strings to detect browsers and devices, and bots identify themselves through them, as Googlebot does. Site owners target specific crawlers with User-agent lines in robots.txt, but because the string is easy to fake, it can't be trusted on its own.
To reduce fingerprinting, Chromium-based browsers now send less detail in the string and offer Client Hints for sites that need more information.
user agent resources
Topic: Web standards and protocols
Cite this definition
- APA
What is a user agent? (2026, November 22). Glossary. https://glossary.io/user-agent/
- MLA
“What Is a User Agent?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/user-agent/.
- Chicago
“What Is a User Agent?” Glossary. Coywolf. November 22, 2026. https://glossary.io/user-agent/.
- HTML link
<a href="https://glossary.io/user-agent/">What is a user agent?</a>
Published