User-Agent String
100% Private
Parsing happens locally in your browser. Nothing uploaded.
Parse any user-agent string to detect browser, operating system, device type, and rendering engine. Free and private.
Written & reviewed by Helperzy Editorial Team · Updated July 2026
User-Agent String
100% Private
Parsing happens locally in your browser. Nothing uploaded.
Your own browser's user-agent string loads and parses the moment the page opens, so you can see how your current setup identifies itself without typing anything.
Replace the string with one copied from a server log, an analytics export, or a bug report to inspect the environment a real visitor was using.
Review the browser and version, operating system, device class, and rendering engine, then record them in your ticket or test notes.
Every browser announces itself on each request with a user-agent string, a single line of text that names the browser, its version, the operating system, and the rendering engine. Buried in that line is exactly what you need when a bug report says only that the site looked broken. This parser splits any string into readable fields: browser and version, OS and version where present, device class of mobile, tablet, or desktop, and engine. Your own string loads and parses the moment the page opens, and you can replace it with one copied from a server log, an analytics export, or a support ticket. Developers triaging bugs, QA engineers recording test environments, and analysts sanity-checking device splits are the regular users. Reading these strings by hand goes wrong because of decades of deliberate misdirection. Almost every modern browser opens with Mozilla slash 5.0 and most include the token Safari, whether or not they have anything to do with either. That happened because early servers gated the good version of a page behind a Mozilla check, so everyone claimed to be Mozilla, and the habit calcified into the standard. The parser deals with it by ordering its checks from most specific to least: it looks for Edg before Chrome, because Edge carries both, and Chrome before Safari, for the same reason. OS detection reads the platform token inside the first parenthesised group, so Windows NT 10.0 becomes Windows 10, and iPhone OS 17_4 becomes iOS 17.4 with the underscores converted. Device class is inferred from tokens like Mobile, Tablet, and iPad rather than from screen size, which the string never carries. Here is a real string, broken apart. Take Mozilla slash 5.0 open-paren iPhone; CPU iPhone OS 17_4 like Mac OS X close-paren AppleWebKit slash 605.1.15 open-paren KHTML, like Gecko close-paren Version slash 17.4 Mobile slash 15E148 Safari slash 604.1. The parser reports Browser: Safari 17.4, taken from the Version token rather than the trailing Safari 604.1, which is a frozen build number and not a real version. OS: iOS 17.4, from iPhone OS 17_4 with the underscore normalised. Device: mobile, because of the Mobile token. Engine: WebKit, from AppleWebKit. Note that the string also claims KHTML and Gecko, both untrue, and mentions Mac OS X — read literally you would conclude this is a desktop Mac running Gecko, which is precisely the trap the ordered checks avoid. Where it earns its place. A support engineer receives a ticket saying the checkout button does nothing, pastes the UA from the session log, and finds Samsung Internet 21 on Android 11 — a browser nobody on the team had tested. A QA lead writing a release note pastes each device UA to record exact versions instead of writing tested on iPhone. An analyst notices tablet traffic collapsed overnight, checks a sample string, and discovers iPadOS now reports a desktop Safari UA by default, so the old classification rule silently broke. A developer debugging a CSS bug that only reproduces on one laptop confirms the colleague is two Chrome major versions behind. A couple of honest limits. The string is self-reported and trivially spoofed — curl, Postman, and any browser extension can send whatever they like — so never treat it as a security signal or a way to gate access. The bigger pitfall is using it for code branching at all: browsers are actively freezing and reducing UA detail, Chrome has been trimming its string for years, and version numbers you rely on today may simply stop being reported. Use feature detection for behaviour and keep the user-agent for diagnostics, analytics, and documentation, which is what it is genuinely good for. Parsing runs entirely in your browser inside a client-side effect, so your own string and anything you paste from production logs stay on your device and are never uploaded.
Input
Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1
Result
Browser: Safari 17.4 · OS: iOS 17.4 · Device: mobile · Engine: WebKit
The version comes from the Version token, not the trailing Safari 604.1 build number. iPhone OS 17_4 becomes iOS 17.4 with the underscore normalised, and the Mobile token sets the device class.
Input
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.2478.51
Result
Browser: Edge 124 · OS: Windows 10 · Device: desktop · Engine: Blink
This one string claims Mozilla, AppleWebKit, Gecko, Chrome, Safari, and Edg. Checking the most specific token first means Edg wins over Chrome, which in turn would have won over Safari.
It parses the browser name and version, the operating system and its version where available, the device type (mobile, tablet, or desktop), and the rendering engine such as Blink, WebKit, or Gecko. All of this comes from a single user-agent string.
UUID Generator creates random UUIDs (v4) and GUIDs online for free. Generate unique identifiers instantly for databases, APIs, and development. No signup needed.
Image to Base64 Converter encodes any image into a Base64 data URI online for free. Get ready-to-use CSS and HTML code in your browser.
JSON to YAML Converter changes JSON into clean YAML instantly online for free. Validate and convert config data in your browser with no upload.
Cron Expression Generator builds and explains cron schedules online for free. Create cron expressions with a plain-English description in your browser.
Image Resizer changes image dimensions online — set exact pixels, use percentage scaling, or pick from 12 presets (Instagram, Passport, YouTube, etc.). Target specific file sizes like 50KB or 100KB. Batch resize multiple images. 100% free, browser-based.
Image Converter changes images between any format online free — JPG, PNG, WebP, AVIF, PDF, ICO, BMP, HEIC, GIF, SVG. Batch conversion, resize, rotate, flip, AI format recommendation. 100% browser-based, no upload.
Convert JPG to WebP format online free — reduce image file size by 25-35% with identical visual quality. Batch conversion, adjustable quality, lossless mode available. Boost website speed and Core Web Vitals scores. 100% browser-based, no upload needed.
Convert PNG to WebP format online free — reduce file size by 26-34% while preserving full transparency. Batch conversion, lossless and lossy modes, adjustable quality. Boost website performance and Core Web Vitals. 100% browser-based, no upload needed.