User-Agent Header Explained

What the HTTP User-Agent header does and when it's used.

Published October 14, 2026

The User-Agent header identifies the client software making the request, like a specific browser or bot.

Key points

  • Commonly used for basic analytics or to serve different content to bots versus browsers, though it can be spoofed
More HTTP articles