Parser User-agent · Guía

The User-Agent String Explained

The UA string is famously strange. A little history explains why it lists so many things.

A pile of compatibility tokens

Modern UA strings include tokens like Mozilla and KHTML, like Gecko for historical compatibility, alongside the actual browser and engine. That is why they look redundant — the cruft is intentional.

What to extract

The parts that matter are the real browser and version, the OS, and the device. A parser ignores the compatibility noise and surfaces those.

Preguntas frecuentes

Puedo usarlo en trabajo de produccion?

Si, para inspeccion, formato y generacion rapida. Revisa siempre el resultado antes de llevarlo a codigo o configuracion de produccion.

¿Listo para probarlo?

Abre la herramienta gratuita Parser User-agent en el navegador y aplica lo que acabas de leer: sin registro y procesando localmente.

Abrir la herramienta Parser User-agent