PixelMark Download
PixelMark app icon

Measure anything on your screen.Free and open source.

Press ⇧⌘2 and point. PixelMark finds the edges around the pointer and shows the size between them. Drag a box and it snaps to whatever is inside.

macOS 26 or later · Apple silicon and Intel · Signed and notarized

Try it here

Hover over this window, drag a box around something, or click to pin. The app does the same thing with real pixels, anywhere on your Mac.

Good morning, Ava

Here’s what’s happening today.

New Project
Active projects24+3 this week
Open tasks12812 due today
Velocity92%+8%
This demo measures page elements; the app measures pixels.

Everything you need to check a layout

PixelMark freezes the screen for a moment and reads its pixels, so it works on anything: apps, websites, design files, images and video.

Edge distances

Lines run from the pointer to the nearest edge in each direction, labeled with the size between them.

Boxes that snap

Drag around an element and the box shrinks to fit its content. Turn on aspect ratios (A) and positions (P); boxes of the same size get an = mark.

Spacing and padding

Hold ⌥ over a box to see the gaps to its neighbors, or ⌃ to see the padding around what's inside it.

Guides

Press H or V to drop a guide, or add ⇧ to put it through the middle of a box. Neighboring guides show the distance between them.

Loupe and colors

See the pixels under the pointer up close, and zoom with Z. C copies a color as hex, RGB, HSL or SwiftUI.

Copy and save

⌘C copies a size as 320 × 48, CSS or SwiftUI, and ⌥⌘C copies every measurement. ⌘S saves a screenshot with your marks.

Points or pixels

Points match your design files; pixels are the device pixels on a Retina display. Press U to switch.

Adjustable tolerance

Ignore shadows and anti-aliasing, or stop at a faint 1 px border. Press [ and ] while measuring.

Rulers and grid

R adds rulers along the screen edges. G lays an 8 pt grid over the screen, starting at the box under the pointer.

Point to point

Hold ⌘ and drag to measure the straight-line distance and angle between any two points.

Contrast

Press K on one color, then point at another to see their WCAG contrast ratio and rating.

Private

No account, analytics or network access. The screen image is discarded when you press Esc.

Shortcuts

Press ? while measuring to see them on screen.

⇧⌘2Start measuring, from any app
DragBox that snaps to its content
⇧ DragFree box
⌘ DragLine between two points
Click SpacePin the current measurement
⌥Spacing around the hovered box
⌃Padding inside the hovered box
H VHorizontal or vertical guide (⇧ through a box's center)
← → ↑ ↓Move the pointer 1 px (⇧ for 10)
R GRulers, layout grid
A PAspect ratios, positions
Z LLoupe zoom, show or hide the loupe
⌘CCopy dimensions
⌥⌘CCopy every measurement
C ⇧CCopy the color under the pointer, change its format
KCheck contrast against this color
⌘S ⇧⌘SScreenshot, or just the measured area
⌘Z ⇧⌘ZUndo, redo
XClear everything
[ ]Edge tolerance
UPoints or pixels
MMark color
?Every shortcut
EscDone

Questions

Why does it need Screen Recording permission?

To find edges it has to read the pixels on screen. Each time you press the shortcut it takes one still image per display, measures against it, and discards it when you finish. Nothing is saved or sent anywhere unless you press ⌘S.

Is it free?

Yes. It's open source under the MIT License, with no trial or account.

How does it compare to PixelSnap?

PixelSnap inspired it and is a great app. PixelMark covers the same core workflow (edge measuring, snapping boxes, spacing, guides, rulers and screenshots), adds padding, point-to-point lines, a contrast checker, a zoomable loupe and CSS or SwiftUI copy formats, and is free to use and modify.

Which Macs does it support?

macOS 26 or later, on Apple silicon and Intel. It's signed with a Developer ID and notarized by Apple, so it opens without warnings.

A measurement stops too early, or skips an edge.

Adjust the edge tolerance. ] raises it so subtle shadows and gradients are ignored; [ lowers it so faint borders count. The default of 12 suits most interfaces.

How do I build it?

Clone the repository, run brew install xcodegen and xcodegen generate, then open PixelMark.xcodeproj in Xcode 26 or later.

Get PixelMark

Free for macOS 26 or later. It lives in your menu bar.

Download for Mac