Non-boolean format expected
Some consumers need strict `true` / `false`.
Fix: Pick the `true / false` format.
Search tools and pages.
Flip a virtual coin — outputs true/false, yes/no, heads/tails, 1/0, or on/off
Output will appear here...
content bottom • up to 300x250
sidebar • 160x600
Written by Giorgos Kostas. 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.
5
heads tails tails heads tails
Some consumers need strict `true` / `false`.
Fix: Pick the `true / false` format.
Each output is 50/50.
Fix: Combine with Decimal tool if you need weighted chance.
Yes — each value is independently sampled with 0.5 probability.
true/false, yes/no, heads/tails, 1/0, on/off.
Up to 10,000 values.
Not in this tool — use Decimal + threshold for weighted outcomes.
No — each flip is decided locally in your browser.
Pair with coin-flip, dice, and decimal tools. You can also browse the full Random Content Generators category for more options.
Flip one coin or simulate up to 1000 flips with heads / tails counts and percentages
Roll any combination of dice using d-notation (e.g. 1d20+3, 4d6) with summed results
Generate random decimal numbers in a min/max range with configurable precision
Generate random numbers
Generate random binary (0/1) strings of any length — handy for logic simulations and tests
Pick one or many items from a list — with or without repeats — for raffles, decisions, and sampling
Generate random dates
Generate random IP addresses
Randomise the order of lines in any multi-line text
Generate strong passwords with adjustable length and character types. Includes a real-time strength meter and copy button for quick password creation.
Generate UUID v4 (random) identifiers
Randomly reorder the words in a sentence while preserving spacing