Replacing First-Line Indents with Tabs

Written by Allen Wyatt (last updated June 7, 2025)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365


Howard has a document where some paragraphs have an indented first line. He would like to find all of the indents and replace the indents with tabs.

There are several ways that this can be done, though it is unclear why it should be done. Tab characters, as the first character of a paragraph, aren't necessary to achieve an indent for a paragraph. It is much more common (and much more flexible) to use paragraph styles to control the indents necessary, first line or not, for the paragraphs in your document.

Even so, if you want to make the replacements, one way you can do so is to use Find and Replace. With the document open, follow these steps:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  2. If it is available, click on the More button. Word expands the options available in the dialog box.
  3. Make sure the insertion point is in the Find What box.
  4. Click the Format button at the bottom-left corner of the dialog box and the choose Paragraph. Word displays the Find Paragraph dialog box. (See Figure 1.)
  5. Figure 1. The Find Paragraph dialog box.

  6. Using the Special drop-down list, choose First Line. (Don't make any other changes in the dialog box.)
  7. Click on OK to close the Find Paragraph dialog box.
  8. Place the insertion point in the Replace With box.
  9. Type ^t^&. (This indicates you want to replace what is found with a tab character, followed by what was found.)
  10. Click the Format button at the bottom-left corner of the dialog box and the choose Paragraph. Word displays the Replace Paragraph dialog box. (This looks identical to the Find Paragraph dialog box, except for the name.)
  11. Make sure the Special drop-down list is set to (none).
  12. Click on OK to close the Find Paragraph dialog box.
  13. Click on Replace All. Word informs you how many changes were made.
  14. Close the Find and Replace dialog box.

This process will change only those paragraphs that had their first lines indented. If you want to change all paragraphs to have a tab at the beginning, then you can do so in this manner:

  1. Press Ctrl+A. Word selects the entire document.
  2. Display the Home tab of the ribbon.
  3. Click the small icon at the bottom-right of the Paragraph group. Word displays the Paragraph dialog box.
  4. Using the Special drop-down list, choose (none).
  5. Click OK to close the dialog box. Now none of the paragraphs have a first-line indent.
  6. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  7. If it is available, click on the More button. Word expands the options available in the dialog box.
  8. In the Find What box, enter ^p. (This indicates you want to search for hard returns.)
  9. Click the No Formatting button, if it is available.
  10. In the Replace With box, enter ^p^t. (This indicates you want to replace with a hard return followed by a tab character.)
  11. Click the No Formatting button, if it is available.
  12. Click Replace All. Word lets you know how many replacements were made.
  13. Close the Find and Replace dialog box.

This process adds a tab character in front of every paragraph with a few exceptions. First, it won't add one to the first paragraph in the document. Second, it doesn't affect any "fake paragraphs" created with line breaks. Third, it won't affect most text in tables or text boxes. Finally, it may not give exactly the result you want on paragraphs formatted as numbered or bulleted lists.

If you want to routinely make these types of changes, then a macro can be very helpful. Here's an example of one you could use:

Sub ChangeFLIndents()
    Dim p As Paragraph

    For Each p In ActiveDocument.Paragraphs
        If p.FirstLineIndent > 0 Then
            p.FirstLineIndent = 0
            p.Range.InsertBefore vbTab
        End If
    Next p
End Sub

The macro looks at every paragraph and affects only those that have a first-line indent. In other words, it doesn't affect all paragraphs. In this regard it is very similar to the first Find and Replace technique described in tis tip.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10534) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Making All Lines in a Paragraph the Same Height

If the line spacing in a paragraph appears uneven it may result of the combination of a larger character or object pasted ...

Discover More

Changing Character Color

Need to easily change the color of some selected text? A quick way to do it is with a custom macro that sets just the hue ...

Discover More

Changing How Arrows Look

If you use Excel's graphic capabilities to insert a line or an arrow into a worksheet, you can change how that arrow ...

Discover More

Do More in Less Time! An easy-to-understand guide to the more advanced features available in the Microsoft 365 version of Word. Enhance the quality of your documents and boost productivity in any field with this in-depth resource. Complete your Word-related tasks more efficiently as you unlock lesser-known tools and learn to quickly access the features you need. Check out Microsoft 365 Word For Professionals For Dummies today!

More WordTips (ribbon)

Initiating a New Search

I do a lot of searching in my documents. Sometimes the searches may not go exactly as I expected. Here are some things I ...

Discover More

Changing the Formatting of All Instances of a Word

Need to find all the instances of a particular word and change the formatting of those instances? It's easy to do using ...

Discover More

Replacing an X with a Check Mark

In order to provide a finishing touch to your document, you may want to replace mundane X marks with fancier check marks. ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four less than 6?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.