Skip to content
Defragment
An ambient toy for iPhone and iPad

Calm squares that tidy up.

Remember watching the disk defragmenter for hours? Defragment brings it back as a full-screen grid of little squares that tidies itself up, forever. Nothing real is moved — it just looks busy, so you don't have to be.

Coming soon to the App StoreTry the themes

Free · iPhone and iPad · iOS and iPadOS 17 or later · optional Plus upgrade

  • No data collected
  • No account
  • Works offline
  • English and Czech
0%Defragmenting

Talking the resistors out of their resistance

  • Talking the resistors out of their resistance
  • Blowing into the floppy drive
  • Feeding the daemons
  • Oiling the lid hinges
  • Cleaning the mouse ball
  • Figuring out how to quit vi
  • Untangling the headphone cable
  • Moving jumpers on the motherboard
  • Laying zombie processes to rest
  • Sewing loose bytes back on
  • Looking for the Turbo button
  • Compiling the kernel. Again.
  • Tuning the strings in the antenna
  • Degaussing the monitor
  • Counting inodes
  • Balancing the gyroscope
  • Rewinding the tape with a pencil
  • Grepping for the meaning of life
  • Stretching the transistors
  • Installing from 24 floppies, 23 to go
  • Reading the manual. Finally.
  • Tucking in stray pixels
  • Setting IRQ and DMA
  • Pinging outer space
  • Tuning the vibrations to the right frequency
  • Assuming 640 KB will be enough
  • Convincing make that everything is up to date
  • Trimming unnecessary decimal places
  • Waiting for the modem to finish its song
  • Waiting for fsck
  • Waking up sleepy transistors
  • Flicking the write-protect tab
  • Setting the terminal to 80 columns
  • Polishing the connector pins
  • Tidying a desktop full of icons
  • Converting tabs to spaces and back
Themes

Six themes. The whole page follows.

Pick one and this site re-skins itself, the way the app does. Your choice is remembered next time you visit.

How it works

What you're looking at

A pretend disk. Nothing on your device is read, written or moved, but the squares follow the rules of a real defragmenter.

  1. 1. Analyze

    The disk map fills in row by row, from the top down.

  2. 2. Read

    One to five fragments light up green and shrink as the head picks them up — from anywhere on the disk.

  3. 3. Write

    They land at the front of the disk in yellow, grow and glow, then settle as tidy data. Whatever sat there moves to where they came from.

  4. 4. Repeat

    Until there is nothing left to tidy. A short pause, then a brand-new mess.

  • Free space
  • Fragmented data
  • Tidy data
  • Unmovable
  • Reading
  • Writing
Classic 98

For everyone who watched it for hours.

Classic 98 is the theme for the late nineties: dialog grey, square blocks that change colour instantly, a chunky navy progress bar and a drive called Drive C. The jokes go retro too.

The real dialog never told jokes. This one does.

Defragmenting Drive C
Defragmenting file system…0% complete
Details: Blowing into the floppy drive
Try it

Give it a shake.

In the app you give the device a shake for a new mess. Here a button will have to do. The rest works like the app, in whichever theme you picked.

0%Defragmenting

Talking the resistors out of their resistance

Speed
Squares
Show

On a real iPhone every write also taps your hand: lightly for one block, firmly for five. iPads have no Taptic Engine, so there it is just the squares.

Endless mode

It never has to finish.

When the top row is completely tidy it flashes, disappears, and everything slides up a row while a new messy row arrives at the bottom — like a finished line in Tetris.

  • No progress bar, because there is no end.
  • Data that leaves with a row is topped up with fresh fragments further down, so the disk never runs dry.
  • Leave it running all afternoon. It will still be busy.
↑ Watch the top rowRows cleared: 0
Phosphor & Amber

For people who think in 80 columns.

Two terminal themes, monospaced from the percentage down to the quips — green or amber, like the monitor you had. They come with their own jokes.

defragment — 80×24

$ defrag --forever /dev/squares

Analyzing disk… ok

Features

Small app. Lots of little squares.

Everything in the free app. No ads, no sign-up, nothing to configure unless you want to.

  • Six themes

    Midnight, Daylight, Graphite, Classic 98, Phosphor and Amber.

  • Three speeds

    Calm, Normal or Brisk — for staring, glancing or showing off.

  • Square sizes

    Small, medium or large, from a dense map to chunky blocks.

  • Endless mode

    Tidy rows vanish Tetris-style and the disk never finishes.

  • Time and date

    A calm clock for the desk or the bedside table.

  • Quips

    An animated “Defragmenting…” and about 80 rotating jokes where the file names used to be. Switch them off for peace and quiet.

  • Haptics that follow the head

    On iPhone, a light tap when one block is written and a firm one for five. (iPads have no Taptic Engine.)

  • Shake for a new mess

    Throw everything around and watch it tidy up all over again.

  • Keeps the screen awake

    The display stays on while it runs, so it works as a desk toy.

  • English and Czech

    The whole app, every quip included.

  • Private by design

    No data collected, no accounts, works offline — and nothing on your device is actually moved.

  • iPhone and iPad

    Bigger squares on iPad, in Split View and Stage Manager too. Propped up on a stand it makes a big ambient screen.

Defragment Plus

More colour for the tidy-minded.

Plus will be a one-time in-app purchase — no subscription. It adds special sectors, five more themes and a few extras. It's being built right now.

Special sectors

  • Bad sectors

    Red and crossed out. The head steps around them, and now and then a new one turns up.

  • Golden clusters

    Secret and rare. They sparkle when they get moved.

  • Lost clusters

    Violet strays that get found and put back where they belong.

  • Swap file

    A cyan block that breathes, slowly, all day long.

And a few extras

Quip pack: Household chores

30 household chores mixed in with the theme's own quips. Switch the pack off if you'd rather keep the originals.

Your logo in squares Coming

A company logo or a word in the middle of the disk, made of squares — for the office screen.

Tip jar

Optional. If Defragment made your desk calmer, you can buy the developer a coffee.

DefragmentingPaper · 0%

Five more themes

Tap one to try it on the disk above.

Plus is still being built, so the details may change before it ships. The free app is complete without it.

Support

Questions, answered.

Does it actually defragment my iPhone or iPad?

No. Nothing real is read, written or moved — the disk is pretend. Your device's storage doesn't need defragmenting anyway; this is purely for looking at.

Does it collect any data?

No. No analytics, no advertising and no account, and it works offline. Purchases are handled by Apple. The privacy policy has the details.

Does it make any sound?

No, it's silent. On iPhone the haptics do the clicking: the more blocks written at once, the firmer the tap, and you can turn them down or off. iPads have no Taptic Engine, so there it doesn't tap at all.

What is Defragment Plus?

A one-time in-app purchase with special sectors, five more themes, a quip pack of household chores, a logo or text made of squares, and an optional tip jar. It's being built right now. The free app is complete without it.

Which devices does it run on?

iPhone and iPad, with iOS or iPadOS 17 or later. On iPad the squares are bigger, and it works in Split View and Stage Manager.

Can I slow it down or turn off the jokes?

Yes. There are three speeds and three square sizes, and switches for the quips, the progress line, the clock, endless mode, haptics, shaking and keeping the screen awake.

Calm squares, whenever you need them.

Free for iPhone and iPad. Prop it up, pick a theme and let it tidy.

Coming soon to the App Store

Free · iPhone and iPad · iOS and iPadOS 17 or later · optional Plus upgrade