Lorem Ipsum: Origin, Usage, and Alternatives for Developers
Lorem Ipsum is the standard placeholder text used in design and development. Learn its history, why it is used, how to generate it, and what modern alternatives exist for different contexts.
What Is Lorem Ipsum?
Lorem Ipsum is nonsense Latin-like text used as a placeholder when the real content of a design or document is not yet available. It looks plausible enough to simulate the visual weight and rhythm of real text, but is meaningless — so it does not distract reviewers who should be evaluating the layout, not the words.
The standard Lorem Ipsum passage begins:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
A Brief History
Lorem Ipsum is not random gibberish invented in the 1990s — it is derived from Cicero's "De Finibus Bonorum et Malorum" (On the Ends of Good and Evil), written in 45 BC. The standard passage is a scrambled, slightly altered excerpt from Book 1, Section 10.32:
"Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."
The modern use of Lorem Ipsum in typesetting dates to the 1500s, when an unknown printer took a passage from Cicero, scrambled it, and used it as filler text for a type specimen book. It has been the industry standard ever since.
In the digital era, Lorem Ipsum was popularised by Aldus PageMaker desktop publishing software in the 1980s and is now used by virtually every design tool, CMS, and web framework.
Why Use Placeholder Text?
The purpose of placeholder text is to:
- Separate form from content — reviewers can evaluate layout, hierarchy, and typography without being distracted by the actual words.
- Simulate realistic text density — meaningful words like "text" or "content" repeated throughout a design look artificial and draw the eye. Lorem Ipsum flows more naturally.
- Avoid premature content debates — showing a client "This is the header text" invites copy editing before the design is even approved.
- Test edge cases — wrap behaviour, overflow, truncation, and text rendering are better tested with real-volume text.
When NOT to Use Lorem Ipsum
Lorem Ipsum has its place, but there are situations where it causes problems:
Localisation — if your design only works with short English-like words and breaks with long German compound words or short Chinese characters, you won't discover this until it's too late. Use language-specific filler text for localisation testing.
Accessibility reviews — screen reader testing requires real or realistic content. Nonsense text cannot be meaningfully evaluated by accessibility auditors.
Content-heavy pages — for a news article, a legal document, or product copy, meaningless filler fails to reveal whether the typography and hierarchy actually suit the content. Use real content early in these cases.
Production code — Lorem Ipsum in shipped code is always a bug. Use linters, CI checks, or content audits to catch it before release.
Generating Lorem Ipsum
The classic approach is to use a standard generator. Most generate text to a specified length:
- By word count — "generate 100 words of Lorem Ipsum"
- By paragraph count — "generate 3 paragraphs"
- By character count — useful for testing field length limits
In Code
Most languages have Lorem Ipsum libraries:
JavaScript / Node.js:
// Using the 'lorem-ipsum' npm package
import { LoremIpsum } from "lorem-ipsum";
const lorem = new LoremIpsum();
console.log(lorem.generateParagraphs(2));
Python:
# Using the 'lorem' package
import lorem
print(lorem.paragraph())
print(lorem.sentence())
PHP:
// Using fakerphp/faker
$faker = Faker\Factory::create();
echo $faker->paragraphs(3, true);
Modern Alternatives to Lorem Ipsum
For Developer Portfolios and Agency Sites
Cupcake Ipsum (cupcakeipsum.com) — uses food words. Fun but memorable for clients.
Corporate Ipsum (cipsum.com) — business buzzwords. Good for satirising corporate design.
Hipster Ipsum (hipsum.co) — artisan, craft-inflected words. Popular in creative agency mockups.
These alternatives are still "fake" content but can set a tone appropriate to the project.
For Testing Real-World Scenarios
Real user content samples — if you have existing user data (anonymised), use it. Real content reveals real edge cases.
AI-generated topical placeholder text — ask an LLM for "5 paragraphs of realistic product descriptions for a fictional electronics store". The resulting text looks like real content and exercises your design more honestly.
Language-specific dummy text — faker.js can generate realistic-looking names, addresses, company names, and paragraphs in dozens of locales, which is much better than Latin filler for internationalised designs.
For CMS and Content Templates
Use content models with example data baked in — a CMS like Contentful, Sanity, or Strapi can be seeded with example entries so designers always see realistic content without waiting for the real copy.
The Standard Lorem Ipsum Paragraph
The full standard passage used in most tools:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Any text that starts with "Lorem ipsum dolor sit amet" is effectively a standardised test signal — universally recognised as placeholder content.
Use the Lorem Ipsum Generator
The Lorem Ipsum Generator on DevGizmo generates placeholder text by paragraph or word count. Customise the output length and copy the result to your clipboard instantly.