What is a user-agent string and how to read it

Every browser request carries a user-agent string. User agent parser decodes it.

Steps

  1. Paste a user-agent string, or leave the box empty to read your own.
  2. Read the browser, system, engine and device.

Use cases

  • Debugging a layout bug that affects one browser.
  • Reading server logs.
  • Spotting bots.

Tips

  • Strings are easy to fake, and browsers are shortening them.
  • Prefer feature detection over browser sniffing in code.
  • Parse links in your logs with the URL parser.

All guides

↑ ↓ navigateEnter openEsc close