GenerateRandomSearch

Fictional Law Generator

Draws one invented law or custom from a small, hand-written set of ten — usable in any genre of fiction, since none of them name a specific fantasy or sci-fi setting to tie them to.

What this generator does

Draws an invented law or custom for a setting. A law is a compressed piece of history — somebody had to have done the thing for it to be banned — so a single odd statute implies a past event, an authority that cared, and a population that had to be told.

What you'll get

This generator draws from a hand-checked list of 10 entries. Here is a spread of 6 of them, so you can see the style before you generate:

  • It's illegal to be the last person to leave a funeral.
  • Every debt must be repaid before the next full moon.
  • Strangers must be fed before they're questioned.
  • It's forbidden to light a fire after the harvest bell rings.
  • Every dispute must be settled by the eldest present, no exceptions.
  • Bread may not be sold on the day it was baked.

A fixed sample of the list, not a live draw — your own results are picked at random from all 10, without repeating until the list runs out. Original HEKNO-curated fictional law/custom worldbuilding prompts. Last reviewed 2026-08-17.

How to use this tool

  1. Press generate for a law.
  2. Weave it into your world, or generate again for another one.

Worked examples

Decide who breaks it
Work out who breaks the law routinely and what happens to them, rather than leaving it as background colour. A law nobody breaks is set dressing; one selectively enforced tells the reader how the place actually works.

Common use cases

  • Worldbuilding for any genre of fiction
  • Speculative-fiction writing prompts
  • Game/campaign setting design

How this generator works

Draws one line from a small, hand-written set of ten invented laws and customs, each written to imply a history behind it — an event that caused it, an authority that enforced it — rather than as a standalone rule.

Randomness and fairness

A seed word switches to a deterministic, non-cryptographic draw, so a law already written into a setting's history can be found again by that word rather than re-typed from memory.

For how randomness is produced across the whole site, see how Generate Random works.

Limitations and good to know

  • Ten laws is a small set for one sitting; it's built to spark a single detail rather than to furnish a whole legal code.
  • None of the laws are tied to a genre or technology level, so most will need adapting to fit the specific world you're building.

Practical tips

  • Decide who breaks it routinely and what happens to them. A law nobody breaks is set dressing; a law selectively enforced tells the reader how the place actually works.