DevTools Logo
All posts

Parsing User-Agent Strings and Migrating to Client Hints

August 15, 2026 · DevTools

user-agent
client-hints
http
browser-detection

Parsing User-Agent Strings and Migrating to Client Hints

HTTP User-Agent strings have evolved over decades into complex, legacy-laden strings where almost every browser claims compatibility with Mozilla and Safari.

Parse and inspect browser headers with the User Agent Parser.

The Modern Shift to Client Hints

Because User-Agent strings facilitate fingerprinting, modern browsers are freezing UA strings and introducing User-Agent Client Hints:

Sec-CH-UA: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"
Sec-CH-UA-Mobile: ?0
Sec-CH-UA-Platform: "macOS"

Inspect your current browser details with the User Agent Parser.

Tools mentioned in this post