Measure sizes, distances, margins and paddings of any element on any web page.

Latest Version

Version
2.4.0
Update
December 6, 2024
Size
1.97MiB
Developer
Category
Users
10,000+
Rating
4.53846 ★
Manifest Version
3
Web Store Status
Languages Support
Deutsch
English
Français
Español
русский
हिन्दी
日本語
See more
Permissions
Scripting
ActiveTab
ContextMenus
Commands
Storage
Offscreen
DeclarativeContent
SidePanel
See more

Screen Ruler - Measure The Web Extension

Screen Ruler is the perfect companion for web developers and designers wanting to validate the implementation of their websites. Once activated, Screen Ruler allows you to view the sizes, margins, paddings, tag names, IDs, and classes simply by hovering over any element. You can also select an element to measure distances to other elements.

Usage

- Toggle Screen Ruler by clicking the extension icon, selecting “Screen Ruler” from the right-click context menu, or using the shortcut `Alt/Option + Shift + R`.
- Hover over elements on web pages to display their sizes, margins, paddings, tag names, IDs, and classes.
- Select an element by clicking on it directly, this will turn the highlight red. To deselect, click again, press Escape or select a different element.
- To select the parent of an element, use `Alt/Option + Up`, moving your selection to the parent element instead, use `Alt/Option + Down` to reverse your selection.
- View the computed CSS of the currently selected element in the side panel. Click the \"Copy CSS\" button to copy the computed CSS of the currently selected item to your clipboard.

Features

- Measure the pixel size of any element.
- Measure the pixel distance between any two elements.
- HTML tag names, class names and IDs.
- Parent/child selection shortcuts.
- Responsive selections resize with your browser window.
- Access from the context menu.
- Computed CSS inspect.
- Copy CSS to clipboard.
- Works on any web page.
- Customize keyboard shortcuts by visiting `chrome://extensions/shortcuts`.

Screen Ruler PRO

Screen Ruler also offers a PRO tier which unlocks additional features.

1. Element Inspect: See an element's properties when you move your mouse over it. Includes information about element position, size, rendered font, colors and more.
2. Layout Grid: Superimpose a layout grid on top of the site to validate the alignment of your designs.
3. Capture a screenshot of the currently highlighted area by clicking the screenshot control or using the `Ctrl/Command + Shift + S` keyboard shortcut. Perfect for documentation or attaching to Github tickets.
4. See advanced properties in the browser side panel including element box model, selection colors, assets and more.

Screen Ruler PRO requires a one-off payment for lifetime access. To upgrade to PRO, click \"Upgrade to PRO\" in the context menu or right-click the extension icon for upgrade options.

Screen Ruler is Made For

- Developers: Spotting layout issues or identify alignment problems. Whether you're tweaking margins and paddings, or just making sure everything lines up correctly, Screen Ruler becomes an indispensable addition of your development toolkit.
- Designers: Ensure your designs have been implemented with pixel-perfect accuracy. Screen Ruler acts as a bridge between design and development, allowing you to check is every element aligns exactly as you intended.

Installation

- Screen Ruler is designed specifically for stability in Google Chrome 116+.
- Screen Ruler is installable on any Chromium browser however, for the best experience make sure your browser supports all the required APIs (like Side Panel and Offscreen). If there are any issues with installation, update your browser to the latest version and try again.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_EXT_NAME__", "description": "__MSG_EXT_DESCRIPTION__", "version": "2.4.0", "minimum_chrome_version": "116", "manifest_version": 3, "default_locale": "en", "permissions": [ "scripting", "activeTab", "contextMenus", "commands", "storage", "offscreen", "declarativeContent", "sidePanel" ], "optional_permissions": [ "downloads" ], "web_accessible_resources": [ { "resources": [ "scripts/patterns/*.svg" ], "matches": [ "" ] } ], "content_scripts": [ { "matches": [ "https://extensionpay.com/*" ], "js": [ "ExtPay.js" ], "run_at": "document_start" } ], "icons": { "16": "images/icon16.png", "24": "images/icon24.png", "32": "images/icon32.png", "48": "images/icon48.png", "128": "images/icon128.png" }, "background": { "service_worker": "background.js" }, "action": { "default_title": "__MSG_EXT_NAME_SHORT__" }, "commands": { "_execute_action": { "suggested_key": { "default": "Alt+Shift+R", "mac": "Alt+Shift+R" } }, "select_parent": { "suggested_key": { "default": "Alt+Up", "mac": "Alt+Up" }, "description": "Move selection to parent element." }, "select_child": { "suggested_key": { "default": "Alt+Down", "mac": "Alt+Down" }, "description": "Move selection to child element." }, "save_screenshot": { "suggested_key": { "default": "Ctrl+Shift+S", "mac": "Command+Shift+S" }, "description": "Take a screenshot of the highlighted area (PRO)." } }}
Read more