Tool Base

Utilities

Viewport Size Checker

Viewport size is window.innerWidth and window.innerHeight. Resize the window to watch the values change.

How to use Viewport Size Checker

  1. Step 1

    Start

    Open the tool and add your input.

  2. Step 2

    Adjust

    Review the options and run the action.

  3. Step 3

    Get the result

    Copy, download, or use the live result.

Viewport Size Checker features

  • Live width and height
  • Resize listener
  • Copy values

Supported Formats / Details

Input formats

  • Text

Output formats

  • Pixels

Supported formats

  • Text

Frequently Asked Questions

Does this include browser chrome?

innerWidth/innerHeight are the layout viewport, not the hardware display.

What about mobile URL bars?

The numbers follow whatever the browser currently reports.

Explore related Tool Base utilities that pair well with Viewport Size Checker.

Browse all tools

Need another utility?

Browse related tools or explore the full Tool Base directory.