Word doesn't have a REPT function, but there are three solid ways to repeat text — pick whichever fits your use case.
For small numbers (5-20 repetitions), brute force works:
Or use the "find and replace" trick: type the text 5 times, select all 5, copy, then keep pasting. Each paste doubles your text in chunks.
If you repeat the same phrase often (form letters, boilerplate):
Useful for repetition with edits between (like personalized greetings).
For larger counts, a macro is fastest. Press Alt+F11 to open the VBA editor, paste this, and run it:
Sub RepeatText()
Dim s As String
s = InputBox("Text to repeat:")
Dim n As Integer
n = InputBox("How many times:")
Dim i As Integer
For i = 1 To n
Selection.TypeText Text:=s & vbCrLf
Next i
End Sub
Save the macro, run it, enter the text and count, and Word will insert the repeated text at your cursor.
If you just need a long repeated string once, use our browser-based repeater: type, set count, click Copy, paste into Word. Faster than opening the VBA editor.
Not directly. Find & Replace replaces existing text, it doesn't multiply it. The macro method is the closest Word equivalent of Excel's REPT.
Yes — VBA macros work the same way on Mac. The keyboard shortcut to open the editor is Option+F11 on macOS.
Modify the macro: change Selection.TypeText Text:=s & vbCrLf to Selection.TypeText Text:=i & ". " & s & vbCrLf
Standard Notepad has no repeat function, but Notepad++ does it with macros. Step-by-step g...
How to use a text repeater for harmless WhatsApp pranks — birthday message walls, group ch...
How to use a text repeater on Discord — emoji walls, channel reactions, and the spam rules...