induwara.lk
induwara.lkText · Generators

Random Text Generator — random words, sentences, names & prompts

Generate random English words, sentences, paragraphs, names, or writing prompts in one click. Deterministic seed, copy-ready output, five modes. Runs entirely in your browser — no signup, no ads.

By Induwara AshinsanaUpdated May 11, 2026
Generate random text5 modes · deterministic seed

Runs entirely in your browser. Same seed always yields the same text.

Quick presets

reason above often work with friend quick sing little you

Output statistics

Words
10
Words
10
Characters
57

Words drawn from a curated English corpus (Oxford 3000 / GSL intersection). Names mix international and Sri Lankan corpora. Writing prompts are original — no AI-generated copy. Full citations below.

How it works

Five pieces work together: a curated common-English corpus, a set of grammatical sentence templates, a pair of international and Sri Lankan name banks, a bank of original writing prompts, and a small deterministic pseudo-random number generator that ties them all together. Every step is a pure function — no network calls, no local storage, no analytics on the generated text itself.

  1. Word corpus. About 553 common English tokens drawn from the intersection of the Oxford 3000 and the General Service List (West, 1953; modern ELT successor lists). All lowercase, no proper nouns, no profanity. Word mode picks n tokens uniformly at random and applies your chosen letter case — lower, Title, or UPPER.
  2. Sentence construction. Sentences are built from 18 grammatical English templates with placeholders filled from sub-banks of 121 concrete nouns, 113 present-tense verbs, 49 adjectives, and 33 adverbs. About 14% of period-ended templates have their terminator swapped for a ? or ! to add rhythm. Paragraphs string 3–6 sentences together and join with a single space; multiple paragraphs are joined with exactly one blank line (\n\n).
  3. Names. The tool ships two name corpora — an international bank (91 first names + 95 surnames) and a Sri Lankan bank (62Sinhala & Tamil first names + 46 surnames). Sri Lankan names are transliterated to plain Latin script so the output renders the same on every browser. Toggle the Sri Lankan switch to mix or unmix. The tool tracks seen full names inside a single run and retries on collisions, so duplicates are rare at counts under 100.
  4. Writing prompts. About 60 original prompts hand-written for this tool. Each is one complete English sentence ending with a period or question mark. Prompts are sampled without replacement within a single run — request 60 or more and you receive the entire bank in shuffled order. Topics span memory, character portrait, place, ritual, and craft warm-ups; nothing is AI-generated.
  5. Deterministic PRNG. The seed feeds a Mulberry32 32-bit PRNG (Ettinger, public domain). Calling generate(...) twice with the same seed and options returns byte-identical output. The seed is shown next to the action row so you can copy it down and reproduce a particular run later — useful for snapshot tests, design-system docs, and reproducible bug reports.

Verification: on every render the page calls verifyDeterministic() which generates the same options with the same seed twice and compares the strings character by character. When both runs match, the “Verified · deterministic” badge lights up in the card header. Counts are also clamped to per-mode limits (1,000 words / 200 sentences / 50 paragraphs / 200 names / 50 prompts) so very large inputs never lock the tab.

Worked examples

Example

Five random words, lowercase (seed 1)

  1. Mode: words · Count: 5 · Case: lower · Seed: 1
  2. PRNG draws 5 token indices from the 320-word corpus
  3. Sample output: "light morning bring valley quiet"
  4. Joined with single spaces; no punctuation
  5. Word count = 5, character count = 28

Example

Three random sentences (seed 42)

  1. Mode: sentences · Count: 3 · Seed: 42
  2. PRNG picks 3 templates from the 18-template bank
  3. For each template, sub-banks fill {n}, {v}, {a}, {av}
  4. About 14% of period terminators get swapped to ? or !
  5. Sentences joined by single spaces — no \n inside output

Example

Ten Sri Lankan + international names (seed 99)

  1. Mode: names · Count: 10 · Include SL: on · Seed: 99
  2. Pools merge: 80 intl + 60 SL first names; 95 intl + 45 SL surnames
  3. Each line is First-name SPACE Surname
  4. Sample: "Induwara Wickramasinghe", "Maria Patel", "Sahan Fernando"
  5. Duplicates tracked across the run; retry loop caps at 8× count

Example

Boundary — count = 0

  1. Input cleared to 0 or empty
  2. Generator returns empty string (no throw, no whitespace)
  3. Output area shows the empty-state hint
  4. Copy button is disabled to prevent copying nothing
  5. Stats tiles show em-dashes instead of zeros

Frequently asked questions

Sources & references

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Spotted a stale word, a name that needs adding, a bug, or have a prompt suggestion?

Email me at [email protected] — most fixes ship within 24 hours.