The 4 best page ruler extensions for Chrome (2026)

Nitpique, Screen Ruler, Dimensions and Chrome DevTools compared for measuring web pages: sizes on hover, the distance between elements, margin and padding, rulers and guides, and what is free.

By Swapnil Gupta · · 5 min read

A page ruler extension measures what is on a web page: how big an element is, how far apart two things are, whether the spacing matches the design. They work in two different ways. Some read the page's elements, so they know an element's box, margin and padding. Others read the pixels on screen, so they measure anything you can see, a mockup image included, but know nothing about CSS.

We make Nitpique, so it is first on this list. Every other tool here is one we would recommend for the job we name, and we say where each one does better than ours.

At a glance#

ToolSize on hoverDistance between elementsMargin and paddingRulers and guidesFree
NitpiqueYesYesYesYesYes
Screen RulerYesYesYesYesPartly
DimensionsPartlyYesNoNoYes
Chrome DevToolsPartlyNoYesPartlyYes
YesPartlyNoChecked against each tool's own pages, November 2026.

How we picked#

Each tool had to measure on any live page and still be maintained. We read each one's own site, store listing and docs in November 2026; where a tool's own pages do not mention a job, the table marks it as not offered. Two well-known names are missing on purpose: Page Ruler Redux, whose repository was archived in 2022 and whose store page no longer loads, and MeasureIt, whose store listing is rated below 2 out of 5. Looking for a ruler to measure real objects in centimetres or inches? That is a different tool: our free online ruler.

1. Nitpique#

Type
Browser extension
Price
Free, no account
Runs in
Chrome, Edge, Brave and Arc
Best for
Measuring a build against its design
See the page ruler

Hover any element for its size and its margin, border and padding in DevTools' colours. Click it, then hover another, and red lines show the gap between them, the inset when one is inside the other, or how much they overlap; press Space to pin one and measure from it. Rulers run along the top and left, guides snap to edges and centres and come back when you return to the site, and every value reads in px, rem, em, %, vw, vh or device pixels. Text edges measure to the letters themselves, and pixel edges measure shapes inside images and canvas.

Where it wins

  • Element-aware measuring plus measuring inside images
  • Every unit, not only px
  • Free, with no account and no data collected

Where it falls short

  • A full inspector, so more to learn than a single ruler

2. Screen Ruler#

Type
Browser extension
Price
Free core; paid plans paid once
Runs in
Chrome, Edge, Brave, Vivaldi and Opera
Best for
Measuring with rulers and guides

Source: screen-ruler.com · checked November 2026

Screen Ruler covers the core measuring jobs in its free tier: hover for an element's size, tag and classes with its margin and padding, select one to see distances to others, and rulers, guides and a crosshair along the page edges. Its paid plans add a live CSS editor, flexbox and grid inspection and breakpoints. It is updated often.

Where it wins

  • The measuring basics are free
  • Frequent updates

Where it falls short

  • Live editing and layout tools are paid
  • Prices are not shown on its site

3. Dimensions#

Type
Browser extension, open source
Price
Free
Runs in
Chrome and Firefox
Best for
Measuring anything visible, mockups included

Source: felixniklas.com · checked November 2026

Dimensions measures pixels, not elements: move the pointer and it measures outward to the nearest edges in every direction, and hold Alt to measure the area under the cursor. Because it reads what is drawn, it works on anything on screen, including a PNG mockup dropped into the browser. The same approach is its limit: it knows nothing about CSS, and its listing says it struggles on photos, where colours change from pixel to pixel.

Where it wins

  • Measures anything visible, mockups included
  • Tiny, free and open source

Where it falls short

  • No margin, padding or CSS
  • Weak on photographs

4. Chrome DevTools#

Type
Built into the browser
Price
Free
Runs in
Chrome and Chromium browsers
Best for
Developers already in the Elements panel

Source: developer.chrome.com · checked November 2026

DevTools shows any element's box model, editable in place, and a setting, Show rulers on hover, draws rulers in the page as you hover nodes in the DOM tree. What it does not have is a way to measure between two elements: for a gap you read two positions and subtract them yourself.

Where it wins

  • Exact box model, editable in place
  • Nothing to install

Where it falls short

  • No distance between two elements
  • Tied to the DOM tree, not the page

Which one should you use?#

  • To measure elements, gaps and spacing: Nitpique or Screen Ruler.
  • To measure a mockup image or anything drawn: Dimensions, or Nitpique's pixel edges.
  • To read one element's box quickly: DevTools.

For the method behind it, read how to measure spacing on any website.

Read next