What it does
The viewport meta tag tells a mobile browser how to scale the page. Missing width=device-width causes a desktop layout squeezed onto a phone, while disabling zoom hurts accessibility. The tag belongs in the document head and should be present on every responsive page, including landing pages and error pages.
How it works
The standard pattern is width=device-width, initial-scale=1. A missing tag lets mobile browsers assume a wide desktop viewport.
Avoid user-scalable=no and maximum-scale=1. They block pinch zoom, which many users rely on for readability.
Test at a 320 px width as well as a modern phone width. A layout that only works at 390 px can still overflow on small devices.
When to use it
- Audit a new template on mobile.
- Find pages still using a fixed 1024px viewport.
- Check whether zoom is blocked.
Glossary
- Viewport
- The visible area of a page in the browser.
- device-width
- The screen width in CSS pixels.
- Pinch zoom
- Two-finger zoom on touch devices.
Frequently asked questions
Is viewport a ranking factor?+
It is part of mobile usability, not a direct ranking score. Poor mobile layout still hurts users and can affect performance.
Should I disable zoom?+
No. Blocking zoom harms accessibility and provides little benefit.
Is initial-scale=1 required?+
It is the common default and avoids unexpected zoom, but width=device-width is the essential part.
Why is user-scalable=no harmful?+
It blocks pinch zoom, which low-vision users rely on. Avoid it unless there is a strong, documented reason.
Does a missing viewport hurt SEO?+
It contributes to poor mobile usability, which can affect how a page performs in mobile search.
API & MCP
The same result envelope is available over REST and MCP. Replace the sample value with your own target.
curl "https://100www.dev/api/v1/tools/viewport-checker?u=https%3A%2F%2Fexample.com"Shareable result
https://100www.dev/tools/viewport-checker?u=https%3A%2F%2Fexample.com

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


