QR Code Generator
Text or a link in, a QR code PNG out.
Flip a virtual coin for heads or tails at 50/50 and keep a running tally of the results. Your browser makes each random flip.
Your browser is preparing the tool. It runs 100% locally.
Click to flip and the tool lands on heads or tails with an equal 50/50 chance, keeping a running tally of how many of each you have had. Each flip is independent, so a fair coin is never 'due' for one side: a run of heads does not make tails more likely next time. The flip uses the browser's standard random generator, which is fine for settling a choice but not for anything involving money or security. All of it happens in your browser.
Press the button and the coin lands on heads or tails, each with a one-in-two chance. A tally underneath counts your heads and tails as you go, so you can watch the split over many flips.
Use it to make a fifty-fifty decision, settle a dispute or demonstrate probability without a physical coin. It never rolls under the sofa, either.
Each flip draws a random value and calls it heads if the value falls in the lower half and tails otherwise, giving each side an exact one-in-two chance. The tally adds one to whichever side came up.
Every flip is independent of the last. The coin has no memory, so after five heads in a row the next flip is still an even fifty-fifty. The results tend toward an even split only because the average settles near one-half over many flips, not because the coin corrects itself.
value below 0.5 → Heads
value of 0.5 or more → TailsEach side has an exact one-in-two chance, and every flip is independent of the last.
| Outcomes | heads or tails |
|---|---|
| Odds | exactly 50/50 |
| Tally | running count of heads and tails |
| Independence | each flip independent of the last |
| Randomness | Math.random (pseudo-random) |
| Where it runs | In your browser, nothing uploaded |
Each flip is an exact fifty-fifty and is independent of every other flip. A run of heads does not make tails more likely next time; believing it does is the gambler's fallacy.
Over many flips the proportion of heads tends toward one-half. That is the law of large numbers, and it works by averaging out over a large number of flips, not by the coin 'correcting' a recent imbalance.
It uses the browser's pseudo-random generator, which is fine for settling a choice or teaching probability, but it is not cryptographically secure, so do not use it for gambling or anything where the outcome must be unpredictable to others.
The tally counts your flips in this session only. Refreshing the page resets the counts, and the page saves nothing.
A short run of flips can look lopsided. Several heads in a row is normal in random data. The even split only emerges over many flips.
Make a quick fifty-fifty choice or break a tie.
Show how a fair coin behaves and how results even out over many flips.
Decide who goes first or which side starts.
Pick between two options at random when you cannot decide.
Need to pick among more than two options? Use the random name picker or the random number picker. Need unpredictable randomness for security? Use a cryptographic generator, not this one.
Flips an even 50/50 heads or tails from the browser's Math.random, with each flip independent of the last; it is explicit that a side is never 'due' (the gambler's fallacy), that results even out only over many flips (the law of large numbers), and that the pseudo-random source is not for gambling or security.
Text or a link in, a QR code PNG out.
Count up with laps or count down from any number of minutes.
Notes that auto-save on this device, with a .txt download.
Length, weight and volume, converted as you type.
A Code 39 barcode as a scalable SVG.
Paste a list of names and draw a winner at random.
It's free, it needs no account, and it runs on this device.