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

Opening a Word Document when Starting the Computer

Some people use their computers for little else, other than to work on Word documents. If that is the case with you, then ...

Discover More

Unwanted Data Changes

The AutoCorrect feature in Excel can change some of your data in ways you don't like. If you discover this is happening, ...

Discover More

What is the Perfume Hoax?

Perfume can be alluring, but it can also be used for nefarious purposes—or so the perfume hoax proposes. Understand ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More WordTips (ribbon)

Changing European Dates to US Dates

Want to change the order of the day and month in a date? This tip shows you how you can do so using the Find and Replace ...

Discover More

Counting a Particular Word

Need to know how many times a particular word appears in a document or a portion of a document? Here's a handy trick that ...

Discover More

Searching for Special Characters

When using the Find and Replace feature of Word, you can search for more than plain text. You can also search for ...

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 3 + 5?

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.