Flip a coin online
Flip a virtual coin and get heads or tails randomly and fairly, no physical coin needed.
Processed on your device. Nothing is sent to any server.
Uses the browser's cryptographic API to choose between heads and tails with exactly a 50% chance each.
Use cases
- Quickly deciding between two options.
- Drawing who goes first in a game.
- Substituting a physical coin when you don't have one handy.
How it works
- 1
Click Flip coin
The result (heads or tails) appears instantly.
Technical details
- Randomness comes from crypto.getRandomValues(), the browser's cryptographic source, with rejection sampling so no outcome is favored.
- Each flip is independent: getting heads five times in a row doesn't make tails more likely on the next one.
- Results aren't stored or sent anywhere: if you need to prove a draw to other people, run it in front of them or record the screen.
Frequently asked questions
Is the coin rigged?
No, each flip has exactly a 50% chance for each outcome, generated with the same secure randomness source as the password generator.