WeChat on Android user agent string
Sites detect WeChat by the MicroMessenger token. On Android, Chrome/ and XWEB/ describe WeChat's built-in XWeb engine rather than the phone's Chrome app, and NetType shows the current network. This sample is from WeChat 8.0.76; newer versions use the same format. Below is the exact string it sends and what each part means.
Mozilla/5.0 (Linux; Android 10; HJC-AN90 Build/HONORHJC-AN90; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/142.0.7444.173 Mobile Safari/537.36 XWEB/1420283 MMWEBSDK/20260502 MMWEBID/59 REV/f28c88cc5f358c71ae477c9911345c89709208a5 MicroMessenger/8.0.76.3141(0x28004C37) WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64
At a glance
| Type | In-app browser |
| Operator | Tencent |
| Browser | WeChat 8.0.76.3141 |
| Engine | Blink 142.0.7444.173 |
| Operating system | Android 10 |
| Device | Phone |
String breakdown
| Fragment | Meaning |
|---|---|
Mozilla/5.0 | Historical compatibility token. Nearly every browser claims "Mozilla/5.0" so that old servers do not serve it broken pages. |
Linux | Linux kernel. |
Android 10 | Android 10. |
HJC-AN90 | Device model: HJC-AN90. |
Build/HONORHJC-AN90 | Device firmware build HONORHJC-AN90. |
wv | Android WebView marker — the page is shown inside an app, not a standalone browser. |
AppleWebKit/537.36 | WebKit rendering engine, build 537.36. Chromium browsers keep this token for compatibility. |
KHTML, like Gecko | Compatibility note: the engine descends from KHTML and behaves like Gecko. Kept for legacy browser sniffers. |
Version/4.0 | A fixed Android WebView marker (Version/4.0), not a browser version. |
Chrome/142.0.7444.173 | Chromium version of WeChat's built-in XWeb engine, not the phone's Chrome app. |
Mobile | Mobile device marker — sites use it to serve the mobile layout. |
Safari/537.36 | Safari/WebKit build 537.36 — a compatibility token, not the Safari version. Chromium browsers send it too. |
XWEB/1420283 | Build 1420283 of WeChat's XWeb engine. It appears only when XWeb renders the page; without it, the system WebView is in use. |
MMWEBSDK/20260502 | Date-style stamp of WeChat's web SDK (20260502); Tencent does not document it. |
MMWEBID/59 | An undocumented WeChat identifier (59) that varies by device. |
REV/f28c88cc5f358c71ae477c9911345c89709208a5 | Revision hash of the app build; not publicly documented. |
MicroMessenger/8.0.76.3141(0x28004C37) | WeChat 8.0.76, build 3141; the hex value in brackets is its internal version code. Sites detect WeChat by this token. |
WeChat/arm64 | CPU architecture of the installed WeChat build: arm64. |
Weixin | WeChat's Chinese name (Weixin), sent as an extra marker. |
NetType/WIFI | Current network type as reported by the app: WIFI (such as WIFI, 4G or 5G). |
Language/zh_CN | Interface language of the app: zh_CN. |
ABI/arm64 | CPU instruction set (ABI) of the device: arm64. |
Use it in code
curl
curl -A "Mozilla/5.0 (Linux; Android 10; HJC-AN90 Build/HONORHJC-AN90; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/142.0.7444.173 Mobile Safari/537.36 XWEB/1420283 MMWEBSDK/20260502 MMWEBID/59 REV/f28c88cc5f358c71ae477c9911345c89709208a5 MicroMessenger/8.0.76.3141(0x28004C37) WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64" https://example.comPython (requests)
import requests
requests.get("https://example.com", headers={"User-Agent": "Mozilla/5.0 (Linux; Android 10; HJC-AN90 Build/HONORHJC-AN90; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/142.0.7444.173 Mobile Safari/537.36 XWEB/1420283 MMWEBSDK/20260502 MMWEBID/59 REV/f28c88cc5f358c71ae477c9911345c89709208a5 MicroMessenger/8.0.76.3141(0x28004C37) WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64"})Playwright (Node.js)
const context = await browser.newContext({ userAgent: "Mozilla/5.0 (Linux; Android 10; HJC-AN90 Build/HONORHJC-AN90; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/142.0.7444.173 Mobile Safari/537.36 XWEB/1420283 MMWEBSDK/20260502 MMWEBID/59 REV/f28c88cc5f358c71ae477c9911345c89709208a5 MicroMessenger/8.0.76.3141(0x28004C37) WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64" });
Source: user-agents.net: WeChat 8.0.76 on Android (real-traffic sample) · checked September 2026