Author Tools

View all 49

Detective story generator

The detective story generator writes complete crime stories built around the investigator: a hard-boiled private eye, a tired police inspector or a sharp amateur who notices what others miss. Give it a case or a detective, and it closes the file by the last line.

Updated 2026-11-10

Free with an EbookMagic account. No card needed.

A complete short story from one idea.

Fill in the form and your your story appears here.

The Clockmaker's Alibi

3 min readAges 12+

Inspector Rae Okoro had one rule: never trust an alibi that's too tidy.

Benedict Hale's was immaculate. At 9pm, when his business partner was struck down in their shared workshop, Hale was across town at a dinner party with eleven witnesses. He had arrived at 8:45, he said, and the hostess confirmed it. Her grandfather clock had just chimed the three-quarter hour as he walked in.

Okoro visited the hostess. She was charming and certain. The clock was beautiful, a tall walnut case with a moon dial, and, the hostess mentioned proudly, it had been serviced only that week. By Mr Hale, as it happened. A favour.

Okoro stood in front of the clock and waited. At 4:45 by her watch, it chimed the hour.

Fifteen minutes fast. Hale had arrived at 9 o'clock, not 8:45, giving himself just enough time to have done it and driven across town.

"Clocks drift," said Hale's lawyer.

"Not this one," said Okoro, and laid the hostess's service receipt on the table. In Hale's own neat hand: Adjusted to run true. Guaranteed accurate to the minute.

What makes a detective story work

  • The detective needs a method and a flaw. How do they think, and what gets in their way?
  • Play fair with clues so the reader can solve it alongside them.
  • Interviews reveal character. Every suspect should lie about something, even if it isn't the crime.
  • Atmosphere sets the sub-genre: rain-soaked noir, a cosy village or a procedural squad room.
  • The reveal should be a single click: one detail that makes everything else fall into place.

8 detective story ideas to try

Paste any of these into the idea box above, or use them as a starting point of your own.

  • A private investigator is hired to find a man who turns out to be her client.
  • A detective with face blindness must identify a killer.
  • A police inspector's last case before retirement is the one she failed to solve thirty years ago.
  • A teenage detective investigates who's been stealing exam papers.
  • A murder at a chess tournament where every suspect is a grandmaster.
  • A detective who solves crimes by reading people's shopping lists.
  • A cold-case unit receives a confession by post, sixty years late.
  • A body is found in a locked bank vault that's been closed since Friday.

Turn your story into a book

EbookMagic expands a short story into chapters, designs the cover and exports EPUB and KDP-ready PDFs.

Start a book free

Questions people ask

What's the difference between the detective and mystery generators?
The mystery generator focuses on the puzzle. The detective generator focuses on the investigator, their method, voice and world, which suits noir, police procedurals and series characters.
Can I reuse the same detective in several stories?
Yes. Describe your detective in the idea box each time with the same name and traits, and the generator will write a new case for them.
Can it write noir?
Yes. Ask for noir in the idea box and set the mood to Dark for a first-person, rain-on-the-window private eye story.
How do I make my detective memorable?
Give them one habit, one blind spot and one rule they live by. A detective who always eats the same sandwich, can't read people's feelings and never lies is already a character readers want to follow from case to case.

More ai story generator

Keep exploring