Yes/No Oracle
Decide quickly. Reflect briefly. Move on.
- No history yet โ your next click starts it.
Explanation & Value
This Yes/No Oracle is more than just a "coin toss": it helps you step out of a ruminating loop, prototype decisions, and make your gut feeling visible. You enter a question, choose a mode, and get a clear YES or NO โ including mini-reflections, history, and fairness statistics. Important: This tool is not intended for medical, legal, or existential decisions. Use it for everyday questions, prioritization, creative blocks, or "What if...?" scenarios.
How to use the Generator (in 20 seconds)
- Phrase your question so that a YES is meaningful ("Should I study for 30 minutes today?" instead of "Should I not study?").
- Choose the Mode: "Simple" is a single toss. "Best-of-3/5" generates multiple rolls and takes the majority โ this feels more stable if you tend to doubt a single result.
- Click "Decide". The animated rolling effect creates tension, followed by the result displayed in the center.
- Do the Clarity Check: Are you relieved or disappointed? If you immediately wish it were different, that reveals more to you than the random result itself.
- Copy or share the result. You can see your last decisions in the history; the statistics show how often YES/NO has occurred.
Pro-Tips: How to ask better Yes/No questions
- Specific timeframe: "Today", "this week", "in 30 minutes".
- One action per question: not "Should I do A or B?", but two individual questions.
- If the consequences are high, use the generator only as a starting point and supplement it with facts (costs, time, risk).
- If you keep re-rolling because you don't like the result, you actually already have your answer.
- Briefly write down beforehand what "YES" or "NO" means in practice โ then the result becomes actionable.
Technical Info
When available, the generator uses crypto.getRandomValues() (stronger than Math.random),
saves history/statistics exclusively locally in the browser (localStorage), and works without external
libraries. You can fully customize the design via CSS variables or edit the texts for your branding.
FAQ
How random is the result?
If your browser supports Web Crypto, a cryptographic random value is used. This is very robust for such tools.
Without Web Crypto, the generator falls back to Math.random, which is usually sufficient for everyday use.
Do you save my questions or data on a server?
No. There is no server call. Questions, history, and counters are only stored in your browser โ and you can delete them at any time via "Reset".
Why are there Best-of-3 and Best-of-5 modes?
Many people find a single coin toss "too harsh". Multiple tosses with a majority decision reduce the feeling of random noise and provide a result that feels more consistent.
Why do you show statistics?
So you can see that the tool works fairly and that you aren't unconsciously only perceiving results that suit you. The percentage display is also a nice reality check if you feel like you "always have bad luck".
Can I change the text, colors, or fonts?
Yes. In the <style> block, you will find variables for colors, radius, shadows, and animation.
Texts (Title, Button, Notes, FAQ) are directly in the HTML and are freely editable.
What is the Yes/No Oracle?
The Yes/No Oracle is a free, browser-based decision aid that generates a clear YES or NO answer — instantly, without an account, and without sending any data to a server. Unlike a simple coin flip, it adds three layers of value: a reflection prompt after the result, a mood check that turns the emotional reaction into self-knowledge, and a fairness counter that proves the randomness is genuinely balanced over time.
The tool uses crypto.getRandomValues() (Web Crypto API) when available —
the same entropy source used in cryptography — not the weaker Math.random()
function. History and statistics are stored exclusively in your browser's localStorage.
Nothing is tracked or logged externally.
Use it for everyday decisions, creative unblocking, prioritization under uncertainty, or any situation where endless deliberation is costing you more than the decision itself is worth.
Use Cases
The Oracle works best for low-to-medium-stakes decisions where analysis paralysis is the real problem — not lack of information. Here are the most common scenarios:
Work & Productivity
Should I send this draft today? Is this task worth adding to this week's sprint? Do I need a second opinion before presenting?
Creative Blocks
Should I start a new design direction? Is this headline strong enough? Do I need one more revision or is it ready?
Scheduling & Plans
Should I go to this event? Do I take the early train or the late one? Is now a good time for this meeting?
Small Purchases
Do I actually need this tool/subscription/gadget right now? Is this worth the price at this moment?
Habit & Routines
Should I work out today or rest? Is today a good day to start that habit? Do I take a break now?
A/B & Testing
Developers and designers can use it to randomly assign direction A or B when two options are genuinely equivalent.
โ ๏ธ Not suitable for: medical decisions, legal commitments, financial contracts, or any choice with irreversible high-stakes consequences. Use verified facts and professional advice for those.
How to Use the Generator
-
Phrase your question clearly Write it so a YES is the affirmative action: "Should I send the proposal today?" — not "Should I not send it?". A clear positive framing makes the result immediately actionable.
-
Choose a mode Simple = one flip, instant result. Best‑of‑3 = three flips, majority wins — feels less arbitrary. Best‑of‑5 = five flips, highest stability. Use Best‑of‑5 when you notice you distrust a single toss.
-
Press "Decide" and read the result The animated roll creates a brief moment of anticipation. Notice your gut reaction before reading the result consciously — that split-second feeling is often your real answer.
-
Do the Mood Check After the result appears, click Relieving or Disappointing. If you feel relieved at YES, your subconscious was already leaning that way. If you feel disappointed at YES, you may have already decided NO internally.
-
Take the smallest possible next step The tool gives you a mini-impulse text. Act on the 10-minute version of the action immediately — before the decision fatigue returns.
How to Ask Better Yes/No Questions
The quality of the insight you get from the Oracle depends almost entirely on how well you phrase the question. These tips help:
โฑ Add a timeframe
"Today", "this week", "in the next 30 minutes" — specificity removes the endless deferral loop.
๐ฏ One action per question
Never ask "Should I do A or B?" — ask two separate questions. One question, one Oracle press.
๐ Write what YES means first
Before pressing Decide, write down in one sentence what a YES means in practice. This makes the result instantly actionable.
๐ Re-rolling is data
If you immediately want to re-roll after seeing the result, that impulse reveals your preference more clearly than the result itself.
โ๏ธ High stakes? Add facts
Use the Oracle as a starting point, then verify with cost, time, and risk data before committing to any significant action.
๐ Watch the stats
If you always feel like you "get the wrong answer", the fairness bar will show you the YES/NO split is actually balanced over many flips.
What to Do with the Result
The result itself is less important than your emotional reaction to it. Here is a practical guide for both outcomes:
YES
- Relieved? โ Take the smallest next step in the next 10 minutes.
- Disappointed? โ Identify the one missing condition that blocks you.
- Anxious? โ Break the action into a 10-minute mini-version first.
- Write one concrete next action before closing this tab.
NO
- Relieved? โ Deliberately decline or postpone with a clear date.
- Disappointed? โ Design a low-risk mini-version and test it instead.
- Surprised? โ Ask what you would have done if the Oracle said YES.
- A NO now is not permanent โ set a review date for the same question.
How the Oracle Works Technically
Each flip calls crypto.getRandomValues() to fill a
Uint32Array(1) and tests the least-significant bit (arr[0] & 1).
This produces a statistically uniform, cryptographically seeded bit — not a pseudo-random
sequence derived from a predictable seed like Math.random(). If the Web Crypto API
is unavailable (very old browsers), the tool falls back to Math.random() < 0.5.
In Best-of-3 mode, three independent flips are performed and the majority
(2 or 3 out of 3) determines the outcome. In Best-of-5 mode, five
flips are evaluated. The roll animation runs an additional 14 intermediate flips purely for UX
tension — only the final decide(n) call determines the real result.
All session data (YES/NO counts, last 10 history entries) is stored exclusively in
localStorage under the key lc_yn_oracle_v1. No cookies are set,
no analytics events are fired from the tool itself, and the Reset button fully removes the
stored data from your browser.
Frequently Asked Questions
Is the result truly random or biased?
The result is cryptographically random when crypto.getRandomValues() is
available (all modern browsers since 2015). Over many flips you will observe a roughly
50/50 split — the fairness bar in the tool visualizes this live. No outcome is
weighted or influenced by your question text.
What is the difference between the three modes?
Simple performs one flip — fastest and most decisive. A single bit of randomness. Best-of-3 performs three independent flips; the majority wins (2 YES > 1 NO = YES). Best-of-5 performs five flips; the majority wins again. More flips do not change the true 50/50 probability, but they reduce the "unfair single toss" feeling for users who tend to distrust one-flip results.
Do you save my questions or any personal data on a server?
No server is ever involved. The tool runs 100% in your browser. Your question text,
results, history, and counters are stored only in your browser's
localStorage on your device. You can delete everything at any time with the
Reset button. Clearing your browser data also removes all stored Oracle
data.
Why does the tool show a "Mood Check" after the result?
The mood check is the most psychologically valuable part of the Oracle. Your immediate emotional reaction to the result — relief vs. disappointment — often reveals a preference you were not consciously aware of. If you feel relieved at YES, your subconscious had already decided. If you feel disappointed, you may have been hoping for NO. The tool uses this to give you a targeted reflection prompt rather than a generic response.
Why does the history only show the last 10 decisions?
The history list is deliberately limited to 10 entries to keep localStorage
usage minimal and prevent the list from growing unmanaged. The fairness statistics (total
YES/NO counts) continue to accumulate beyond 10 and are stored alongside the capped history
array. If you need a longer log, copy each result immediately after it appears using the
Copy button.
Does the tool work offline or without internet?
Yes — once the page has loaded, the Yes/No Oracle requires no internet connection to function. All logic runs in JavaScript in your browser tab. The only network dependency is the initial page load. If your device goes offline after loading, the tool continues to work normally.
Can I use this tool on mobile?
Yes. The layout is fully responsive with a single-column stack on narrow screens.
All buttons are touch-friendly (minimum 44px tap target), the input field triggers a
standard mobile keyboard, and the roll animation is lightweight enough to run smoothly
on mid-range Android and iOS devices. The prefers-reduced-motion media
query disables animations for users who have enabled that accessibility setting.
Can I embed or customize the Oracle on my own website?
The tool is free to use on LocalCalcs. The CSS uses the
.lc-yn prefix throughout, so all styles are scoped and will not conflict
with your existing stylesheet. Colors, fonts, and animation speed are controlled via CSS
custom properties (variables) in the .lc-yn root block — edit
--lc-accent, --lc-yes, and --lc-no to match your
brand in seconds. Button labels, heading text, FAQ content, and micro-copy are plain HTML
— edit freely without touching the JavaScript logic.
Embed this Calculator on Your Website
You can integrate this calculator for free into your own website. Get the embed code on our overview page.