Start a project

Tool 28 of 29 · Testing

Breakpoint & Viewport Tester

See a page at phone, tablet and desktop widths side by side, and for pasted HTML, find out exactly which widths scroll sideways and what's too wide.

Breakpoint & Viewport Tester

What to test

Many sites refuse to be shown in a frame on another site. If a frame stays blank, paste the page's HTML instead.
Screen sizes

Previews

Results

Report
Media query starter

01

What it does

Previews a page or pasted HTML at up to ten screen sizes at once and catches sideways scrolling.

  • Ten common screen sizes plus a custom width
  • Preview a live URL
  • Paste HTML for an overflow check at each width
  • Names the elements that are too wide

02

Private by design

Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

03

What you get

A report and a media query starter, with a Copy and a Download button on every result.

  • Responsive
  • WCAG 1.4.10
  • Testing

Why it matters

Most visits to small business sites now come from phones, and the most common responsive bug is a page that scrolls sideways: one fixed-width image or table pushes everything off the screen. WCAG 1.4.10 asks that content works at 320 CSS pixels wide without scrolling in two directions.

Resizing a browser window by hand misses widths, and phone emulators show one size at a time. This tester shows them side by side, and for pasted HTML measures overflow at every width and tells you which element causes it.

How to use it

  1. Choose A web address or Paste HTML.
  2. Tick the screen sizes to test, or add a custom width.
  3. Press Show previews and scroll through them.
  4. For pasted HTML, read the overflow results, then copy the report or media query starter.

FAQ

Why is a preview blank?

Many sites send a header (X-Frame-Options or a frame-ancestors policy) that stops other sites showing them in a frame. That's a good security setting. Paste the page's HTML instead.

Why can't it measure overflow for a URL?

Browsers don't let one site look inside another site's page, for good security reasons. Pasted HTML is rendered in a frame this tool can measure.

Do scripts run in pasted HTML?

No. The frame is sandboxed with scripts off and nothing fetched, so test the layout and styles rather than behaviour.

Which widths matter most?

320px (the WCAG reflow width and small phones), 390px (most current iPhones), 768px (tablets) and 1280px (laptops).

Work with me

Want a site that gets these right?

I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

All developer tools · Back to leej.uk