Random Sentence Generator

Generate a grammatical English sentence, composed word by word rather than picked off a list -- simple, descriptive, question, command or compound. For writing prompts, typing practice and grammar lessons.

What makes a string of words a sentence?

A subject and a predicate that agree, and enough structure that the whole thing can stand alone. "The brittle lantern glows quietly" is a sentence; "brittle lantern glows quietly" is a fragment, and "the lantern glow quietly" is neither, because the verb has stopped agreeing with its subject. English marks that agreement in exactly one place in the present tense -- the third-person -s -- which is why it is the piece learners lose first and the piece a sentence generator has to get right. Beyond agreement, word order does the work that inflection does in other languages: English is a subject-verb-object language with almost no case marking left, so "the dog bites the postman" and "the postman bites the dog" use identical words to mean opposite things. That is also why English tolerates so much semantic nonsense while staying grammatical -- Chomsky's "colourless green ideas sleep furiously" is impeccable structure carrying no meaning at all, and it is the effect this generator lives on.

About this generator

This generator composes a sentence word by word from the site's word banks rather than picking one off a list, so it never repeats and never runs out. Five kinds are available -- simple, descriptive, question, command and compound -- and each is built from templates with real grammar behind them: the verb agrees with its subject, the article is chosen by sound, and only adverbs of manner are allowed to sit after a verb.

Every result here is drawn using crypto.getRandomValues() -- the Web Crypto API's cryptographically secure randomness -- instead of Math.random(), so it's genuinely unpredictable, not just statistically random. Learn more.

What people use it for

Writing warm-ups and story prompts, improv and acting exercises, typing and handwriting practice, ESL lessons on sentence structure and subject-verb agreement, testing a text field or a speech synthesiser with sentences it has never seen, and generating nonsense that is grammatical enough to be worth reading.

How it works

A template is drawn for the chosen kind, and its slots are filled from the noun, verb, adjective and adverb banks with cryptographically secure randomness -- never the same word twice in one sentence. The verb is inflected for its subject, plurals follow English's real rules rather than a blanket +s, and the article is resolved against the word that ends up in front of it, so it comes out "an hour" and "a university" rather than the other way round.

Common questions

Will the sentences make sense?

Grammatically, always. Semantically, often not -- and that is the point. A sentence like "the brittle lantern rehearses patiently" is correctly formed and describes nothing, which is exactly what makes it useful as a writing prompt: it hands you an image to explain rather than a story to copy.

Why is everything in the present tense?

Because English's past tense is where the irregular verbs live. Run/ran, swim/swam, know/knew -- a generator that adds -ed to a bank of ordinary verbs produces "runned" several times a minute. The present tense needs only the third-person -s, which is genuinely regular for every verb here, so the output is always correct rather than usually correct.

Can I choose the kind of sentence?

Yes -- filter to any combination of simple, descriptive, question, command and compound. Questions come out as real questions with the auxiliary in the right place, and commands as imperatives with the subject dropped, rather than as statements with the punctuation swapped.

How many different sentences can it make?

Effectively unlimited. With 310 nouns, 260 verbs, 260 adjectives and 180 adverbs feeding twenty-eight templates, the number of combinations runs into the trillions -- so two people pressing Generate at the same moment will not see the same sentence.

Can I get several at once?

Yes -- the amount control goes up to 100, which is enough for a full page of typing practice or a whole class's worth of prompts in one press.

Related Generators

Noun · Verb · Adjective · Adverb · Idiom · Proverb

All Words & Language generators

Browse all generators