Advertisements

headerup to 320x100 / 728x90

Random Boolean Generator

Flip a virtual coin — outputs true/false, yes/no, heads/tails, 1/0, or on/off

Count:
Format:
Input
Loading editor...
Output

Output will appear here...

Advertisements

content bottomup to 300x250

What is Random Boolean Generator

Last reviewed:

Random Boolean Generator produces random two-state values in your preferred format: `true / false`, `yes / no`, `heads / tails`, `1 / 0`, or `on / off`.

Handy for coin flips, decision prompts, test fixtures, and seeding toggle states in demo apps.

Why use it

  • Run a virtual coin flip.
  • Make quick yes/no decisions.
  • Seed toggle-state demos.
  • Fixture boolean columns in databases.
  • Prompt A/B user interviews.

Features

  • 5 output formats
  • 50/50 probability
  • Up to 10,000 per batch
  • Great for decisions & seeds
  • Runs offline once loaded, great for private Random Boolean

How to use Random Boolean Generator

  1. Pick format. true/false, yes/no, heads/tails, 1/0, on/off.
  2. Set count. Up to 10,000 values.
  3. Run. Copy the list.

Example (before/after)

Input

5

Output (format=heads/tails, count=5)

heads
tails
tails
heads
tails

Common errors

Non-boolean format expected

Some consumers need strict `true` / `false`.

Fix: Pick the `true / false` format.

Biased coin

Each output is 50/50.

Fix: Combine with Decimal tool if you need weighted chance.

FAQ

Is it truly 50/50?

Yes — each value is independently sampled with 0.5 probability.

Which formats are supported?

true/false, yes/no, heads/tails, 1/0, on/off.

How many per batch?

Up to 10,000 values.

Can I weight the outcome?

Not in this tool — use Decimal + threshold for weighted outcomes.

Is input uploaded?

No — each flip is decided locally in your browser.