Code tool

Coin Flip

Choose a random source, optionally enter a seed, and flip a local fair coin.

In-browser processingNo account requiredPrivacy details ↗

Ready to flip.

—

Streak: 0

A QUICK WALKTHROUGH

How to use this tool

  1. Choose browser crypto for a fresh result or enter a seed for reproducible flips.
  2. Flip the coin and review the current side and streak history.
  3. Use the probability note to understand that each side is 50% per flip.

Fair two-sided result

Each flip chooses Heads or Tails with equal probability. Browser crypto randomness uses crypto.getRandomValues when available.

Optional reproducible seed

A numeric seed uses a deterministic local generator, useful for demonstrations and repeatable examples. It is not cryptographic.

GOOD TO KNOW

Common questions

What is the probability of each side?

Each independent flip has a 50% probability of Heads and a 50% probability of Tails.

Does a seed make the result secure?

No. A seed makes the sequence reproducible; choose browser crypto for fresh randomness.

Is history saved?

No. The streak history stays in this page session and is not uploaded.