← Back to all articles

How to randomize photos on Mac (4 ways, free and paid)

Four ways to randomize photos on Mac, from a free shell script to Apple's built-in Photo Wall to dedicated apps. Honest comparisons, no fluff.

Draft · not yet published

You have years of photos sitting on a drive somewhere. Maybe several drives. You'd like to see them again — not in date order, not in folder order, just a stream of moments pulled from across the whole archive. Something surprises you, you stop, you look. Then back to the stream.

That's what it means to randomize photos on Mac, and it's harder than it sounds. Apple's tools assume your photos live in a single library. Most third-party apps assume the same. The moment your archive lives across multiple drives, network shares, or a NAS, the standard tools start failing in small but frustrating ways.

This article walks through four ways to do it: a free script for technical users, two built-in macOS options that work for narrow cases, and a dedicated app for the broader case. The honest answer is that the right tool depends on where your photos actually live and how much friction you're willing to accept.

Why people want random photo viewing in the first place

Most people don't search for "how to randomize photos on Mac" because they want a screensaver. They search because they have a feeling: that there are good photos buried in their archive that they never see. Birthdays from a decade ago. A dog who isn't around anymore. A version of their kids that no longer exists.

Browsing in folder order doesn't surface those moments — it just shows you the most recent thing, then the second-most recent thing, and so on. Random viewing is closer to channel-surfing through your own past. You let the archive decide what comes next, and once in a while it lands on something that catches your breath.

The four methods below all do the same basic thing — pick a random photo and show it to you — but they differ wildly in setup cost, where they pull from, and what you can do with the result.

Method 1: macOS built-in Photo Wall screensaver

macOS includes a screensaver called Photo Wall (System Settings → Screen Saver → Photo Wall, or "Photos" depending on your macOS version). Point it at a folder and your Mac will display a random arrangement when idle.

What it does well: it's free, it's local, and it doesn't require installing anything. If you have one folder you want to surface and you're fine with random photos appearing only when you walk away from your Mac, this is the simplest answer.

What it doesn't do: multiple folders. The Photo Wall screensaver wants one source. If your photos live across an internal drive plus a "Pictures Archive" external plus a "Old Mac" NAS share, you can't combine them. It also can't drill in — when a photo catches your eye, you wake the Mac and the moment is gone. And it's strictly passive; there's no way to interact with the surfacing photos beyond watching them.

For many people, that's enough. For people with archives spanning multiple drives or who want the photos to be viewable while they work, it isn't.

Method 2: Photos.app slideshow

The Photos app on Mac has a built-in slideshow (select photos → File → Play Slideshow) that supports a "Shuffle" toggle in the slideshow options.

What it does well: if your photos are already in your Photos library, this is one click. The slideshow looks polished, transitions are smooth, and it works.

What it doesn't do: photos outside the Photos library. If you've never imported your archive into Photos — because it's 200,000 RAW files and you've never been brave enough — this method shows you nothing. Importing a multi-decade archive into Photos is a project, not a click. Photos also doesn't randomize across the whole library at once; it shuffles within whatever you've selected.

This method is great if your archive is already organized into Photos. It's not the answer for the "I have drives" person.

Method 3: A free shell script

For technical users, you can randomize photos on Mac with two lines of shell:

find /Volumes/PhotoArchive -type f \( -iname "*.jpg" -o -iname "*.heic" -o -iname "*.cr2" \) | shuf | head -1 | xargs qlmanage -p

find walks the directory tree and lists every photo. shuf randomizes the list. head -1 takes the first one. qlmanage -p opens it in Quick Look.

What it does well: it's free, it's truly local, you control everything, and you can find across multiple mount points by listing them all in the command. Wrap it in a while true; sleep 5; ...; done loop and you have a poor-person's slideshow.

What it doesn't do: gracefully. Quick Look isn't designed for slideshow loops; it'll flicker between images. Network drives are slow because find scans every time. There's no UI for "go back to the previous one" or "show me more from this folder." You can't easily exclude a directory. RAW files may or may not preview depending on whether macOS has the codec installed for that camera. And if you've never used the terminal before, this is a steep learning curve for a use case that should be fun.

It's the right answer for the person who already lives in a terminal. For most people it's an interesting demonstration of how simple the underlying problem is, not a tool they'd actually use daily.

Method 4: A dedicated app (Rando)

The reason a dedicated app exists for this — disclosure: we make one — is that the previous three methods all break in the same place. They handle one source, or they handle no interaction, or they handle nothing beyond the basic case. The actual problem most people have is: my photos are in many places, I want to see them randomly, and I want to stop and explore when something interests me.

Rando is built around that workflow. You point it at any number of folders — internal drives, externals, NAS shares, USB sticks, Apple Photos albums — and it builds a single randomized pool. Hit Randomize, photos surface from across everything you've selected. Right-click a photo and you can drill into just that folder to explore the surrounding moments, then zoom back out to the random pool when you're done. It runs slideshows on multiple displays simultaneously, with different photos on each screen if you want.

What it does well: handles the multi-drive case without copying photos anywhere. Scans at the filesystem level, so loading 50,000 photos takes seconds rather than minutes. Reads RAW formats from most cameras (NEF, CR2, ARW, RAF, DNG, more). Doesn't upload anything — works fully offline.

What it doesn't do: organize your photos. It's not a Lightroom replacement. It doesn't edit, doesn't rate, doesn't tag automatically. It surfaces photos and lets you explore them; the organization is whatever you already have.

There's a 7-day free trial, then $4.99/month, $49.99/year (saves ~17%), or $109 one-time for lifetime access. Same product on Mac and Windows under one subscription.

Comparison table

Method Cost Multi-folder Multi-display Drill-in Setup
Photo Wall screensaver Free No One No 1 minute
Photos.app slideshow Free Library only One No Depends on whether you've imported
Shell script Free Yes (manual) No No Steep if new to terminal
Rando Free trial, then paid Yes Yes Yes 2 minutes

Which one to pick

If you have a single folder of photos and you mostly want a screensaver: use Photo Wall. It's already on your Mac.

If your photos live in the Photos app and you want a slideshow during a dinner party: use Photos.app. The shuffle option is right there.

If you live in a terminal and want to prototype: the shell script is fine. You'll outgrow it the first time you want to navigate backward.

If your photos live across multiple drives and you want a real, interactive way to rediscover them: a dedicated app like Rando is built for exactly that. (Also available for Windows.)

A note on what comes after randomizing

Random surfacing is the easy part. The hard part — and the part that determines whether you keep using whatever tool you pick — is what happens after a photo catches your eye. Can you explore that moment without losing your random place? Can you get back to the random stream without restarting? Can you do this on a second monitor while you work?

Those questions are more important than which tool generates the random number. Most of the abandoned screensaver setups I've seen failed not at the randomizing step but at the "what now?" step. A photo from 2011 of a cat that died in 2017 surfaces. You want to see the rest of that day. You can't. The moment passes.

If you've already got a tool that handles the surfacing well, you're most of the way there. If you don't, pick one designed around the whole loop — surfacing, exploring, and getting back — rather than just the first step.

Related reading


Try Rando free for 7 days: http://randopicker.com/?utm_source=blog&utm_medium=organic&utm_campaign=randomize-photos-on-mac

Your photos. Rediscovered.

Bring back the moments that mattered. Randomly, daily, privately.

Download Rando

macOS 12+ · Windows 10+ · 7-day free trial