A free menu bar app for Mac

Drag it up.Get it back smaller.

Fling any file toward the top of your screen. A drop card slides out, catches it and hands back something lighter, ready to send. Videos, photos, PDFs, decks, audio, whole folders.

Free & open sourcemacOS 14+Apple silicon & IntelWorks offline
play with it
−86% screen recording −70% pitch deck −82% WAV interview −58% PNG, lossless −81% SVG logo 1 zip from 40 files 0 pixels changed −55% TIFF → PNG 0 uploads
Live demo

Go on. Drag something up.

This is a pretend Mac. Grab a file, pull it toward the menu bar and let go on the card. Pick several (⇧-click) and you get to choose: one zip, or shrink each.

0 KBsaved in this demo
nothing shrunk yet
⇧-click to pick severalTry the folderShrink a result again 😏

What it shrinks

One gesture.
The right trick for every file.

ShrinkRay looks at what you dropped and picks the tool a pro would. You don't choose codecs. You just let go.

−86%
movmp4mkvwebmavi

Videos

Re-encoded to an MP4 that plays everywhere: H.264 or HEVC through ffmpeg when it's installed, Apple's hardware encoder when it isn't. HDR is tone mapped, rotation baked in, and it starts streaming instantly. If it wouldn't get meaningfully smaller, you keep the original.

before
248 MB
after
34.7 MB
−58%
pngjpggif

Images, lossless

The ImageOptim recipe: oxipng, jpegtran and gifsicle. Not one pixel changes. Junk metadata goes, colour profiles stay.

before
4.2 MB
after
1.8 MB
−70%
pptxdocxxlsxkeyepub

Decks & docs

Every image inside is optimized, then the file is repacked at maximum compression. It still opens exactly the same.

before
38.4 MB
after
11.5 MB
−82%
wavaiff

Audio

To AAC at 256 kbps (you won't hear the difference) or Apple Lossless (bit-perfect, about 45% smaller).

before
92.1 MB
after
16.7 MB
−18%
pdf

PDFs

Lossless restructuring by default. Want more? Downsample images to 150 or 72 dpi with Ghostscript.

before
14.8 MB
after
12.1 MB
−81%
svgtiffbmpheic

The odd ones

SVGs lose editor junk. TIFF and BMP become pixel-identical PNGs. HEIC can turn into JPEG for people without iPhones.

before
48 KB
after
9 KB
1 zip
foldersseveral filesanything else

Many files? One tidy zip.

Drop a pile and the card splits in two: Zip ’em or Shrink each. Zips come out clean, with no .DS_Store or __MACOSX litter, the contents optimized losslessly on the way in, and Finder opens with the zip already selected.

before
56.0 MB
after
31.0 MB
Low drama

Smaller, never worse.

A compressor you have to double-check isn't saving you time. So ShrinkRay is careful by default.

Originals stay put

You get name (optimized) next to the original. Prefer replacing? The original goes to the Trash, never into the void.

Lossless where it counts

Images, PDFs and documents are only repacked. Checksums prove BMP and TIFF conversions are pixel-identical.

Never bigger

If the result isn't meaningfully smaller, ShrinkRay throws it away and says so. No "optimized" files that grew.

Nothing leaves your Mac

All the work happens on your machine, with open-source tools. No account, no upload, no tracking.

Simple settings

Three choices.
Then forget it exists.

The defaults are good. When you want control, it's there: codecs, image modes, PDF strength, zip contents, replace or keep. Try the quality picker:

Recording
248 MB
Balanced
34.7 MB

Looks like the original at a fraction of the size. Keeps resolution up to 4K.

General

Get ShrinkRay

Free, open source, about 4 MB. It sits in your menu bar and uses nothing until you drop something.

Or paste this into Terminal. It verifies the download and skips the security dialog.
curl -fsSL https://shrinkray.oknice.dev/install.sh | bash

macOS 14 Sonoma or later · Apple silicon and Intel · Read the install script · Updates install from inside the app

  1. Open the DMG and drag ShrinkRay onto Applications.
  2. First launch only: if macOS says it can't check the app, open System Settings → Privacy & Security and click Open Anyway. (The Terminal command skips this.)
  3. Drag any file to the top of your screen. OK, nice!
Questions

Fair questions.

Does it need ffmpeg?

No. Without it, videos go through Apple's built-in hardware encoder, which is fast and good. With ffmpeg (a one-click, roughly 90 MB opt-in in Settings) files come out about 30% smaller at the same quality. If you already have ffmpeg through Homebrew, ShrinkRay finds and uses it.

What gets installed on first launch?

A handful of small open-source helpers: oxipng, pngquant, gifsicle and qpdf, through Homebrew if you have it, or downloaded straight into ShrinkRay's own folder if you don't. Bigger tools such as ffmpeg and Ghostscript are always opt-in.

Where does the smaller file go?

Next to the original, as name (optimized). Files dragged out of Photos or Mail land in Downloads. Zips are revealed in Finder. You can switch to replacing originals, which moves them to the Trash.

Is it really lossless for images?

By default, yes: PNGs are recompressed with oxipng and JPEGs are rewritten with jpegtran, which reorganizes the data without decoding it. Not one pixel changes. There's an optional "Smaller" mode that uses pngquant for much smaller PNGs with a reduced palette.

What if I don't like the drop zone at the top?

You can also drop files on the menu bar icon, or open them with ShrinkRay from Finder. There's even a command line: ShrinkRay --optimize file.mov.

Why does macOS warn me the first time?

ShrinkRay isn't notarized by Apple yet, so the first launch from the DMG needs one click in Privacy & Security. The Terminal command above installs without that dialog: it downloads from GitHub over HTTPS and checks the checksum, the bundle ID and the code signature first.