Skip to content
@loremly

Loremly

Free Lorem Ipsum generator for text, photos and placeholder images. Website, free API, and a zero-dependency npm package and CLI.

Loremly

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

Use it anywhere

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 loremly
import { paragraphs, placeholder } from "loremly";

paragraphs(3);                     // 3 paragraphs of Lorem Ipsum
placeholder({ size: "600x400" });  // an SVG placeholder image

In your terminal:

npx loremly 50 words
npx loremly image 600x400 -o hero.svg

Over 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.

Repositories

Repo What it is
loremly The loremly npm package and CLI: zero dependencies, ESM and CommonJS, TypeScript types

Get involved

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.

Popular repositories Loading

  1. loremly loremly Public

    Lorem ipsum text and placeholder images for JavaScript, TypeScript and the CLI. Seeds, HTML/Markdown/JSX output, zero dependencies.

    TypeScript 1 1

  2. loremly.com loremly.com Public

    Loremly.com: free Lorem Ipsum generator for text, photos and placeholder images, with a free API.

    TypeScript

  3. .github .github Public

Repositories

Showing 3 of 3 repositories

Top languages

Loading…

Most used topics

Loading…