Home › Developer Tools › User Agent Parser

User Agent Parser

See the user agent your browser sends, including User-Agent Client Hints where supported, and decode any user-agent string into browser, engine, operating system, device and bot status. Paste many lines at once to parse a whole log.

Last updated:

Your user agent

User-Agent Client Hints

Client Hints (navigator.userAgentData) are supported by Chromium browsers and give the real OS version, CPU architecture and device model that the frozen user-agent string no longer reveals.

Samples:
Advertisement

How to use the User Agent Parser

  1. Check your own user agent at the top of the tool. Open “User-Agent Client Hints” to see the extra details Chromium browsers provide.
  2. Paste a user agent string from a log file, analytics report or request header into the box, or click one of the samples.
  3. Press Parse User Agent to see the browser, engine, operating system, device, CPU and bot status as cards.
  4. Paste several lines to parse them all at once in a table, then press Export CSV to download the results.
  5. Use Copy as JSON to paste the structured result into a bug report or test.

How to read a user agent string

Take this Chrome on Windows user agent:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

TokenMeaning
Mozilla/5.0Historic compatibility prefix sent by almost every browser.
(Windows NT 10.0; Win64; x64)Platform: Windows 10 or 11, 64-bit build on an x86-64 CPU.
AppleWebKit/537.36 (KHTML, like Gecko)Engine compatibility tokens. Chrome uses Blink, which was forked from WebKit.
Chrome/124.0.0.0The actual browser and major version (minor parts are zeroed in reduced user agents).
Safari/537.36Another compatibility token so sites that check for Safari still work.

Because so many tokens are borrowed from other browsers, the order of checks matters: a parser must look for Edg/, OPR/ or SamsungBrowser/ before Chrome/, and for Chrome/ before Safari/.

Tokens that identify popular browsers

BrowserIdentifying tokenEngine
ChromeChrome/ (desktop, Android), CriOS/ (iOS)Blink (WebKit on iOS)
Microsoft EdgeEdg/, EdgA/, EdgiOS/Blink (WebKit on iOS)
FirefoxFirefox/, FxiOS/ (iOS)Gecko (WebKit on iOS)
SafariVersion/… Safari/ without ChromeWebKit
OperaOPR/Blink
Samsung InternetSamsungBrowser/Blink
Android WebView; wv) plus Chrome/Blink
Internet Explorer 11Trident/7.0; rv:11.0Trident

Common bot and crawler user agents

BotTokenOperator / purpose
GooglebotGooglebot/2.1Google Search indexing
Bingbotbingbot/2.0Microsoft Bing indexing
ApplebotApplebot/Siri and Spotlight suggestions
GPTBot / ClaudeBot / PerplexityBotGPTBot/, ClaudeBot/, PerplexityBot/AI crawlers (controllable in robots.txt)
facebookexternalhit, Twitterbot, Slackbotas namedLink previews when a URL is shared
curl, Wget, python-requestscurl/8.5.0 etc.Command-line tools and scripts

Frequently asked questions

What is a user agent?

A user agent is a line of text your browser sends with every request in the User-Agent header. It names the browser, its version, the rendering engine and the operating system, so websites can adapt content or log which devices visit them.

Why does every user agent start with Mozilla/5.0?

For historical compatibility. In the 1990s, servers sent better pages to Netscape (code-named Mozilla), so other browsers started claiming to be Mozilla too. Today almost every browser starts with Mozilla/5.0 and adds tokens like AppleWebKit, KHTML, like Gecko and Safari for the same reason.

Why does my user agent say Windows 10 when I use Windows 11?

Browsers froze the Windows version in the user agent at “Windows NT 10.0”, which covers both Windows 10 and 11. Chromium browsers reveal the real version only through Client Hints: a platformVersion of 13 or higher means Windows 11. This tool reads Client Hints automatically.

What is the reduced user agent?

To limit fingerprinting, Chrome now sends fixed values such as Android 10; K for Android devices and Mac OS X 10_15_7 for macOS. The exact OS version and phone model are available only via User-Agent Client Hints, if a site requests them.

Can a user agent be faked?

Yes. Any client can send any user-agent string, and browsers let you change it in developer tools. Use it for statistics and compatibility hints, never for security decisions, and verify important bots such as Googlebot with a reverse DNS lookup.

How do I find user agents in my server logs?

In the common Apache and Nginx combined log format, the user agent is the last quoted field on each line. Copy those values, paste them here one per line and export the parsed result as CSV.

Is my user agent sent to your server?

No. Your user agent is read with JavaScript in your browser and all parsing is done locally with a built-in parser.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Website Down CheckerCheck if a website is down for everyone.Open Graph PreviewPaste OG tags and preview how links look on Facebook, X and LinkedIn.Meta Tag GeneratorCreate SEO, Open Graph and X meta tags with live previews.Robots.txt GeneratorBuild a robots.txt file with rules, sitemap lines and AI-bot blocking presets.Ad Blocker TestCheck if your ad blocker works: bait ad elements and ad/tracker requests, with every result listed.Browser Fingerprint TestSee how unique your browser is: canvas, WebGL, audio, font and screen fingerprints, run locally.Are Cookies Enabled TestCheck if cookies, localStorage and sessionStorage work in your browser, with fix steps.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.Email ValidatorCheck email lists and spot disposable addresses.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.MX LookupFind a domain's mail servers: MX priority, host, IP addresses and the email provider.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.ASN LookupLook up an AS number or IP: network owner, country, registry, abuse contact and announced prefixes.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CNAME LookupFollow a hostname's full CNAME chain to its final IP addresses, with TTLs and CDN detection.DKIM Record CheckerLook up a domain's DKIM key by selector (or auto-detect), check key type, bit length and tags.DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.TXT Record LookupLook up a domain’s DNS TXT records and see which are SPF, DMARC, DKIM or verification tokens.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.HTTP Header ParserPaste raw HTTP headers to get a table explaining each one plus a security headers grade.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.IPv6 Subnet CalculatorIPv6 prefix to network, range, address count and /64s, and split it into child subnets.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.NS LookupFind a domain's authoritative nameservers with their IPs, SOA record and DNS hosting provider.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.
See all 52 Network, DNS & Email Tools →