Lorem ipsum generator — exact words, sentences or paragraphs, plain or HTML

Choose words, sentences or paragraphs, set how many (1–500), and get placeholder lorem ipsum as plain text or wrapped in HTML paragraph tags, with a word and character count to match your layout.

Live demo · real result from this tool
Generate

Press Generate to create a result.

Processed on your device — nothing is uploaded.

How to use the lorem ipsum generator

  1. Choose what to Generate: Paragraphs, Sentences or Words.
  2. Set How many, from 1 to 500.
  3. Leave Start with “Lorem ipsum dolor sit amet…” ticked for the familiar opening, or untick it for fully random text.
  4. Pick a Format: Plain text, HTML <p> tags or Markdown, then press Generate.
  5. Check the Words and Characters counts, then copy the text or download it as lorem.txt, lorem.html or lorem.md.

What it does and when to use it

Placeholder text lets you judge a layout before the real copy exists. Developers also use it as test data. Word mode gives an exact count for checking a title that must wrap at 60 characters, or a card that clips after three lines. Sentence mode fills form fields and comments. Paragraph mode in HTML gives markup you can drop straight into a template.

If you need other test data, the random string generator makes IDs and tokens. The UUID v5 generator gives stable IDs for fixtures, and the slugify tool turns a fake title into a URL path.

How it works

The tool draws from a list of 62 lorem ipsum words, using your browser’s cryptographic random source (crypto.getRandomValues).

  • Sentence: 6 to 14 random words. If it has more than 8 words, one comma is placed inside it. The first letter is capitalised and the sentence ends with a full stop.
  • Paragraph: 4 to 7 sentences.
  • Words: exactly the number you ask for, with the first one capitalised and no punctuation.

With the opener ticked, words mode replaces the first words with “lorem ipsum dolor sit amet consectetur adipiscing elit” (up to 8 words). The other modes replace the first sentence with the full opener. In HTML format, each paragraph becomes one <p> element. In sentence or word mode, the whole result is a single <p>.

Worked examples

Words, how many 5, opener ticked:

Lorem ipsum dolor sit amet
Words: 5
Characters: 26

Sentences, how many 1, opener ticked. This output is always the same, because the only sentence is the opener:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Words: 8
Characters: 56

Paragraphs, how many 2, HTML. The first paragraph always begins <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. and the rest is random. One run gave 124 words and 874 characters across two <p> lines.

Limits and tips

  • Character counts include tags. In HTML format, <p> and </p> count towards Characters but not Words.
  • Leave room for real copy. Final text and translations can be longer than your placeholder, so also test the layout with extra words.
  • Do not ship it. Search for “lorem” before you go live; placeholder text left on a public page looks broken to readers.

Frequently asked questions

Is the text the same every time?
No. Apart from the optional classic opening, every word is picked at random, so each click gives new text. The opener "Lorem ipsum dolor sit amet, consectetur adipiscing elit" is fixed when the checkbox is ticked.
How do I get an exact word count for a form or a database test?
Set Generate to Words and How many to the number you need. The output has exactly that many words and no punctuation, and the Words counter confirms it.
What does the Markdown format change?
Only the download name, which becomes lorem.md. Paragraphs are already separated by blank lines, which is valid Markdown, so the text itself is the same as plain text. No headings or lists are added.
Is this real Latin?
No. The 62 words come from the well-known lorem ipsum passage, which is scrambled from a Latin text by Cicero, and they are shuffled at random. The result has no meaning, which is the point; readers look at the layout, not the words.
Can it produce headings, lists or links?
No. HTML output wraps text in p tags only. For full sample pages, write the structure yourself and paste paragraphs into it.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close