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

TypeIn-app browser
OperatorTencent
BrowserWeChat 8.0.76.3141
EngineBlink 142.0.7444.173
Operating systemAndroid 10
DevicePhone

String breakdown

FragmentMeaning
Mozilla/5.0Historical compatibility token. Nearly every browser claims "Mozilla/5.0" so that old servers do not serve it broken pages.
LinuxLinux kernel.
Android 10Android 10.
HJC-AN90Device model: HJC-AN90.
Build/HONORHJC-AN90Device firmware build HONORHJC-AN90.
wvAndroid WebView marker — the page is shown inside an app, not a standalone browser.
AppleWebKit/537.36WebKit rendering engine, build 537.36. Chromium browsers keep this token for compatibility.
KHTML, like GeckoCompatibility note: the engine descends from KHTML and behaves like Gecko. Kept for legacy browser sniffers.
Version/4.0A fixed Android WebView marker (Version/4.0), not a browser version.
Chrome/142.0.7444.173Chromium version of WeChat's built-in XWeb engine, not the phone's Chrome app.
MobileMobile device marker — sites use it to serve the mobile layout.
Safari/537.36Safari/WebKit build 537.36 — a compatibility token, not the Safari version. Chromium browsers send it too.
XWEB/1420283Build 1420283 of WeChat's XWeb engine. It appears only when XWeb renders the page; without it, the system WebView is in use.
MMWEBSDK/20260502Date-style stamp of WeChat's web SDK (20260502); Tencent does not document it.
MMWEBID/59An undocumented WeChat identifier (59) that varies by device.
REV/f28c88cc5f358c71ae477c9911345c89709208a5Revision 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/arm64CPU architecture of the installed WeChat build: arm64.
WeixinWeChat's Chinese name (Weixin), sent as an extra marker.
NetType/WIFICurrent network type as reported by the app: WIFI (such as WIFI, 4G or 5G).
Language/zh_CNInterface language of the app: zh_CN.
ABI/arm64CPU 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.com

Python (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

Related user agents

All user agent strings →

What does your own browser send? Check your user agent →