Tabs, Indents and Spaces in Word: How to Align Text Properly
By Guccibase · · 10 min read

Text lined up with the spacebar looks fine until someone changes the font, edits a word or opens the file on another computer. Then the columns drift. The fix is to give each job to the right tool: an indent moves the edge of a whole paragraph, a tab stop aligns text at a fixed point within a line, and a space only separates words.
This guide shows which one to use, how to set each in Word for Microsoft 365 on Windows (with Mac and Word for the web notes), and how to clean up a document that was aligned with spaces.
Key Takeaways
- Use an indent when the whole paragraph, or its first line, should start further in. Use a tab stop when text in the middle of a line must line up with the lines above and below.
- Never press the spacebar repeatedly to align text. In most fonts characters have different widths, so a run of spaces will not line up reliably.
- Set indents in Home > Paragraph dialog launcher > Indents and Spacing, and tab stops in the Tabs dialog or on the ruler.
- Ctrl+M indents a paragraph and Ctrl+T creates a hanging indent.
- Word for the web keeps the tabs already in a document but cannot set or remove tab stops; use the desktop app for that.
Tabs, indents or spaces: which one should you use?
Pick the tool by asking what needs to move: the paragraph's edge, or a piece of text inside the line.
| You want to… | Use | Why |
|---|---|---|
| Start the first line of each paragraph further in | First-line indent | Applies to every new paragraph in that style, with no extra keystrokes |
| Line up wrapped lines under a label or number (references, glossaries) | Hanging indent | The first line sticks out; the rest of the paragraph aligns neatly |
| Set a quotation in from both margins | Left and right indents | The paragraph narrows evenly and still rewraps correctly |
| Line up "To:", "From:" and "Date:" values, or put a page number on the right of a footer | Tab stops | Text after each tab press snaps to an exact position |
| Make a contents-style line with dots to a number | Tab stop with a dot leader | Word fills the gap with dots that always reach the number |
| Separate two words | One space | That is the only job a space has |
If the content is really rows and columns of data, a table is usually better than a row of tab stops. Word's table tools keep each cell aligned on their own.
Before you start: turn on formatting marks and the ruler
You cannot fix alignment you cannot see. Two settings make it visible:
- Show formatting marks. Select Home > Show/Hide ¶, or press Ctrl+Shift+8 (Microsoft's Word shortcut list calls it "Display all nonprinting characters"). A space shows as a small dot, a tab as an arrow and the end of each paragraph as ¶.
- Show the ruler. Select View > Ruler. The ruler holds the indent markers and any tab stops for the paragraph your cursor is in (Using the ruler in Word).
Rows of dots between words mean someone aligned text with spaces. Arrows mean tabs, which is what you want. The lesson on seeing hidden characters explains every mark you will see.
How to indent a paragraph in Word
Indents belong to the paragraph, so you never type anything to create them. Click in the paragraph (or select several), then set the indent once.
The ruler shows four indent markers. This diagram shows where each one sits and what it controls.
First-line indent
A first-line indent pushes in only the first line, the way many books and essays mark a new paragraph.
- Click in the paragraph, or select all the paragraphs you want to change.
- On the Home tab, select the Paragraph dialog launcher (the small arrow in the bottom-right corner of the Paragraph group).
- On the Indents and Spacing tab, under Special, choose First line.
- Type the depth in By (for example 1.27 cm or 0.5"), then select OK.
On the ruler, drag the top triangle to the right instead. On a Mac, open the same settings with Format > Paragraph.
Hanging indent
A hanging indent leaves the first line at the margin and indents every line after it. Reference lists and bibliographies use it so each entry's author name stands out.
Microsoft's steps in Create a hanging indent in Word are:
- Select the paragraphs.
- Select Home > Paragraph dialog launcher > Indents and Spacing.
- Under Special, choose Hanging, and set the depth in By.
- Select OK.
The keyboard route is faster: Ctrl+T creates a hanging indent and Ctrl+Shift+T removes it. The same steps work in Word for the web through the Paragraph dialog launcher on the Home tab, and on a Mac through Format > Paragraph.
Left and right indents
Left and right indents move the whole paragraph in from the margins. Use them for a quotation set apart from the body text.
- Ribbon: on the Layout tab, in the Paragraph group, type values into Indent Left and Indent Right.
- Keyboard: Ctrl+M indents the paragraph from the left; Ctrl+Shift+M removes the indent.
- Ruler: drag the square on the left (it moves the first-line and hanging markers with it) or the triangle on the right.
Put the indent in the style, not on each paragraph
If every body paragraph or every reference should look the same, set the indent once in the paragraph style: right-click the style in the Styles gallery, choose Modify, then Format > Paragraph. Every paragraph with that style updates, and new ones match automatically. The complete guide to styles explains why this keeps a document consistent.
How to set tab stops in Word
Without custom tab stops, each press of Tab jumps to Word's next default stop. That is why text sometimes lands a little short or skips too far. Set your own stop and the text snaps exactly where you want it.
Word has five tab types (Set, clear, or remove tab stops in Word):
- Left: text starts at the stop and runs to the right. The most common choice.
- Center: text is centred on the stop.
- Right: text ends at the stop. Use it for page numbers or dates on the right edge.
- Decimal: numbers line up on their decimal point.
- Bar: draws a vertical line at the stop position. It is not a real tab position for text.
Set a tab stop with the ruler
- Select the paragraphs that need the stop. Tab stops belong to paragraphs, just like indents.
- Click the tab selector at the left end of the horizontal ruler until it shows the type you want.
- Click the bottom edge of the ruler where the stop should go.
- Press Tab once before the text you want to align.
To remove a stop, drag it down off the ruler.
Set exact tab stops in the Tabs dialog
The dialog is the precise route, and the only way to add leaders.
- Select the paragraphs.
- Select Home > Paragraph dialog launcher, then select Tabs in the bottom-left corner of the Paragraph dialog. On a Mac, choose Format > Tabs (Microsoft's tab stop steps).
- In Tab stop position, type a measurement such as 4 cm.
- Choose an Alignment, and a Leader if you want one.
- Select Set. Repeat steps 3 to 5 for each stop, then select OK.
Clear removes the selected stop and Clear All removes every custom stop from the selected paragraphs. The Default tab stops box changes the spacing of Word's built-in stops.
Add dot leaders between text and a number
A leader fills the gap before a tab stop with dots, dashes or a line. In the Tabs dialog, choose the stop, pick leader 2 (dots), select Set, then OK. Now a single Tab press draws a row of dots that always reaches the stop, even after you edit the text.
For a real table of contents, do not build this by hand: Word generates one from your headings with the leaders already in place.
Example: align a memo header
A memo header is a classic job for one left tab stop:
- Select the To, From, Date and Subject lines.
- Set a left tab stop at, say, 2.5 cm.
- Type each label, press Tab once, then type the value.
All four values now start at exactly the same point. Practise this in the free Align a memo header with tabs exercise. The same idea, with a center stop and a right stop, lays out a footer with a title in the middle and a page number on the right; the lesson on laying out a footer with tabs walks through it.
How to fix text that was aligned with spaces
Inherited documents often have rows of spaces where tabs or indents should be. To repair them:
- Turn on Show/Hide ¶ so you can see the dots.
- Paragraph starts: delete the leading spaces, then apply a first-line indent to the paragraphs (or to their style).
- Columns inside a line: delete each run of spaces between the label and the value, press Tab once in its place, then set one tab stop on all those paragraphs.
- Visually check a few lines at a larger zoom. The values should start at the same point without any dots before them.
In a long list, Find and Replace can do step 3 for you. Press Ctrl+H, type the exact run of spaces you want to remove in Find what, then click in Replace with and choose More > Special > Tab Character (Word enters ^t). Use Find Next and Replace to step through the matches one at a time rather than Replace All, because the same document may contain spaces you must keep. The Pro exercise Replace spaces used for alignment with tabs lets you practise exactly this repair.
Mac and Word for the web differences
- Word for Mac: indents are in Format > Paragraph and tab stops in Format > Tabs. The ruler works the same way, though its icons look slightly different.
- Word for the web: you can set first-line and hanging indents through the Paragraph dialog launcher, but Microsoft's tab stop article states that Word for the web "does not support setting or removing tabs" (checked November 2026). To change tab stops, open the file in the desktop app; Microsoft's route is Editing > Open in Desktop.
Common mistakes with tabs and indents
Pressing Tab several times to reach a position. If you need more than one tab press, set a tab stop where the text should go instead. Multiple tabs break as soon as the default stops change.
Pressing Tab at the start of every paragraph. It works, but it is extra keystrokes and easy to forget. A first-line indent in the style does the job automatically. If Word turns that tab into an indent for you, that is an AutoFormat option at work; the post on why Word formatting keeps changing explains which setting does it.
Pressing Enter or Shift+Enter, then spaces, to fake a hanging indent. A new paragraph or manual line break followed by spaces will misalign the moment the text rewraps. A hanging indent rewraps correctly every time.
Setting stops on one paragraph only. Tab stops apply to the selected paragraphs. Select every line of the list before you set the stop, or new lines will not match.
Frequently asked questions
Why does my text not line up even though I used tabs?
Usually the paragraphs have different tab stops, or none, so each Tab jumps to a default stop. Select all the lines, clear their tab stops in the Tabs dialog, then set one stop for all of them.
How do I remove a tab stop?
Drag it down off the ruler, or open the Tabs dialog, select the stop and choose Clear. Clear All removes every custom stop from the selected paragraphs.
Should I use a tab or an indent for the first line of a paragraph?
Use a first-line indent. It belongs to the paragraph, so it survives editing and can live in the paragraph style. A typed tab is one more character to manage on every paragraph.
Practise aligning text
Reading the steps is the first half; doing them on a real document is the second. The free Use a first-line indent instead of spaces exercise gives you a .docx with paragraphs indented by spaces and checks automatically that you replaced them with a true first-line indent. For the full set of paragraph skills, work through the paragraph formatting module, starting with the lesson on indents.
Sources
The tab, indent, ruler and shortcut steps in this guide were checked against these Microsoft Support articles for Word for Microsoft 365 on 5 November 2026:
Related posts
Written by Guccibase; see how these guides are written. Word Exercises is independent and not affiliated with Microsoft. Menu names follow Microsoft 365 as of 2026.