Free Lorem Ipsum generator for text, photos and placeholder images.
Exact word and character counts, HTML, Markdown, JSON and JSX output, seeds for repeatable text, and a free API with no key.
Open the generator · Placeholder images · API docs · npm
In the browser: loremly.com. No sign-up. Copy as text, HTML, Markdown, JSON or JSX, or share a link to the exact text.
In your code:
npm install loremlyimport { paragraphs, placeholder } from "loremly";
paragraphs(3); // 3 paragraphs of Lorem Ipsum
placeholder({ size: "600x400" }); // an SVG placeholder imageIn your terminal:
npx loremly 50 words
npx loremly image 600x400 -o hero.svgOver HTTP: the free REST API needs no key.
The package, the website and the API share one engine, so the same options and seed give the same text everywhere.
| Repo | What it is |
|---|---|
| loremly | The loremly npm package and CLI: zero dependencies, ESM and CommonJS, TypeScript types |
Found a bug or want a feature? Open an issue. Found a security problem? See the security policy.
Open source, MIT licensed. Built by CK Giri.