---
title: "What is a user agent?"
term: "user agent"
description: "A 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."
url: "https://glossary.io/user-agent/"
published: "2026-11-22T20:46:44.531Z"
updated: "2026-11-22T20:46:44.531Z"
topics:
  - "Web standards and protocols"
wikidata: "https://www.wikidata.org/wiki/Q763744"
---

# What is a user agent?

**Definition:** A 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](https://glossary.io/googlebot/) does. Site owners target specific crawlers with User-agent lines in [robots.txt](https://glossary.io/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

- [user agent on Wikipedia](https://en.wikipedia.org/wiki/User_agent)

## Related terms

- [robots.txt](https://glossary.io/robots-txt/)
- [Applebot](https://glossary.io/applebot/)
- [Googlebot](https://glossary.io/googlebot/)
- [macOS Catalina](https://glossary.io/macos-catalina/)

**Topic:** [Web standards and protocols](https://glossary.io/topics/web-standards/)

## 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/.

Published November 22, 2026.
