How it works
Pick Desktop, Tablet or Mobile, then a size from the list. Sizes are sorted by how many people use them, measured by StatCounter from November 2025 to October 2026. Every size is available in portrait and landscape. Under “Advanced settings” you can sort for your audience: by region, or by Apple versus Windows and Android devices.
The website is rendered at the real pixel size of the simulated screen. If that is larger than the space on your display, the whole screen is scaled down, so a 27-inch monitor looks the same on your laptop, only smaller.
Chrome extension: open any website
Many websites forbid being shown inside another page. The web version shows those through a relay on this domain, which fetches the page and passes it on. That works for most sites, but sign-ins and some interactive features can fail, and you should not enter passwords there. The Chrome extension needs no relay: it lifts the restriction inside the simulator tab only and shows every site unchanged.
- Download the extension and unzip it.
- Open
chrome://extensionsin Chrome and switch on “Developer mode”. - Choose “Load unpacked” and select the unzipped folder.
- Click the extension icon. The simulator opens in a new tab.
MCP connector for AI agents
AI agents such as Claude or Codex can ask Viewport Simulator which screen sizes matter and get a link for each one. Add this address as a remote MCP server (Streamable HTTP, no sign-in):
https://viewport-simulator.com/mcp
| Tool | What it returns |
|---|---|
plan_responsive_test | The most-used sizes for desktop, tablet and mobile in a region, each with a simulator link for your website. |
list_screen_sizes | All sizes of one category, sorted by usage share, with aspect ratio and typical devices. |
get_simulator_url | A link that opens a website at one exact size. |
The connector provides data and links. It does not load pages or take screenshots itself; the agent opens the link in its browser, or sets its own browser to the given width and height.
Links that carry the whole configuration
The simulator’s address always contains its current state, so any size can be opened directly:
https://viewport-simulator.com/?url=localhost:3000&cat=mobile&size=390x844®ion=ch
| Parameter | Values |
|---|---|
url | Address of the website |
cat | desktop, tablet, mobile |
size | WIDTHxHEIGHT in CSS pixels. The order decides portrait or landscape. Unknown sizes become a custom size. |
region | ww, ch, eu, na, as |
eco | all, apple, other |
fit | fit (scale to the window) or full (always 100%) |
Inside the page, scripts can use viewportSim.get(), viewportSim.set({ url, cat, size }), viewportSim.sizes(), viewportSim.next() and viewportSim.prev().
Limits
- The simulator sets the width and height of the screen. Pixel density, touch input and the browser’s device identity stay those of your computer.
- Sizes are whole screens. A real browser shows a little less because of its toolbars.
- Sign-ins do not always work in embedded pages, because Chrome restricts cookies there.