Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

To insert sample text in Word, use one of the following methods. 

Method 1: Use rand() 

To insert localized sample text in Word, type =rand() in the document where you want the text to appear, and then press ENTER
 
The sample text that is inserted for the English version of Word resembles the following text: 

Video provides a powerful way to help you prove your point. When you click Online Video, you can paste in the embed code for the video you want to add. You can also type a keyword to search online for the video that best fits your document.

To make your document look professionally produced, Word provides header, footer, cover page, and text box designs that complement each other. For example, you can add a matching cover page, header, and sidebar. Click Insert and then choose the elements you want from the different galleries.

Themes and styles also help keep your document coordinated. When you click Design and choose a new Theme, the pictures, charts, and SmartArt graphics change to match your new theme. When you apply styles, your headings change to match the new theme.

You can control how many paragraphs and lines appear by adding numbers inside the parentheses of the rand() function. The =rand() function has the following syntax: 

=rand(p,l) 
 

Note: In this function, p is the number of paragraphs, and l is the number of lines that you want to appear in each paragraph. 

The parameters are optional. If you omit the parameters, the default number of paragraphs is three, and the default number of lines per paragraph is also three. 

The following are some examples that show how the parameters work: 

=rand(1) inserts one paragraph with three lines of text in the paragraph. 

=rand(10,10) inserts 10 paragraphs with 10 lines of text in each paragraph. 

Method 2: Use lorem() 

To insert non-localized, pseudo-Latin sample text in Word, type =lorem() in the document where you want the text to appear, and then press ENTER
 
The sample text that is inserted resembles the following text: 

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna.¶ 
 
Nunc viverra imperdiet enim. Fusce est. Vivamus a tellus.¶ 
 
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin pharetra nonummy pede. Mauris et orci.¶ 

You can control how many paragraphs and lines appear by adding numbers inside the parentheses of the lorem() function. The =lorem() function has the following syntax: lorem(p,l) 

Note: In this function, p is the number of paragraphs, and l is the number of lines that you want to appear in each paragraph. 


The parameters are optional. If you omit the parameters the default number of paragraphs is three, and the default number of lines per paragraph is also three. 
 
For more information about the "Lorem ipsum" text, see Description of the "Lorem ipsum dolor sit amet" text that appears in Word Help.

Not working?

By default, the inserting sample text feature in Word is turned on. However, the inserting sample text feature is disabled when the Replace text as you type option is turned off. 
 
To turn the Replace text as you type option on or off, follow these steps: 

Select Office Button, select Word Options, select Proofing, and then select AutoCorrect Options

Click to select or to clear the Replace text as you type check box. 

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×