Responsive Design Tester
Preview any website at different screen sizes — mobile, tablet, and desktop viewports
Tip: To take a screenshot of the preview, use your browser's built-in screenshot tools (e.g. right-click → screenshot, or Ctrl+Shift+S in Firefox).
Preview any URL at exact phone, tablet, and desktop widths — pick a device preset or type in custom pixel dimensions, then compare layouts side by side. Rotate, zoom, and test localhost dev servers without installing anything. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool creates an iframe sized to your chosen device dimensions and loads the URL inside it. CSS media queries on the target site fire based on that iframe width, so you see the same breakpoints that would trigger on a real screen. Zoom and rotate controls let you adjust the view without reloading.
Examples
Checking a Portfolio Site on iPhone 14
A freelancer wants to make sure their portfolio looks sharp before sending the link to a potential client who mostly browses on mobile.
URL: https://janedoe.dev
Device: iPhone 14 Pro (393 × 852)
Live preview at 393px wide — nav hamburger menu visible, hero image scales correctly, project grid stacks to single column
Side-by-Side Breakpoint Comparison
A dev team is debugging a pricing table that collapses oddly between tablet and desktop widths.
URL: http://localhost:3000/pricing
Mode: Side-by-Side (390px + 768px + 1366px)
Three live views side by side — pricing cards stack on mobile, show 2 columns on tablet, 3 on desktop. Gap between 768px and 1024px breakpoint visible instantly
Testing Landscape Mode on a Tablet
A dashboard app needs to work well when users rotate their iPad sideways.
URL: https://app.example.com/dashboard
Device: iPad Air (820 × 1180)
Orientation: Landscape (1180 × 820)
Preview flips to 1180px wide — sidebar navigation appears, chart widgets reflow to 2-column grid instead of stacking
Who Uses This
Quick-check media query breakpoints during local development without leaving the browser.
Preview mockups at real device widths before handing off to development.
Run through viewport checklists across phone, tablet, and desktop sizes for sign-off.
Verify staging sites look right on common devices before approving a release.
Common Mistakes
Most major sites (Google, Facebook, Twitter) block iframe embedding with X-Frame-Options or CSP headers. That's their security setting, not a bug here. For those sites, use your browser's built-in device toolbar instead — press F12, then click the phone/tablet icon.
An iframe at 390px wide triggers the right CSS breakpoints, but it won't replicate touch behavior, device pixel ratios, or mobile browser chrome (address bar, bottom nav). Use this for layout checks, not for final pixel-perfect QA on production.
Typing "example.com" without "https://" can cause the iframe to fail silently. Always include the full URL with http:// or https:// at the start.
Technical Details
- Processing: 100% client-side — URL loads in a local iframe
- Browser Support: Chrome, Firefox, Safari, Edge
- Device Presets: iPhone SE through Galaxy S24, iPad, common desktop widths
- Storage: Last 5 URLs saved in localStorage (clearable)
- Localhost: Works with local dev servers (e.g. localhost:3000)
Frequently Asked Questions
Why won't some websites load in the preview?
Many sites set X-Frame-Options or Content-Security-Policy headers that block iframe embedding. It's a server-side security rule — there is no workaround from the browser. Try your browser's built-in responsive mode (F12 → device toolbar) for those sites.
Is this the same as testing on a real phone or tablet?
Close, but not identical. You'll see the correct CSS breakpoints fire, so layout and visibility issues show up. What you won't catch: touch-specific interactions, device pixel ratio differences, or how the mobile browser chrome affects viewport height. For final sign-off, nothing beats a real device.
Can I test my localhost development server?
Yes. Enter http://localhost:3000 (or whatever port your dev server uses) and it loads fine. Most local dev servers don't set iframe-blocking headers, so this works out of the box.
What does Side-by-Side mode show?
It loads three iframes at once — mobile (390px), tablet (768px), and desktop (1366px) — all showing the same URL. You can see how your layout adapts across all three breakpoints without clicking between presets.
Does this tool send my URL to a server?
No. The URL goes straight into an iframe in your browser. Nothing is transmitted anywhere. Your recent URLs are saved in localStorage so they're easy to re-open, and you can clear that list anytime.