What Is Responsive Breakpoint Previewer?
Responsive Breakpoint Previewer shows how a piece of HTML and CSS renders at different screen widths, from a 320px phone to a 1920px desktop. Paste your markup, step through standard breakpoints or drag to any width, and catch layout issues before they reach production.
How to Use This Tool
Click Edit HTML and paste your markup with its styles, then pick a preset width (Reflow 320px through Full HD 1920px), drag the slider anywhere from 280 to 1920px, or press Compare 3 widths to see three widths side by side. The preview is a sandboxed frame at exactly that width, so your media queries respond as they would on a device of that width; on a smaller screen the frame is scaled down to fit. Everything runs in your browser.
Why Use Responsive Breakpoint Previewer?
Opening DevTools and typing widths is slow for a quick check. This tool lets you step through standard widths or drag to any width in one click, making it quick to spot layout breaks, text overflow and alignment issues across the range of screen sizes. Itβs free, instant, and requires no browser extensions. For a detailed walkthrough, see our step-by-step guide.
Common Use Cases
Sanity-checking a layout at the breakpoints your stylesheet actually targets, instead of guessing what 768px or 1024px will look like by dragging a window. Walking a client through a component at each width, one click per breakpoint. Catching the typical mid-breakpoint failure modes — a heading that breaks awkwardly at 900px, a navigation that collapses too early on tablets, an image that loses focal-point cropping at landscape phone widths.
Checking a component at phone, tablet and desktop widths without resizing the browser window. Spotting regressions after a CSS change: paste the updated markup and step through the breakpoints. The tool is also useful for content reviews, where non-designers can see at a glance which breakpoints a piece of copy survives and which break it.
Worked example: which sites will load in the frame
"Or preview a site" loads the address in an iframe, and many sites forbid being framed. A browser hides that refusal from the embedding page: in Chromium 141 a refused frame fires the same single load event, the same cross-origin errors and the same zero-status resource timing entry as a frame that loaded, so no page can detect it reliably. The previewer therefore reads the answer from the headers you paste. On October 13, 2026 we fetched the headers of nine sites with curl -sIL and ran them through the checker:
| Site | Framing header | In the previewer |
|---|---|---|
| google.com | X-Frame-Options: SAMEORIGIN | refused |
| github.com | X-Frame-Options: deny + frame-ancestors 'none' | refused |
| developer.mozilla.org | X-Frame-Options: DENY | refused |
| ultimatedesigntools.com | X-Frame-Options: DENY | refused |
| wikipedia.org | none | loads |
| bbc.com | none | loads |
| example.com | none | loads |
| youtube.com | X-Frame-Options: SAMEORIGIN | refused |
| w3.org | X-Frame-Options: SAMEORIGIN | refused |
To test the checker itself we served one page under 25 different header sets from a second origin and framed each in Chromium 141. The checker's verdict matched what Chromium actually did in 25 of 25 cases, including the awkward ones: X-Frame-Options: SAMEORIGIN, with a trailing comma blocks, two invalid values allow, a CSP frame-ancestors overrides X-Frame-Options entirely, a report-only policy is ignored, a path in the source (/tools/) never matches, and http: also admits an https embedder.
- A blank or "refused to connect" frame means the site forbids framing. X-Frame-Options (DENY or SAMEORIGIN) and the CSP frame-ancestors directive tell the browser not to render the page inside another site. Paste the headers to confirm, paste the page's HTML and CSS instead, or use DevTools device mode.
- Pasted HTML gives exact media-query behaviour. Each preview frame is set to its width, so
@mediarules fire as on a device of that width; on a smaller screen the frame is scaled down to fit, which does not change the layout. In our check the default card grid had 1 column at 390px, 2 at 768px and 4 at 1280px, read from inside each frame. - Compare 3 widths shows them side by side; there is still no touch emulation. Hover styles respond to the mouse. For touch events, device pixel ratio and user-agent switching, use DevTools device mode.
Why these preset widths
The presets follow measured screen sizes rather than device names. 320px is the width WCAG 2.2 success criterion 1.4.10 (Reflow) uses: content must work without horizontal scrolling at 320 CSS pixels. StatCounter's worldwide mobile data for August 2026 puts 414×896 first (13.63%), then 360×800 (9.25%) and 390×844 (6.81%); its September 2026 all-device table has 1920×1080 at 10.7% and 1536×864, a common scaled laptop size, at 3.8%. Those give the 360, 390, 414, 1536 and 1920 presets; 768, 1024 and 1280 stay as the usual tablet and laptop steps. Breakpoints in your own CSS should still follow where your content breaks, not this list.
Sources
Checked on .
- HTML Standard: check a navigation response's adherence to X-Frame-Options
- W3C Content Security Policy Level 3: frame-ancestors
- MDN: X-Frame-Options
- MDN: CSP frame-ancestors
- W3C: Understanding WCAG 2.2 SC 1.4.10 Reflow
- StatCounter: mobile screen resolution stats worldwide
- StatCounter: screen resolution stats worldwide
- Chrome DevTools: Simulate mobile devices with device mode
Frequently Asked Questions
Built by Derek Giordano · Part of Ultimate Design Tools