User-Agent Parser

← All tools

Paste a User-Agent string to detect browser, rendering engine, OS, device type, and common bots. Regex-based parsing with matched substrings shown for each field.

Parsed fields

FieldValueMatched substring

Caveats

Safari on iOS and iPadOS often send identical UAs — you cannot tell tablet from phone without Client Hints or feature detection.

Modern browsers expose Sec-CH-UA Client Hints as a more reliable alternative to parsing this string.

About this tool

The User-Agent header was never meant to be a reliable device database. Browsers lie for compatibility, bots spoof real browsers, and privacy features freeze or reduce the string.

Use this parser for quick debugging — not for security decisions. Prefer Client Hints and feature detection for production logic.

Read more

Free books, courses, and software

Get my programming books, course editions, and complete software.

Get the download library →