Bacon Ipsum API
Meaty placeholder (lorem-ipsum) text generator via a free JSON API.
What it does
Bacon Ipsum is a meat-themed placeholder-text generator API. Request a number of paragraphs or sentences of filler text, either all-meat (just cuts of meat) or meat-and-filler (meat words mixed into lorem-ipsum-style prose).
Base URL
Authentication
None. /?type=meat-and-filler¶s=3, or type=all-meat, plus sentences=, start-with-lorem=1, and format=json|text|html.
Code examples
curl -s "https://baconipsum.com/api/?type=meat-and-filler¶s=2&start-with-lorem=1" curl -s "https://baconipsum.com/api/?type=all-meat&sentences=3&format=text"
const paras = await fetch(
"https://baconipsum.com/api/?type=meat-and-filler¶s=3"
).then(r => r.json()); // array of paragraph strings
document.body.innerHTML = paras.map(p => `<p>${p}</p>`).join("");Rate limits & quotas
No documented rate limit — it just generates text. The JSON response is a plain array of strings (one per paragraph); format=text returns newline-separated plain text and format=html wraps paragraphs in <p> tags.
Key response fields
| [] (array) | One string per paragraph (default JSON output) |
| paras | Number of paragraphs (ignored if sentences is set) |
| sentences | Total sentences — overrides paras |
| start-with-lorem | 1 to begin with the classic ‘Bacon ipsum dolor amet’ |
Common errors
| (always 200) | Bad parameters are ignored and defaults used — there is little to error on. |
| (CORS) | Generally permissive, but if a browser call fails, proxy it or generate placeholder text locally. |
When to use it (and alternatives)
Placeholder copy for mockups and design systems when you want something more memorable than lorem ipsum. For placeholder images pair it with Lorem Picsum; for fake user records, Random User.
FAQ
JSON or text?
Default is a JSON array of paragraph strings — easiest to map into your template. Use format=text for a single plain block or format=html for ready-made <p> markup.
Can I make it deterministic?
No seed parameter — each call is random. For stable fixtures, generate once and commit the text, or use a local ipsum library.
all-meat vs meat-and-filler?
all-meat is pure cuts of meat (reads oddly, good for headlines); meat-and-filler mixes them into normal sentence structure (better for body copy).
New to APIs?
Short guides for working with this API — and any other.