User Agent Parser
Analizza e decodifica stringhe User Agent. Identifica browser, sistema operativo, dispositivo e rileva bot/crawler.
Analizza User Agent
Inserisci una stringa User Agent per analizzarla
Come utilizzare User Agent Parser
Incolla la stringa User Agent nel campo di testo
Inserisci o incolla la stringa User Agent nell'area di testo in cima alla pagina. All'apertura dello strumento il tuo browser viene rilevato automaticamente. Clicca "Il tuo browser" per ricaricare il tuo User Agent in qualsiasi momento.
Leggi i risultati dell'analisi nella scheda riassuntiva
Appena inserita la stringa, appare immediatamente la scheda riassuntiva con l'icona del tipo di dispositivo (desktop, mobile, tablet o bot), il nome e la versione del browser, il sistema operativo e i badge di categoria (Mobile, Desktop, Bot).
Esamina i dettagli completi nella griglia
La griglia sotto la scheda riassuntiva mostra le informazioni dettagliate suddivise in sezioni: Browser (nome, versione completa, versione major), Engine (Blink, WebKit, Gecko, Trident), Sistema Operativo (nome, versione, piattaforma), Dispositivo (tipo, produttore, modello) e CPU (architettura).
Usa i campioni preimpostati per testare diversi scenari
Nella barra laterale sono disponibili User Agent di esempio suddivisi per categoria: Browser (Chrome, Firefox, Safari, Edge, Opera, Brave), Mobile (iPhone, Android, iPad, Samsung), Bot (Googlebot, Bingbot, Facebook) e Tool (cURL, Postman, Wget). Clicca su un campione per caricarlo immediatamente.
Suggerimenti
- Se devi testare come il tuo sito si comporta con Googlebot, carica il campione "Googlebot" dalla barra laterale e analizza la stringa per capire cosa vede Google quando scansiona le tue pagine.
- Il User Agent del tuo browser attuale viene caricato automaticamente all'apertura: usa questa pagina per verificare quali informazioni stai inviando ai siti web che visiti.
- Puoi copiare il tuo User Agent con il pulsante Copia per usarlo nei test di API tools come Postman o cURL, simulando richieste dal tuo browser attuale.
Domande frequenti
What is a User Agent and how are they used by websites?
User Agent is a string sent automatically by the browser to the server with every HTTP request in the "User-Agent" header. It contains information about the browser, version, operating system, and rendering engine. Servers use it to adapt content to devices, for analytics, to block unwanted bots or provide specific downloads per platform.
How can I tell if a request is from a bot or a real user?
Bots and crawlers typically identify themselves with recognizable patterns in the User Agent string, such as words like "bot", "crawler", "spider", or explicit names like "Googlebot", "bingbot". This parser automatically detects known bots including search engine crawlers, social media bots (Facebook, Twitter, Telegram), and command-line tools like cURL and Wget.
How to distinguish Chrome from Edge and other Chromium-based browsers?
Edge, Brave and Opera share the same Blink engine as Chrome, so their User Agent strings contain "Chrome". The distinction is made with additional tokens: Edge adds "Edg/", Opera adds "OPR/", Brave adds "Brave/. This parser checks for these identifiers before detecting generic Chrome.
What's the point of reporting CPU architecture in the User Agent string?
CPU architecture (x86-64, ARM64, ARM) is useful for offering specific downloads: native apps, native extensions, or optimized builds. It's particularly relevant for Apple Silicon Macs (ARM64) vs Intel (x86-64). The token "Win64" indicates 64-bit Windows, "aarch64" indicates ARM64 on Android and Linux.
Is the User Agent reliable for browser detection?
User Agent can be easily falsified and should not be relied upon as the sole source of truth for critical decisions. For feature detection, it's always best to use "Modernizr" or check browser APIs directly in JavaScript. User Agent is reliable for statistical analytics, offering alternative downloads, and blocking obvious bots, but not for security checks.