Start a project

Tool 241 of 244 · 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 at a glanceIllustration: 1, A URL or HTML; 2, processed in your browser; 3, Every screen size.Breakpoint & Viewport Tester</>1A URL or HTML3Every screen size2In yourbrowser
1 A URL or HTML 2 processed on your device 3 Every screen size

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 it works

  1. InputA live URL or pasted HTML
  2. In your browserFramed at each width you pick
  3. OutputSide-by-side views and overflow warnings

Where it fits in a designer's workflow

  1. Plan
  2. Design
  3. Build
  4. Test
  5. Launch
Testing: check each template at every width before launch.

By the numbers

Common test widths and framework breakpoints, 320 to 1920pxThis tester's presets: 320, 360, 375, 390, 430, 768, 1024, 1280, 1440, 1920; Bootstrap 5 breakpoints: 576, 768, 992, 1200, 1400; Tailwind CSS breakpoints: 640, 768, 1024, 1280, 1536This tester's presetsBootstrap 5 breakpointsTailwind CSS breakpoints320640960128016001920
Breakpoints from each framework's documentation; the tester's widths are its own presets. 320px is the width WCAG 1.4.10 (Reflow) asks every page to work at without sideways scrolling. Test between breakpoints too: that's where layouts break. Source: Bootstrap 5 breakpoints; Tailwind CSS responsive design; WCAG 2.2 SC 1.4.10.
Show the tester's widths
WidthPreset
320pxSmall phone (WCAG reflow width)
360pxAndroid phone
375pxiPhone SE
390pxiPhone 12 to 15
430pxLarge phone
768pxTablet, portrait
1024pxTablet, landscape
1280pxLaptop
1440pxDesktop
1920pxLarge desktop

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