Tuesday, 4:40 pm. The client wants to see the redesigned marketing site by Wednesday morning. The real copy is still being argued over word by word in a Google Doc, so every heading and paragraph in my HTML prototype is empty. This is a normal Tuesday, and the fix is filler text: obviously-not-final copy in believable paragraph shapes, so stakeholders argue about spacing instead of wording. Hand-typing fake Latin into a dozen <p> tags is a waste of an evening, so here are the three ways I actually reach for, from most to least control.
Method 1: a small Python script
When I need lots of filler with a consistent shape, I keep a 20-line script around. Python 3.11.1, standard library only:
# fill.py β generate lorem ipsum paragraphs import random , sys
WORDS = ( "lorem ipsum dolor sit amet consectetur adipiscing elit sed do " "eiusmod tempor incididunt ut labore et dolore magna aliqua" ) . split ( )
rng = random . Random ( 20261119 ) # fixed seed: same output on every run
def sentence ( ) : words = rng .β¦