New 2.0Measure, Spacing Audit and Tailwind exportMeasure, Audit & Tailwind

See every margin & padding on any website.

Spacing Inspector is a free Chrome extension that shows the CSS box model of anything you hover. Measure distances like in Figma, score a page’s spacing grid, and copy what you see as CSS or Tailwind.

  • Free forever
  • No account
  • Private by design
  • 858 users

Works on every site, whatever it’s built with

The short answer

What is Spacing Inspector?

Spacing Inspector is a free Chrome extension for designers and front-end developers. Hover any element on any website to see its margin, border, padding and gaps with the exact pixel values, then measure, audit and copy that spacing as code.

Price
Free
Users
858
Data collected
None
Version
2.0

Features

Four tools. One extension.

Each one plays below like a short film. Hover the frame to look closer, or pause it.

Inspect the whole box model

Margin, border, padding, content and flex or grid gaps are drawn as separate layers, each labelled with its value on every side. An info card shows the element’s size, its parents and the code.

  • Arrow keys walk to the parent, child or sibling
  • Click to pin, Esc to step back
  • 4px or 8px grid overlay
Inspect · hover any element

Measure distances like in Figma

Hold Alt and hover, or press M. Pink lines show the exact distance between any two elements, including how far one sits from its container’s edges.

  • Click to pin as many measurements as you need
  • Shift+C copies them all as a spec
Measure · hold Alt and hover

Audit a page’s spacing in one key

Press A. The audit reads every margin, padding and gap, detects the 4px or 8px grid you meant to use, scores the page from 0 to 100 and lists every value that drifted off it, with the fix.

  • Copy every fix as CSS, or export a JSON report
  • This page scores 100. Check it yourself.
Spacing Audit · press A

Copy what you see as CSS or Tailwind

Press C on any element. You get clean shorthand CSS, rem values, or the Tailwind classes that reproduce it, ready to paste into your code.

  • Units switch between px, rem and Tailwind
  • Works on any site, including localhost
Copy · press C

How it works

From install to shipped in a minute.

  1. 01

    Add it to Chrome

    Install free from the Chrome Web Store. No account, no setup.

  2. 02

    Hover anything

    Press Alt+Shift+S, then hover. Margin, border, padding and gaps appear with their values.

  3. 03

    Measure and audit

    Hold Alt to measure between elements. Press A for the page’s spacing score.

  4. 04

    Copy and ship

    Press C to copy CSS or Tailwind, or copy every audit fix at once.

Built for your keyboard.

Every action is one key away, so your hands stay where the work is. Press a key: it lights up.

  • IInspect
  • MMeasure
  • AAudit
  • PPin
  • CCopy
  • GGrid
  • UUnits
  • AltHold to measure
  • ↑ ↓Parent · child
  • EscStep back

Compared

Spacing Inspector vs Chrome DevTools

DevTools is a full toolbox. Spacing Inspector does one job, spacing, and does it faster.

Feature comparison between Spacing Inspector and Chrome DevTools
FeatureSpacing InspectorChrome DevTools
Hover to see spacing, no clicksNo
Margin, padding, border and gap drawn on the pageNo
Values labelled on all four sidesNo
Distance between any two elementsNo
Spacing score for a whole pageNo
Copy spacing as Tailwind classesNo
Edit CSS liveNo

FAQ

Questions, answered.

Everything people ask before they add it.

What is Spacing Inspector?

Spacing Inspector is a free Chrome extension that shows the CSS box model of any element you hover: margin, border, padding, content and flex or grid gaps, with the pixel value on every side. Version 2.0 adds a Figma-style measure tool, a spacing audit that scores a whole page, and one-key copy as CSS, rem or Tailwind.

Is Spacing Inspector free?

Yes. Every feature is free, with no account, no trial and no paid tier.

Does Spacing Inspector collect my data?

No. It runs entirely in your browser and sends nothing to any server. Your settings sync through your own Chrome profile.

How do I inspect margin and padding on a website?

Install Spacing Inspector, open any page and press Alt+Shift+S (or click the toolbar icon). Hover an element: margin shows in blue, padding in green, border in yellow and gaps as purple stripes, each labelled with its value.

How does the spacing score work?

Press A to run the Spacing Audit. It reads every margin, padding and gap on the page, detects whether the design uses a 4px or 8px grid, and scores from 0 to 100 how many values sit on it. Every off-grid value is listed with a suggested fix you can copy as CSS.

Can I copy spacing as Tailwind classes?

Yes. Press C on any element to copy its spacing as shorthand CSS, rem values or Tailwind classes such as mt-8 py-3.5 px-7.

Does it work on localhost and in other browsers?

It works on any http or https page, including your local dev server. It runs in Chrome and in Chromium browsers that install from the Chrome Web Store, such as Microsoft Edge, Brave and Arc.

Stop eyeballing. Start measuring.

Join 858 people who see every margin, padding and gap.

Add to Chrome, it’s free