How to Use This API
1. Get Bacon Ipsum Paragraphs
https://baconipsum.com/api/?type=meat-and-filler¶s=3
2. All Meat, No Filler
https://baconipsum.com/api/?type=meat¶s=2
3. Get Sentences or Bytes
https://baconipsum.com/api/?type=all-meat&sentences=5
https://baconipsum.com/api/?type=meat-and-filler&bytes=500
4. Start with "Bacon Ipsum"
https://baconipsum.com/api/?type=meat-and-filler&start-with-lorem=1¶s=2
5. JavaScript — Placeholder Generator
async function generateBacon(paras = 3) {
const resp = await fetch(
`https://baconipsum.com/api/` +
`?type=meat-and-filler¶s=${paras}`
);
const paragraphs = await resp.json();
paragraphs.forEach((p, i) => {
console.log(`Paragraph ${i + 1}:`);
console.log(p.slice(0, 100) + '...');
console.log('');
});
return paragraphs;
}
generateBacon(2);
6. Python — Filler Text for Mockups
import requests
def get_bacon_ipsum(paras=5):
resp = requests.get(
'https://baconipsum.com/api/',
params={
'type': 'meat-and-filler',
'paras': paras
}
)
text = resp.json()
html = '\n'
for i, p in enumerate(text, 1):
html += f' Section {i}
\n'
html += f' {p}
\n'
html += ''
return html
print(get_bacon_ipsum(3))
TL;DR
Bacon Ipsum is a lorem ipsum generator with a carnivorous twist — instead of Latin filler text, you get paragraphs about bacon, spare ribs, frankfurter, and pastrami. Choose from "meat-only" (all bacon-themed), "meat-and-filler" (mixed with standard Latin), specify paragraph count, sentence count, or byte size, and optionally start with "Bacon ipsum dolor amet." JSON response with each paragraph as a string. Perfect for restaurant websites, food apps, or any project needing flavorful placeholder text. No API key, no limits.
Quick start: https://baconipsum.com/api/?type=meat-and-filler¶s=3
No API key needed — just make a request!
https://baconipsum.com/api/?type=meat-and-filler¶s=3
Frequently Asked Questions
- What's the difference between meat and meat-and-filler?
all-meatgives pure bacon-themed text.meat-and-fillermixes in standard Latin lorem ipsum for more variety.- Do I need an API key?
- No. Bacon Ipsum is free and open with no authentication required.
- What parameters are supported?
type(all-meat, meat-and-filler),paras(paragraph count),sentences,bytes, andstart-with-lorem.- What format is the response?
- JSON array of strings, one per paragraph. Example:
["Bacon ipsum...", "Spare ribs..."]. - Can I get the text as plain text instead of JSON?
- Add
&format=textto get plain text response instead of JSON. - Is this suitable for production websites?
- Yes, it's fast and reliable for generating placeholder content during development. For production use, consider caching generated text locally.
API Details
- API URL
https://baconipsum.com/api/- Documentation
- baconipsum.com/json-api
- Category
- Development
- Authentication
- Not Required
- Geographic Coverage
- Global
What You Can Build
- Restaurant website mockups with food-themed placeholder text
- Recipe blog theme previews with flavorful filler content
- UI design prototypes that need more interesting lorem ipsum
- Food delivery app wireframes with meaty menu descriptions
- Demo site generator with themed placeholder text