네트워크/HTTP
User-Agent Parser
User-Agent 문자열을 브라우저, 엔진, 운영체제, 기기 유형으로 분해합니다.
The User-Agent string a browser sends with every request looks like a chaotic mix of names and versions, largely because of browsers' historical habit of impersonating each other (nearly every modern browser's string still contains "Mozilla/5.0"). This tool breaks it down into browser, engine, OS, and device type.
How to use it
- Paste a User-Agent string (from your own dev tools console or from server logs) and it's parsed instantly.
- The result shows the browser name and version, the rendering engine, the operating system, and the device type (desktop, mobile, tablet, bot).
- Handy for recognizing bot and crawler strings (Googlebot, Bingbot, etc.), which also send a User-Agent.
Common uses
- Debugging a bug that only shows up in a specific browser or OS — quickly figuring out what the user was actually on from a log entry.
- Analyzing server logs for the share of mobile traffic or outdated browsers among visitors.
- Checking whether a request genuinely came from a legitimate search bot, rather than someone spoofing its User-Agent.
Things to keep in mind
A User-Agent is entirely controlled by the client and easy to spoof — don't rely on it for security decisions.
Under the User-Agent Reduction effort, modern browsers increasingly freeze or simplify OS and device details for privacy — detection accuracy is gradually declining.
이 도구에 대한 아티클: User-Agent: Chrome 문자열에 "Mozilla"와 "Safari"가 있는 이유
자주 묻는 질문
Chrome이나 Safari에서도 많은 User-Agent 문자열이 "Mozilla"를 언급하는 이유는 무엇인가요?
이는 역사적 유물입니다 — 브라우저들은 초기 Netscape Navigator용으로 작성된 오래된 서버 검사와의 호환성을 위해 User-Agent 문자열에 "Mozilla/5.0"을 계속 추가했고, 이 관례는 결코 사라지지 않았습니다.
실제 브라우저와 OS를 감지하는 데 User-Agent 파싱은 얼마나 신뢰할 수 있나요?
일반적인 경우에는 상당히 신뢰할 수 있지만, User-Agent 문자열은 위조될 수 있고, 일부 브라우저는 이제 개인정보 보호를 위해 문자열의 일부를 고정하거나 단순화하므로 감지가 정확하다고 보장되지는 않습니다.
여기에 붙여넣은 User-Agent 문자열이 어딘가로 전송되나요?
아니요. 파싱은 브라우저 내에서 완전히 이루어집니다 — 서버에 업로드되는 것은 없습니다.
User-Agent Client Hints란 무엇인가요?
하나의 User-Agent 문자열을 대체하는 현대적인 방식입니다 — Sec-CH-UA, Sec-CH-UA-Platform 등 별도의 헤더 집합으로, 서버가 명시적으로 요청해야 하며 뒤죽박죽인 하나의 문자열을 파싱하는 대신 구조화된 형식으로 받습니다.
일부 브라우저가 User-Agent에서 정확한 OS 버전이나 기기 모델을 숨기는 이유는 무엇인가요?
이는 개인정보 보호를 위한 "User-Agent Reduction" 노력의 일부입니다 — OS 버전이나 기기 모델의 세부 정보는 사용자를 고유하게 식별(핑거프린팅)하는 데 사용될 수 있으므로, 브라우저들은 문자열의 이런 부분을 점차 단순화하거나 "고정"하고 있습니다.