Screen resolution simulator
See any website at phone, tablet and desktop sizes. Open it in a real browser window at the exact viewport size, or preview and compare sizes right on this page, to check your responsive breakpoints.
- 19 device sizes or your own
- Shows the size you really got
- Runs in your browser only
Viewport size
390 × 844
- WebsiteWaiting for inputThe page you test
- Requested390 × 844Content size asked for
- BreakpointBelow 576 pxWhich CSS rules apply
- ResultNot opened yetThe size you really got
Preview and size details
Screen size, viewport and CSS pixels
Responsive layouts react to the viewport width in CSS pixels, not to the number of pixels on the screen. That is what this tool changes.
CSS pixels are not screen pixels
An iPhone with a 1179-pixel-wide screen reports a 393 px wide viewport, because each CSS pixel uses 3 screen pixels. Your CSS sees 393.
The viewport is the page area
It is the space inside the browser, without tabs, the address bar and window borders. Media queries such as min-width: 768px compare against it.
Breakpoints switch the layout
When the viewport passes a breakpoint, the CSS for that size applies: menus collapse, columns stack and text sizes change. Test just above and below each one.
Width is not the whole story
Real phones also have touch, no hover and a pixel ratio of 2 to 3. This tool tests layout only, so finish on a real device.
Sizes worth testing and the breakpoints they hit
Common viewports in CSS pixels, the media queries they trigger and what to look at.
| Device | Viewport | Media query | Framework class | Check |
|---|---|---|---|---|
| Small phone | 360 × 800 |
Base styles, no min-width query |
Bootstrap xs, Tailwind default | Text wrapping, tap targets, no sideways scrolling. |
| Large phone | 430 × 932 |
Still below 576 px |
Bootstrap xs, Tailwind default | Long words, wide tables and images. |
| Tablet portrait | 768 × 1024 |
@media (min-width: 768px) |
Bootstrap md, Tailwind md | Two-column layouts and the menu switch. |
| Tablet landscape | 1024 × 768 |
@media (min-width: 1024px) |
Bootstrap lg (992), Tailwind lg | Sidebars and short screens. |
| Laptop | 1366 × 768 |
@media (min-width: 1280px) |
Bootstrap xl (1200), Tailwind xl | Content above the fold on short screens. |
| Desktop | 1920 × 1080 |
@media (min-width: 1536px) |
Bootstrap xxl (1400), Tailwind 2xl | Maximum content width and very long lines. |
How this tool works
What happens when you press Open window or Preview here.
You choose a URL and a size
Pick a phone, tablet or desktop preset, type your own width and height, or rotate to landscape.
Open window asks your browser
A new window is opened at that content size right when you click, then measured before your site loads in it.
The real size is reported
If your screen is too small or your browser ignores sizes, the tool shows the size you actually got.
Or preview it here
Preview here and Compare sizes show the page in frames at the exact CSS width, scaled down to fit this page.
What this tool does, and what it doesn't
A plain list, so you know exactly what to expect.
This tool does
- Open a live, clickable window at a chosen size
- Report the size your browser really opened
- Preview pages here at exact CSS widths
- Compare phone, tablet and laptop side by side
- Show which Bootstrap and Tailwind breakpoint applies
- Work with localhost in Open window
This tool does not
- Fake a phone's user agent or touch input
- Change the device pixel ratio
- Open windows larger than your screen
- Show sites that block frames in the preview
- Throttle the network speed
- Send or log the URLs you test
Where your data goes
Nowhere through us. The URL you enter is opened by your own browser, and nothing is sent to or logged by our server. The site you test sees a normal visit from your browser and your IP address, and may see that you came from allinonetools.net. Our server keeps normal access logs of page visits, as described in our privacy policy.
Step-by-step guide by Bhavin J. Sheth.
When the test does not look right
The six surprises people run into most, and what each one means.
Nothing opens
The pop-up blocker stopped the window. Allow pop-ups for allinonetools.net in the address bar, then click Open window again.
The window is smaller than chosen
Your screen is smaller than the size. The tool shows the real size. For large sizes, use Preview here, which scales down.
The desktop menu shows at phone size
The site may decide by user agent instead of width, or have no mobile CSS. This tool only changes the width.
The preview frame stays blank
The site forbids being shown in frames, or it is plain http. Open window works for every site.
It opens a tab on my phone
Mobile browsers ignore window sizes. Use the in-page preview there, or test on a laptop.
Hover effects still work
You are using a mouse, so hover works even at phone width. Real phones have no hover, so check menus by tapping.
Questions about testing screen sizes
Why is the window smaller than the size I chose?
A browser window cannot be larger than your screen, so big sizes are reduced to fit. Some browsers also add a minimum size or open the page in a tab instead. The tool measures the size the browser really gave and shows it, so you know what you tested.
What is the difference between Open window and Preview here?
Open window loads the site in a real, separate browser window that works with every site, including logins and your local server. Preview here shows the page in a frame on this page, scaled to fit, which is quicker for comparing sizes but only works for sites that allow being shown in a frame.
Why is the preview frame blank for some sites?
Many sites send X-Frame-Options or a Content-Security-Policy frame-ancestors rule that stops other sites from showing them in a frame, to prevent clickjacking. Browsers also block plain http pages inside an https page. Use Open window for those sites.
Is this the same as Chrome DevTools device mode?
No. DevTools can also fake a phone's user agent, touch input, pixel ratio and slow networks. This tool only changes the viewport size, which is what triggers your CSS breakpoints. Use it for quick layout checks and DevTools or a real phone for final testing.
Does it work on a phone or tablet?
Phones and tablets ignore window sizes and open a normal tab, so Open window does not resize there. The in-page preview still works, because it sets the frame width itself. The tool is most useful on a laptop or desktop.
Can I test a site on localhost?
Yes, with Open window. The new window is part of your own browser, so it can open http://localhost:3000 or a local IP address. The in-page preview may be blocked for local http addresses, depending on your browser.
Is the URL I enter sent to your server?
No. Everything happens in your browser and nothing is logged. The site you test receives a normal visit from your browser, so it sees your IP address and may see that the visit came from allinonetools.net, as with any link. Our server keeps normal access logs of page visits, as described in our privacy policy.