# User Agent Parser Guide

Read the browser, engine, OS and device from a user-agent string.

- Tool: https://ilham.dev/tools/user-agent-parser/
- Guide URL: https://ilham.dev/guides/user-agent-parser/
- Tool guides index: https://ilham.dev/guides/tools/
- Broader guide: Dates, Timestamps, and Time Zones (https://ilham.dev/guides/dates-times-and-time-zones/)

## What it does

Break a user-agent string into browser, version, engine and operating system, and explain what each part is for.

## Use the tool

Open https://ilham.dev/tools/user-agent-parser/, add the input the tool asks for, run it, and check the output before using it elsewhere.

## Input and output

- Input: text.
- Output: text.
- Category: Web.

## Privacy and processing
Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

## Questions

### Why is the browser detected wrongly?

Because user-agent strings lie, deliberately. Every browser claims to be Mozilla, and some reduce or freeze the rest of the string. Treat any detection as a hint, and feature-detect instead whenever you can.