Skip to content
Sealpaste

Delete all recent work?

This removes the 0 items saved in this browser. Your settings stay.

Stop saving recent work?

New work won't be saved in this browser. The 0 items already saved can stay or go.

User Agent Parser

User agents

Paste a user agent or an access log

Read
Ready
Runs in your browser. Nothing you paste is uploaded unless you share it.

Read a user agent string: browser, version, OS, device and bot

Paste a user agent, a list or an access log, and read its browser, operating system, device and bots, with counts for many.

How to use it

  1. Paste a user agent, many one a line, or lines of an access log; or open a .log file.
  2. One user agent shows its fields; many show counts by browser, OS, device and bot.
  3. Copy all takes the fields or the counts as text.

Examples

An iPhone

Input
Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1
Result
Browser: Mobile Safari 17.5
Engine: WebKit 605.1.15
OS: iOS 17.5
Device: mobile
Model: Apple iPhone

Googlebot

Input
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Result
Bot: Googlebot

A crawler names itself in the string; anyone can copy that string, so check the IP address before you trust it.

What it reads

Paste one user agent to see its browser and version, rendering engine, operating system, device type and, for phones and tablets, the maker and model. Paste many, one a line, or lines straight from an Apache or nginx access log, and you get counts by browser, operating system, device and bot, with a short line for each entry.

In a log line the user agent is the last quoted field (the "combined" log format), so that is the part read; a line without quotes is read whole. The parsing is done by ua-parser-js 1.x (MIT), with a list of bot and HTTP library names on top: Googlebot, Bingbot, Applebot, GPTBot, ClaudeBot, PerplexityBot, curl, python-requests and others.

Press This browser to read the user agent of the browser you are using now.

Why Windows 11 shows as Windows 10, and Mac as 10.15.7

Chrome, Edge and other Chromium browsers send a reduced user agent: since 2023 the minor version is always 0.0.0, Windows 11 still says Windows NT 10.0, every Mac says Mac OS X 10_15_7, and Android hides the model. Firefox and Safari freeze parts of theirs too. The string can’t say more than it holds, so the parser shows what is written.

To get the real platform version or device model on your own site, ask for User-Agent Client Hints (Sec-CH-UA-Platform-Version, Sec-CH-UA-Model) or call navigator.userAgentData.getHighEntropyValues in the page.

FieldWhat reduced Chrome sendsAsk for instead
Browser version130.0.0.0Sec-CH-UA-Full-Version-List
Windows versionWindows NT 10.0 (also on Windows 11)Sec-CH-UA-Platform-Version
macOS versionMac OS X 10_15_7Sec-CH-UA-Platform-Version
Android modelKSec-CH-UA-Model

Sources: Chromium: User-Agent Reduction, MDN: User-Agent Client Hints

Common user agents to test with

Strings as current browsers, a crawler and a command-line client send them; paste one to see how it reads.

BrowserUser agent
Chrome on WindowsMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Edge on WindowsMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Firefox on WindowsMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Safari on a MacMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15
Chrome on AndroidMozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
Safari on an iPhoneMozilla/5.0 (iPhone; CPU iPhone OS 18_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Mobile/15E148 Safari/604.1
BingbotMozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
curlcurl/8.7.1

Questions

Can I trust a user agent?
No: any client can send any string, and bots often copy a browser’s. Use it for statistics and for working around a known browser bug, not for security. To confirm a Googlebot or Bingbot visit, check that the IP address resolves back to google.com or search.msn.com.
How many lines can it read?
Up to the 10 MB input limit, tens of thousands of log lines; the reading runs in the background of your browser, so the page keeps answering. Every line is counted; the first 500 are listed one by one.
Is my log uploaded?
No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

Related tools