OnlineTextLab
Esc

Random Text Generator

Placeholder text by the paragraph, sentence or word, or to an exact character count for testing a field limit.

What you need

Words from
Measured in

Ctrl or Cmd + Enter copies the text.

Runs on your device. Your files and text are not uploaded.

About Random Text Generator

Designers need text to see how a layout behaves before the real copy exists. Developers need text of a known length to find out what happens when a field takes 255 characters, or 256. Set what you need, and the text appears right away. Change a setting and it regenerates, and Generate new text gives you a different version with the same settings.

Two vocabularies are on offer. Lorem ipsum is the scrambled Latin that printers and designers have used for generations, and it stops readers from being drawn into the words. English words looks more like the finished page, with word lengths typical of English, and it suits a client who gets confused by the Latin.

The Characters setting is the one that general lorem ipsum sites tend to lack. Ask for 140 and you get exactly 140, which saves counting when you are testing a limit. Word and character totals appear above the result so you can confirm it.

How it works

Each word is picked at random from a fixed list: 63 words from the traditional lorem ipsum passage, or a small set of ordinary English words. Sentences run 6 to 15 words, with the occasional comma, and paragraphs run 3 to 6 sentences. Because the picks are random, it reads as plausible text at a glance but means nothing, and the English option can produce odd word orders.

With Start with "Lorem ipsum dolor sit amet" on, the first sentence begins with the traditional opening and the rest stays random. Characters mode generates paragraphs until it has enough, then cuts to the exact length, which means it may stop mid-word. That is intended, as the goal is the exact count.

To keep the browser responsive, a single request is limited to 500 paragraphs, 2,000 sentences, 10,000 words or 100,000 characters. The page tells you when your number is above the limit. Wrap paragraphs in <p> tags adds HTML paragraph tags, and the download then becomes an HTML file.

How to use Random Text Generator

  1. Under Words from, choose Lorem ipsum or English words.
  2. Under Measured in, choose Paragraphs, Sentences, Words or Characters.
  3. Enter a number in How many. The text updates as you change it.
  4. Set the two options, for the traditional opening or for HTML paragraph tags.
  5. Press Generate new text for a different version.
  6. Use Copy, or Ctrl or Cmd + Enter, to grab the text. Download saves it as a file.

Two sentences from each vocabulary

Input
Sentences, 2
Output
Lorem ipsum dolor sit amet, consectetur adipiscing elit, ex aute nisi enim consectetur exercitation sed nisi amet ipsum deserunt ea labore.
Occaecat magna enim deserunt, ad consequat dolor in velit lorem magna.

Around letter changes after steady toward story through because before early keeps.
Steady kitchen some together cloud morning across letter every and journey field.

Your text will differ on every run, since the words are picked at random. The English option reads like language at a glance, and it makes clear why you should not leave it on a live page.

When it helps

  • Filling a web page or a slide template to judge line length and spacing before the copy is written.
  • Testing that a form rejects input over its limit, using the exact count from Characters.
  • Seeding a test database with bodies of text for blog posts or product descriptions.
  • Checking how a design handles a very long paragraph, rather than the short one in the mockup.

Tips for a better result

  • Test the far edges of a design: one short sentence, then many long paragraphs. Layouts tend to break at the extremes rather than the average.
  • For a limit test, generate exactly the limit and then the limit plus one, and paste each into your form.
  • Replace placeholder text before publishing, and search your pages for lorem as a last check. It is a surprisingly common thing to find on a live site.
  • Real content tends to be more uneven than generated text. Once real copy is available, use a sample of that for final layout decisions.

Good to know

  • The text is meaningless by design. It will not work as readable sample content, for testing search relevance or for evaluating tone.
  • It is not suitable for passwords, keys or anything needing unpredictability. Use the Password Generator for those.
  • Only Latin-based placeholder and English are available. To test how a layout handles other scripts, paste real samples of those languages into it.
  • It produces plain text with optional paragraph tags, and no headings, lists or links.

Questions people ask

What does lorem ipsum mean?

Very little. It comes from a scrambled passage of Cicero's De finibus, written in 45 BC, with words cut and altered until it stopped making sense. Printers took it up because it looks like ordinary text without inviting anyone to read it.

Can I generate text with an exact number of characters?

Yes. Choose Characters under Measured in and enter the number. The output is cut to precisely that length, spaces included, and may end in the middle of a word.

Is the same text generated each time?

No. Each run picks words at random, so results differ. If you need the same text in a test suite every time, copy one result into your test files.

What to use next

Last reviewed . Read our editorial policy.