Free2BoxFree2Box

Analyseur de User Agent

Analysez les chaînes de user agent pour identifier le navigateur, l'OS, l'appareil et le moteur

Chaîne de User Agent
Analysez les chaînes de user agent pour identifier le navigateur, l'OS, l'appareil et le moteur
Résultats de l'Analyse
Analysez les chaînes de user agent pour identifier le navigateur, l'OS, l'appareil et le moteur

Collez une chaîne de user agent ou utilisez celle de votre navigateur actuel...

Comment utiliser

1

Collez ou saisissez du texte

Entrez votre texte, code ou données dans la zone de saisie.

2

Choisissez les options

Sélectionnez la transformation ou le format que vous souhaitez appliquer.

3

Copiez le résultat

Copiez la sortie dans votre presse-papiers en un clic.

Pourquoi utiliser cet outil

100 % Gratuit

Aucun coût caché, aucun niveau premium — chaque fonctionnalité est gratuite.

Aucune installation

Fonctionne entièrement dans votre navigateur. Aucun logiciel à télécharger ou installer.

Privé et sécurisé

Vos données ne quittent jamais votre appareil. Rien n'est envoyé sur un serveur.

Fonctionne sur mobile

Entièrement adaptatif — utilisez-le sur votre téléphone, tablette ou ordinateur.

User Agent Strings: Browser and Device Identification

Key Takeaways

  • User agent strings identify the browser, operating system, and device type — but their format is notoriously inconsistent and often misleading.
  • User agent parsing is essential for analytics, content negotiation, and debugging browser-specific issues.
  • All parsing happens in your browser — your user agent data is never sent to any external server.

Every HTTP request includes a User-Agent header that identifies the client software. What started as a simple browser identifier has evolved into a complex string carrying browser, engine, OS, and device information — with decades of legacy compatibility quirks. Parsing user agents is essential for web analytics, responsive design debugging, and understanding your audience's technology profile.

Chrome's User-Agent string contains 'Mozilla/5.0' and 'Safari' — a legacy of browser compatibility hacks dating back to the 1990s.

Historical Quirk

Key Concepts

1

User Agent String Components

A typical UA string contains: Mozilla compatibility token, platform/OS info (Windows NT 10.0, Macintosh, Linux), rendering engine (AppleWebKit, Gecko), and browser name/version (Chrome/120, Firefox/121).

2

User-Agent Client Hints

The new Client Hints API (Sec-CH-UA headers) provides structured, opt-in device information instead of the bloated UA string. It offers browser, platform, and architecture data in clean, parseable format.

3

Bot and Crawler Detection

Search engine crawlers (Googlebot, Bingbot) and other bots identify themselves via user agent strings. Detecting these helps serve appropriate content and manage server resources.

4

UA Freezing and Reduction

Chrome is gradually freezing and reducing user agent string information for privacy. Many fields now contain fixed values. Developers should migrate to Client Hints for detailed device information.

Pro Tips

Never rely on user agent strings for security decisions — they can be trivially spoofed by any client.

Use feature detection (Modernizr, CSS @supports) instead of user agent sniffing for browser capability checks.

When analyzing user agents for analytics, use a maintained parsing library rather than custom regex — the format is too inconsistent for manual parsing.

Test your site with various user agents to ensure you are not accidentally blocking legitimate traffic from non-standard clients.

All user agent parsing is performed entirely in your browser. Your user agent string and browsing information are never transmitted to any external server.

Questions fréquentes