Lorem ipsum is ubiquitous in web design and print. Every developer and designer has copied it countless times. Here's where it came from, why it's still used, and when you should use something else instead.
Where "Lorem ipsum" came from
The passage beginning "Lorem ipsum dolor sit amet, consectetur adipiscing elit" is derived from Cicero's philosophical work de Finibus Bonorum et Malorum (On the Ends of Good and Evil), written in 45 BC. Specifically, it comes from sections 1.10.32–33, a discussion of pleasure and pain in Epicurean philosophy.
The text was scrambled and altered to remove readable meaning: "Lorem" itself is a contraction of "dolorem" (pain/suffering). The scrambling ensures the text looks like Latin prose — realistic word lengths and sentence rhythm — without carrying a message that would distract the reader.
Timeline:
- 45 BC: Cicero writes de Finibus Bonorum et Malorum
- 1960s: Letraset (a dry-transfer lettering company) uses the Lorem ipsum passage in their product sheets
- 1985: Aldus PageMaker (the first desktop publishing software) includes Lorem ipsum as default placeholder text
- 1990s–2000s: The internet carries it everywhere. Every web designer and developer encounters it.
Why placeholder text is used
Placeholder text serves several specific purposes:
1. Separate design from content decisions
When evaluating a layout, you want to judge the visual design — not be distracted by reading the actual text. Generic placeholder text forces viewers to focus on typography, spacing, line lengths, and hierarchy.
2. Show realistic text flow
Blank boxes don't show how text actually wraps, where line breaks occur, or how multiple paragraphs feel. Lorem ipsum fills space realistically.
3. Speed up prototyping
Waiting for real copy before building a prototype slows everything down. Placeholder text lets design and development move in parallel.
4. Test edge cases
You can generate varying lengths to test how a UI handles short copy vs. long copy — collapsing menus, overflow, truncation behavior.
Generating placeholder text
For quick copy-pasteable Lorem ipsum, a Lorem ipsum generator produces output in plain text, HTML, Markdown, or JSON — useful for different workflows:
- Plain text: For quick mockup, Google Docs, word processors
- HTML (
tags): Ready to paste into HTML templates - Markdown: For documentation sites and readme files
- JSON: For populating mock API responses
Generating in code
JavaScript:
``javascript
// lorem-ipsum npm package
import { LoremIpsum } from 'lorem-ipsum';
const lorem = new LoremIpsum({
sentencesPerParagraph: { max: 8, min: 4 },
wordsPerSentence: { max: 16, min: 4 }
});
lorem.generateParagraphs(3) // 3 paragraphs
lorem.generateSentences(5) // 5 sentences
lorem.generateWords(10) // 10 words
`
Faker.js (broader fake data):
`javascript
import { faker } from '@faker-js/faker';
faker.lorem.paragraphs(3) // 3 paragraphs
faker.lorem.sentences(5) // 5 sentences
faker.lorem.words(10) // 10 words
faker.lorem.text() // 1–3 sentences
faker.lorem.sentence() // 1 sentence
// Also: realistic fake data beyond Lorem ipsum
faker.name.fullName() // 'Alice Johnson'
faker.internet.email() // '*Emails are not allowed*'
faker.address.streetAddress() // '123 Main St'
`
Faker.js is the most versatile option when you need realistic mock data (not just placeholder text) for seeding databases or populating development fixtures.
Python:
`python
from faker import Faker # pip install Faker
fake = Faker()
fake.text() # 1–3 sentences
fake.paragraph(nb_sentences=5)
fake.paragraphs(nb=3)
fake.sentence(nb_words=10)
fake.words(nb=5)
Locale-specific Lorem ipsum
fake = Faker('fr_FR')
fake.text() # French-like placeholder text
``
Alternatives to Lorem ipsum
Real content early: The best practice in modern UX design is to use real content (or close approximations) as early as possible in the design process. Real copy reveals UX problems that Lorem ipsum hides — unclear labels, confusing terminology, content that doesn't fit the space.
The "Lorem ipsum" problem: Some teams discover that Lorem ipsum trains designers to ignore text as decoration, leading to designs that break when real content arrives. Reserve placeholder text for the earliest wireframe stages.
Alternatives when you need something more realistic:
- Content from similar websites: Copy (don't publish) text from a competitor or similar product to see how real content fits
- AI-generated placeholder content: Use LLMs to generate realistic but fictional product descriptions, user profiles, or other specific content types
- Repeated real words: "Content goes here" repeated — signals clearly that it's placeholder while being in the correct language
Lorem ipsum in different formats
The standard Lorem ipsum paragraph is about 69 words. Common counts:
| Amount | Words |
|--------|-------|
| 1 paragraph | ~50–75 words |
| 3 paragraphs | ~150–200 words |
| 5 paragraphs | ~250–350 words |
| 1 page (standard) | ~300 words |
For testing different content lengths, generate different quantities: a short bio (50 words), a product description (100 words), a full blog post (800 words). Each tests different layout behaviors.
Lorem ipsum is a 2,000-year-old piece of Latin philosophy that has accidentally become one of the most widely reproduced texts in human history — transmitted not by meaning but by utility. It does its job well: filling space with realistic-looking text that the eye skips over. Use it early in prototyping, but replace it with real content before usability testing.
Originally published at https://snappytools.app/lorem-ipsum-generator/