Rubber Duck Debugging

Updated October 2026 · Free
Open the Rubber Duck — Free
The Rubber Duck in Mixtuby on a TV, laptop, tablet and phone — a yellow rubber duck dancing in the middle of the screen, with the music playing in the mini player
One duck on every screen, nodding along while your coding music plays.

Rubber duck debugging is the oldest trick in programming. You explain your code, line by line, to a rubber duck on your desk, and somewhere in the middle of a sentence you hear the bug yourself. Mixtuby puts a yellow rubber duck on your screen that behaves like a good listener. It nods along the whole time, on the beat when music plays. Every so often it says “Mhm”, “Go on” or “Aha!”. Squeeze it with a tap and it squeaks and asks you the next question. When you find the bug, press Found it! and it celebrates with you. Free, no account, and it never uses your microphone.

How It Works

  1. 1

    Open the Rubber Duck

    Tap the button on this page. Mixtuby opens in Vibe mode with the duck ready.

  2. 2

    Pick a duck and a soundtrack

    Ducky or DJ Quack, one of six colours and the size you like. Then a Quick Playlist — Coding, Deep Focus, Lo-Fi, Pomodoro, Piano or Jazz — or keep your own music.

  3. 3

    Tap GO

    The duck takes the middle of the screen and starts nodding, on the beat while music plays and in short, steady nods when it doesn’t.

  4. 4

    Squeeze the duck when you are stuck

    Each tap is a squeak and the next of five questions, “What should happen?” to “What will you try next?”. Answer them out loud. Meanwhile the duck keeps nodding and saying “Mhm” or “Go on” every 12 to 30 seconds.

  5. 5

    Press Found it! when you hear it

    Confetti, a squeak and a word of praise, and your bug count goes up by one. Then go fix it.

What the Duck Does While You Talk

It nods, all the time

Always

Like a friend who is listening. With music it nods on the beat; without music it nods in small bursts every few seconds, and it nods again the moment you tap it.

It says the little things

Every 12–45 s

“Mhm”, “Go on”, “Aha!”, “Nailed it” pop up around it every 12 to 30 seconds while music plays, every 20 to 45 seconds without. Enough to keep you talking, never a lecture.

It asks, when you squeeze it

On every tap

Tap the duck and it squeaks like a real rubber duck and asks the next of the five questions in the table below. Tap again for the next one.

It notices how you are doing

Every 5 minutes

Every five minutes the duck says one line that fits the moment, like slowing you down when you tap fast or going softer late at night. The line is written by an AI model from a few rough facts — the time of day, how long the duck has been open, which question you are on, how fast you tap and how many bugs you found today. Never from anything you say or type; the duck cannot hear you and has nowhere to type.

It keeps score

On Found it!

Found it! throws confetti and counts your bugs. The count stays in this browser, and follows you to every device when you are signed in.

Say It Out Loud, in This Order

SayStepExample — and what it catches
What should happen 1 “Clicking Save stores the form.” Catches a goal you never actually wrote down.
What happens instead 2 “The page reloads and the form is empty.” Catches the real symptom, not the one you assumed.
Every line, in order 3 “Here I read the user… here I…” Catches the step you skip when you read it in your head.
What you already ruled out 4 “It isn’t the database, I checked.” Catches the check you remember but never made.
Your next guess 5 “So it has to be the redirect.” Gives you one clear next test instead of random changes.

Why Talking to a Duck Works

The name comes from The Pragmatic Programmer, the 1999 book by Andrew Hunt and David Thomas, which tells of a programmer who kept a rubber duck on the desk and explained code to it, line by line. The duck does not need to understand anything. Saying each step forces you to stop skipping the ones you take for granted, and that is usually where the bug is.

Psychologists call the effect behind it self-explanation. Michelene Chi and colleagues found in 1989 (Cognitive Science) that the physics students who explained worked examples to themselves the most while studying went on to solve problems better, and a 1994 study by Chi’s group showed that simply prompting students to explain each line improved their understanding. Talking to the duck is the same habit, aimed at your own code.

Music is the other half of the page. Teresa Lesiuk followed 56 software developers for five weeks (Psychology of Music, 2005): their mood and their own rating of the quality of their work were at their lowest in the week without music. Mixtuby keeps the duck and the music on the same screen, so you do not have to choose.

Real Moments to Use It

One in the morning, one bug left

Everyone is asleep, there is no one to ask, and you have read the same function ten times. Say it out loud to the duck instead of reading it an eleventh time.

Ducky · Coding playlist

Before you post the question

Many forum questions answer themselves while they are being written. Explain the bug to the duck first; if it survives, your question will be twice as clear.

GO · say what should happen

Working from home, alone all day

No colleague at the next desk to think out loud with. The duck sits in the middle of the screen and keeps you talking, with lo-fi under it.

DJ Quack · Lo-Fi

A student before the exam

Explaining a proof or an algorithm out loud shows exactly where you stop understanding it. Better at home with a duck than in front of the examiner.

Deep Focus · explain it step by step

Writing the pull request description

Tell the duck what changed and why before you write it. If you cannot say it in two sentences, the change is probably doing two things.

Pomodoro playlist · 25 minutes

Learning a new language

Read someone else’s code to the duck, line by line, in your own words. The line you cannot explain is the one to look up.

Piano · read it line by line

Your bug, said out loud, in the next five minutes

No account, nothing to install. The duck never hears you; it just listens.

Open the Rubber Duck — Free

🎁 Pick The Perfect Gift For The People You Love

As an Amazon Associate, Mixtuby earns from qualifying purchases.

For the programmer who talks to their code. Small, a little silly, and they will use it every day.

Stay in the Loop

New playlists, features & artist drops. No spam, unsubscribe anytime.

Rubber Duck Debugging — FAQ

What is rubber duck debugging?

A way to find bugs by explaining your code, line by line, to a rubber duck. Saying every step out loud makes you notice the one that is wrong. The name comes from the book The Pragmatic Programmer.

Does the duck listen to me or record anything?

No. The Rubber Duck never asks for your microphone and nothing you say leaves your room. The nods and the “Mhm”s come on a timer, which is all a rubber duck has ever done.

How does the duck know when to say something?

It doesn’t hear you. Every five minutes it sends a few rough facts — the time of day, how long it has been open, which question you are on, how fast you tap and how many bugs you found today — and an AI model writes one short line for that moment. Nothing you say or type is ever sent.

Why does explaining code to a duck work?

When you read code in your head you skip the steps you think you know. Out loud you cannot skip them, and research on self-explanation shows that explaining step by step improves understanding.

What music is best for coding?

Music you know, without lyrics you follow, works for most people. The duck’s Quick Playlists give you Coding, Deep Focus, Lo-Fi, Pomodoro, Piano and Jazz with one tap.

Does it work without music?

Yes. Without music the duck stops dancing and simply nods along in short bursts, and its “Mhm”s come every 20 to 45 seconds.

Is it free?

Yes, free with no account. Your duck, colour, size and bug count are remembered in this browser, and your bug count follows you to every device when you sign in.

Best for Your Mood

Mixtuby — Mix. Play. Enjoy.

As an Amazon Associate, Mixtuby earns from qualifying purchases.

App Guide

Loading guide…

You're offline

Playback requires an internet connection. Your playlist and position are saved — music will resume automatically when you're back online.