Red/HTTP
User-Agent Parser
Analizar una cadena de User-Agent en navegador, motor, sistema operativo y tipo de dispositivo.
The User-Agent string a browser sends with every request looks like a chaotic mix of names and versions, largely because of browsers' historical habit of impersonating each other (nearly every modern browser's string still contains "Mozilla/5.0"). This tool breaks it down into browser, engine, OS, and device type.
How to use it
- Paste a User-Agent string (from your own dev tools console or from server logs) and it's parsed instantly.
- The result shows the browser name and version, the rendering engine, the operating system, and the device type (desktop, mobile, tablet, bot).
- Handy for recognizing bot and crawler strings (Googlebot, Bingbot, etc.), which also send a User-Agent.
Common uses
- Debugging a bug that only shows up in a specific browser or OS — quickly figuring out what the user was actually on from a log entry.
- Analyzing server logs for the share of mobile traffic or outdated browsers among visitors.
- Checking whether a request genuinely came from a legitimate search bot, rather than someone spoofing its User-Agent.
Things to keep in mind
A User-Agent is entirely controlled by the client and easy to spoof — don't rely on it for security decisions.
Under the User-Agent Reduction effort, modern browsers increasingly freeze or simplify OS and device details for privacy — detection accuracy is gradually declining.
Artículo sobre esta herramienta: User-Agent: por qué esta cadena es un desastre
Preguntas frecuentes
¿Por qué tantas cadenas User-Agent mencionan "Mozilla" incluso en Chrome o Safari?
Es un artefacto histórico — los navegadores siguieron añadiendo "Mozilla/5.0" a sus cadenas User-Agent por compatibilidad con viejas verificaciones de servidor escritas para el primer Netscape Navigator, y la convención nunca desapareció.
¿Qué tan confiable es analizar el User-Agent para detectar el navegador y sistema operativo reales?
Razonablemente confiable para casos comunes, pero las cadenas User-Agent se pueden falsificar, y algunos navegadores ahora congelan o simplifican partes de la cadena por privacidad, así que la detección no está garantizada como exacta.
¿La cadena User-Agent que pego aquí se envía a algún sitio?
No. El análisis ocurre enteramente en tu navegador — nada se sube a un servidor.
¿Qué son los User-Agent Client Hints?
Una alternativa moderna a la cadena User-Agent única — un conjunto de cabeceras independientes (Sec-CH-UA, Sec-CH-UA-Platform, etc.) que el servidor debe solicitar explícitamente y recibe en formato estructurado, en lugar de analizar una única cadena abarrotada.
¿Por qué algunos navegadores ocultan la versión exacta del SO o el modelo de dispositivo en el User-Agent?
Es parte de la iniciativa "User-Agent Reduction" por privacidad — la información detallada de la versión del SO o el modelo del dispositivo puede usarse para identificar de forma única (fingerprinting) a un usuario, así que los navegadores van simplificando o "congelando" gradualmente esas partes de la cadena.