Skip to content
Loremly
How-to

How to Add Lorem Ipsum in Word, Google Docs, Figma and VS Code

Quick ways to add placeholder text in the tools you already use, like the built-in =lorem() command in Word and the Emmet shortcut in VS Code.

Loremly Team

· 2 min read

You need a few paragraphs of filler text, and you need them now. Here is the fastest way to get Lorem Ipsum into the tools most people use.

Microsoft Word

Word has placeholder text built in. Go to a new, empty line and type:

=lorem()

Then press Enter. Word adds a few paragraphs of Lorem Ipsum.

You can choose how much text you get. Use =lorem(p,l). Here, p is the number of paragraphs. And l is the number of sentences in each one. For example, =lorem(3,5) gives you three paragraphs of five sentences each.

Want English instead? =rand() works the same way. But it adds English sample text that you can read.

Google Docs

Google Docs has no built-in command for placeholder text. So the quickest way is to paste it in:

  1. Open the Lorem Ipsum generator and choose how many paragraphs you need.
  2. Do you want headings, bold text or lists? Open More options and turn on the parts you want. Then switch the format to HTML.
  3. Keep Preview selected and press Copy.

Now paste into Google Docs. The headings, bold text and lists keep their style.

Figma

Figma has no filler text command either. Make a text layer, then paste text from the generator. To keep text boxes true to life, use an exact length:

  • Headlines and buttons: choose Words and set a small number, like 3 to 7.
  • Cards and descriptions: 20 to 30 words is a good place to start.
  • Fixed-size boxes: choose Characters to match the space exactly. For example, use 155 for a meta description preview.

Do a few designers work on the same file? Then use the Share link button. That way, everyone pastes the exact same text.

VS Code (and other editors with Emmet)

VS Code is a code editor, and it has Emmet built in. Emmet is a set of typing shortcuts, and one of them makes Lorem Ipsum. In an HTML file, type lorem and press Tab. You get a paragraph of filler text.

Add a number to set the length:

  • lorem10 + Tab gives you 10 words
  • p*3>lorem + Tab gives you three <p> paragraphs
  • ul>li*5>lorem4 + Tab gives you a list of five items, four words each

Need longer text? Or test data in JSON (a common data format)? The Loremly API sends back text in one request:

curl "https://www.loremly.com/api/v1/lorem?unit=sentences&count=5&format=json"

WordPress and other website builders

Most website builders don't have a placeholder text tool. So make the text in Loremly and paste it in. Does your editor have an HTML or code view? Then choose the HTML format. That brings headings and lists across in one go.

One last tip

Placeholder text is easy to forget. Before you publish anything, search your document or site for "lorem". Make sure none is left behind.

Share

Written by

Loremly Team

We build Loremly, the free Lorem Ipsum and placeholder image generator, and write about design and development workflows.

All posts