Screen Size & Viewport Checker
Runs locallyInspect viewport size, physical resolution, DPR, color gamut, pointer and media queries.
What is Screen Size & Viewport Checker?
Inspect your current browser viewport dimensions, physical screen resolution, `devicePixelRatio`, color gamut (`srgb`, `p3`, `rec2020`), `prefers-reduced-motion`, `prefers-color-scheme`, pointer accuracy, and copy a diagnostics JSON snapshot.
How to use Screen Size & Viewport Checker
- Step 1
Resize your browser window to watch live dimensions update.
- Step 2
Review media query feature flags (hover, pointer, color-gamut, dynamic-range).
- Step 3
Copy the diagnostics JSON for bug reports.
Features
- Live viewport, screen, and DPR readout
- CSS Media Queries Level 4/5 feature detection (P3, HDR, coarse/fine pointer)
- Orientation and safe-area-inset diagnostics
- One-click copy diagnostics JSON
Example
Input
Current browser window
Output
Viewport: 1440x900 · DPR: 2x · Gamut: p3
Useful for verifying responsive breakpoints and Retina asset delivery.
Frequently asked questions
What is the difference between viewport width and screen width?
Viewport width is the browser’s CSS layout area; screen width is your monitor’s physical CSS pixel resolution.
Is any device fingerprint uploaded?
No. Everything is read locally in your browser.
Why does DPR show 2 or 3?
High-DPI Retina and mobile screens map multiple physical pixels per CSS pixel.
Can I copy the report for QA tickets?
Yes, click Copy Diagnostics JSON.
Related tools
Responsive Breakpoint Tester
Inspect active Tailwind/CSS breakpoints, preview responsive grids and generate media queries.
PX to REM & Fluid Clamp Calculator
Convert px, rem, em, pt, vw, vh and % with Tailwind scale, fluid clamp() and type scales.
Color Contrast Checker
Check WCAG 2.2 AA/AAA and APCA contrast ratios and auto-suggest accessible color pairs.