User-Agent Parser
Read the browser, OS and device out of a UA string
Input
Leave blank or press the button to use your own browser.
Result
Enter a User-Agent string
User-Agent strings are trivially forged — never use them for feature detection.
User-Agent strings are a museum of compatibility hacks — every browser claims to be several others. Paste one from a log and get the browser, platform and device it actually represents.
How to use
- 1 Paste a User-Agent string, or use your own browser’s.
- 2 The parsed details appear immediately.
- 3 Copy whichever field you need.
Frequently asked questions
Why does every browser claim to be Mozilla?
A 1990s compatibility hack that never went away. Sites sniffed for "Mozilla" to serve modern HTML, so everyone added it. Chrome’s string still claims to be Mozilla, KHTML and Safari as well as itself.
Should I use the UA string for feature detection?
No. It is trivially spoofed, changes without notice, and browsers are actively reducing what it reveals. Test for the capability itself instead — that is what feature detection is for.
Why is the device model often missing?
Desktop browsers never included it, and mobile browsers are increasingly removing it for privacy. Where it appears at all it is usually Android; iOS reports only "iPhone" or "iPad".