How to Generate Lorem Ipsum in VS Code (Built-in + Extensions)
Published April 2025 · 5 min read
VS Code has a built-in way to generate lorem ipsum — no extension needed.
Built-in Method: Emmet
Just type lorem and press Tab. That's it!
lorem → Tab → generates 30 words of lorem ipsum
Control the Length
lorem10 → 10 words
lorem50 → 50 words
lorem100 → 100 words
Generate Multiple Paragraphs
Use Emmet multiplication:
p*5>lorem → 5 paragraphs wrapped in <p> tags
Inside HTML Elements
div>p>lorem20 → <div><p>20 words...</p></div>
ul>li*5>lorem5 → 5 list items with 5 words each
Not Working?
- Make sure the file is saved as .html, .jsx, or another supported format
- Check that Emmet is enabled: Settings → search "emmet"
- Try
Ctrl+Spaceafter typing lorem to trigger suggestions
Online Alternative
Use our Lorem Ipsum Generator for more control over paragraphs, sentences, or words.