3tej home

What is User Agent Parser?

A User Agent Parser computes your exact age in years, months and days. It applies the standard formula to the values you enter and returns the result instantly, without sending any data to a server. Useful for paperwork, registration forms and birthday calculations.

User Agent Parser

Parse a User-Agent string into browser, OS, and device type. Paste a UA or use yours.

🔒 Browser-only ⚡ Instant 💸 Free forever 📡 Works offline 🚫 No signup
← Utilities

TLDR

Paste a User-Agent string or click 'Use my UA'. The tool runs a small regex set to identify browser (Chrome / Safari / Firefox / Edge / Opera), OS (Windows / macOS / Linux / iOS / Android), and device class (desktop / mobile / tablet).

Runs entirely in your browser. No upload, no signup, no logging. Output is for personal or commercial use; we don't claim any rights.

How to use this tool

  1. Enter your inputs. Each field is labeled with what it expects.
  2. Read the result instantly. Numbers update as you type or change inputs.
  3. Adjust to test sensitivity. Change one input at a time to see what moves the result most.
  4. Cross-check the formula in the section below if you want to verify the math.
  5. Copy or screenshot the result for later. The site does not save anything; close the tab and inputs are gone.

About this tool + how it works

This tool runs 100% in your browser - the libraries load from a public CDN and the math runs on your device. Nothing is uploaded to a server. The underlying logic is:

regex match against known UA patterns - browser, OS, device. Order matters: check Edge before Chrome, mobile before tablet, etc.

You can verify by opening the browser developer tools and watching the Network tab; you'll see no requests fired during normal use beyond the initial page and library load.

Real-world scenarios where this tool helps

Quick local use

Avoid the cloud round-trip when you just need a fast user agent parser.

Bookmark for later

Stays handy as a tab; no signup, no cookies.

Privacy-sensitive content

Sensitive strings / API keys / personal data stay in your browser.

Mobile and slow connections

Local processing beats waiting on an API response.

What this tool does

  • Runs the user agent parser 100% in your browser - no upload, no API, no signup.
  • Live error messages when input is malformed.
  • One-click Copy and Clear buttons.
  • Works on phones, tablets, and desktops; loads in under a second.
  • Free forever; no premium tier.

What it does NOT do

  • Does not store, log, or send your input anywhere.
  • Does not require an account, an API key, or a paid plan.
  • Does not fix malformed input - garbage in produces an error message.
  • Does not need an internet connection after first page load (libraries cache).

Common mistakes and pitfalls

  • Pasting input with extra whitespace or quotes the format does not allow - clean the input first.
  • Mixing encodings - decode in the right order if input was double-encoded.
  • Comparing against a different tool that uses slightly different conventions.
  • Forgetting to click Copy before navigating away - browser memory clears.

Frequently asked questions

Is this tool free?

Yes - free forever, no signup, no daily limit.

Where does my input go?

Nowhere. The conversion runs entirely in your browser. Nothing is uploaded, stored, or logged.

Does it work offline?

After first load yes. The page caches in your browser.

Are large inputs supported?

Yes up to several megabytes. The transforms are O(n) and the browser handles MBs in milliseconds.

Is the output exactly correct?

Yes - these are deterministic transforms. Same input always gives the same output.

Why use this instead of writing the conversion in Python or Node?

Speed and convenience. The tool is a tab away with a copy button and runs in milliseconds. Useful for one-off tasks where opening a REPL or a script file is overkill. For repeatable / scripted work, do write the Python or Node version.

Can I bookmark this for offline use?

Yes - load the page once, then bookmark. Modern browsers cache the page and any CDN libraries. You can disconnect from the internet and still use the tool. Works great as a tab kept open.

Will this work on every browser?

Yes on every browser released in the last 5 years - Chrome / Edge / Firefox / Safari / Opera all support the Web APIs (Crypto, Canvas, URL constructor) the tools depend on. Internet Explorer 11 and below are not supported.

Can I use the output in production code?

Yes - the math and encodings are standards-compliant. Copy the result into your code. The tool itself is just a front-end; the underlying algorithms (URL encoding, JSON parsing, base64, etc.) are the same browser primitives your code uses.

How is this different from a Chrome extension or VS Code plugin?

Same end result, lower friction. No install, no permission prompt, no extension store. Just paste, transform, copy. The trade-off: an extension can integrate deeper (right-click menu, inline edit) - this is for ad-hoc conversion.