No single API says phone or desktop โ the verdict combines touch, screen, UA and client hints.
Short answer
Touch plus small viewport strongly suggests mobile In practice, open the linked tool below and compare your live values with the explanations that follow.
How it works
How to Check Your Device Type comes down to reading documented browser signals and interpreting them honestly โ including when the browser withholds them.
- Touch plus small viewport strongly suggests mobile
- Desktop-mode tablets deliberately look like desktops
- Foldables and touch laptops blur every rule
At a glance
| Signal | What you learn |
|---|---|
| Browser report | Live values for this device right now |
| Withheld fields | Privacy protections, not hardware faults |
| Best next step | Use the related tool to verify your own setup |
Practical steps
- Open the related tool and note the highlighted rows.
- Compare them with the points above.
- If something looks off, check zoom, extensions and private mode, then retest.
Try it live: open the related checker and see your own values.
FAQ
Can detection be wrong?
Yes, and honest tools say so. Use the verdict as an estimate and the raw signals as evidence.
Related reading
Bottom line: Foldables and touch laptops blur every rule When in doubt, trust the live tool over memory โ browsers change, and support varies by browser.