Mystery Writing Prompt Generator

Whodunit scenarios for your detective fiction

Generates mystery writing prompts combining a victim, detective, setting, method, and twist into a coherent whodunit. Useful for crime fiction writers, creative writing classes, and mystery game designers. Runs entirely in your browser. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

How are the prompts built?

Each prompt draws one element from five themed banks — victim, detective, setting, method, and twist — and stitches them into a single sentence. The banks are written so any combination forms a coherent, usable mystery premise.

This generator assembles whodunit premises for crime and detective fiction. Each prompt gives you a victim, an investigator, a setting, a method, and a twist — the core ingredients of a classic mystery — so you can start plotting immediately.

How it works

A satisfying mystery needs five things working together. The generator keeps a themed bank for each: who died, who investigates, where it happens, how the crime was committed, and the twist that complicates the obvious solution. On each generation it draws one item from every bank using the browser’s cryptographic random number generator and stitches them into a single sentence. The banks are written so that any combination reads as a coherent, fair-play premise rather than a random word salad.

The five-element structure and why it matters

Classic mystery construction separates it from other thriller genres by its contract with the reader: the clues to the solution are present in the text, and a careful reader could — in principle — solve it before the reveal. Each of the five elements the generator provides feeds that contract:

  • The victim shapes the suspect pool and the motive landscape. A reclusive art collector attracts very different suspects than a beloved schoolteacher.
  • The investigator controls the reader’s access to information. A police detective gets access to forensics and can compel testimony; a journalist or amateur must find another way.
  • The setting defines the physical constraints. A snowbound manor means nobody can arrive or leave easily, which limits the suspect list. An urban apartment building in summer means everyone is a possibility.
  • The method sets the physical puzzle. A locked-room problem is a different kind of story from a poisoning that takes hours to act.
  • The twist is the story’s hidden skeleton. Knowing it from the beginning is what lets you plant fair clues — small details that seem innocuous on first reading but feel inevitable in retrospect.

From premise to plot

A typical generated premise might read: “A methodical insurance investigator must uncover who killed a reclusive art collector at a snowbound country manor. The crime was an impossible locked-room poisoning, but the most obvious clue was planted by the real killer.”

To turn that into a plot:

  1. Build the suspect list from the setting — who had access, who had motive? In a snowbound manor, your suspects are trapped with your investigator, which is a gift for pacing.
  2. Work backwards from the twist. If the most obvious clue was planted, who planted it? That tells you who the real killer is. From there, reconstruct a timeline of when and how they committed the crime.
  3. Distribute clues so the twist is discoverable. Each suspect scene should contain at least one genuine clue about the real killer buried among misdirection.

Tips and common mistakes

  • Generating motive is the one thing this tool does not do — the setting and victim suggest it, but you need to assign a concrete reason for each suspect to want the victim dead.
  • Avoid a twist that requires the detective to be wrong about something not in evidence. Fair-play mysteries let the reader reach the same conclusion the detective does, with the same clues.
  • If a setting and method feel mismatched, lean into the friction rather than rerolling — explaining why an unlikely method happened in an unlikely place is often where the most original mysteries are found.