Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Center Align Shortcut Key: The Real Keys for Every App

· 5 min read · Home Automation

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The center align shortcut is Ctrl+E on Windows and Cmd+E on Mac in most word processors, including Microsoft Word, Google Docs, and LibreOffice Writer. In many text fields and web forms, the same shortcut does not center text because the field only accepts plain text; you must use the alignment button in the app's toolbar instead. This guide explains where the shortcut works, where it does not, and how to center text when no shortcut exists.

What You'll Need

  • A computer or mobile device with a word processor or text editor that supports paragraph alignment (Microsoft Word, Google Docs, LibreOffice Writer, Apple Pages, or similar).
  • A document open with text you want to center.
  • For mobile: the app's on-screen formatting menu, since physical keyboard shortcuts are not available on phones and tablets.

Step-by-Step

  1. Select the text or place your cursor. In most editors, you can center a single paragraph by clicking anywhere inside it, or center several paragraphs by highlighting them. If you want the whole document centered, press Ctrl+A (Windows) or Cmd+A (Mac) to select all first.
  2. Press the shortcut. On Windows, press Ctrl+E. On Mac, press Cmd+E. In Microsoft Word, Google Docs, and LibreOffice Writer, this toggles the selected paragraphs between left-aligned and centered. Pressing it again returns the text to left alignment.
  3. Check the result. The text should move to the horizontal center of the page or text area. If it does not move, the application may not support the shortcut, or the text may be inside a table cell, text box, or form field with its own alignment rules.
  4. Use the toolbar if the shortcut fails. In Google Docs, click the Align center button in the toolbar (the icon with centered lines). In Microsoft Word, go to the Home tab and click the Center button in the Paragraph group. In LibreOffice Writer, use the Format > Align > Center menu or the center button on the formatting toolbar. Menu labels can differ slightly by version and region.
  5. On mobile, use the formatting menu. In the Google Docs app, tap the Format button (the A with lines), then Paragraph, then choose Center. In the Microsoft Word app, tap the Home tab, then the alignment icon, then Center. Apple Pages on iPhone and iPad uses the Format brush icon, then Text, then the alignment options.
  6. For web forms and social media, use the site's own editor. Plain text boxes on websites, email compose windows, and social media post boxes usually do not accept Ctrl+E or Cmd+E for centering. Some rich-text editors (such as blog platforms and email builders) have their own alignment buttons. If no alignment button exists, centering is not supported in that field.

Common Mistakes

  • Pressing Ctrl+E in a plain text field. Many web forms, search bars, and code editors ignore the shortcut because they do not support paragraph formatting. The text will not center no matter how many times you press it.
  • Using Ctrl+E in Excel or Google Sheets expecting centered text. In spreadsheets, Ctrl+E usually opens a different feature (such as Flash Fill in Excel) and does not center cells. To center cell contents, use the alignment buttons on the Home tab or the Format menu.
  • Forgetting to select multiple paragraphs. The shortcut applies only to the paragraph where the cursor sits unless you highlight others first.
  • Confusing center alignment with centering a page. Ctrl+E centers text within the margins; it does not change page margins or center the page itself.
  • Assuming the shortcut is the same on Mac. On Mac, use Cmd+E, not Ctrl+E. Some apps also use different keys; check the app's Format or Paragraph menu for the exact shortcut.

Tips

  • To center a title only, place the cursor in the title line and press Ctrl+E or Cmd+E once. Then move to the body text and leave it left-aligned.
  • In Google Docs, you can also use Format > Align & indent > Center from the menu bar.
  • In Microsoft Word, the Paragraph dialog (Home tab > small arrow in the Paragraph group) lets you set alignment precisely and apply it to styles.
  • If you center text often, create a paragraph style with center alignment so you can apply it with one click instead of a shortcut.
  • Keyboard shortcuts for alignment in most editors: Ctrl+L (left), Ctrl+E (center), Ctrl+R (right), Ctrl+J (justify) on Windows; Cmd+Shift+L, Cmd+E, Cmd+Shift+R, and Cmd+Shift+J may vary by app on Mac. Check your app's menu for the exact keys.

Troubleshooting

If the shortcut does not center your text, work through these checks in order:

  1. Confirm the app supports alignment. Try the toolbar button. If the button is greyed out or missing, the field does not support centering.
  2. Click inside the text first. Shortcuts only work when the document or editor has focus. Click the text area, then try again.
  3. Check for a conflicting shortcut. Some apps use Ctrl+E for other actions, such as opening a search or a formula bar. Look in the app's settings or help for keyboard shortcuts.
  4. Try the menu equivalent. Use Format > Align (or Paragraph > Alignment) to center the text. If the menu option works but the shortcut does not, the shortcut may be reassigned or disabled.
  5. Restart the app. Close and reopen the application, then try again. If the problem persists, check for updates to the app.
  6. Test in a new document. If centering works in a new document but not the current one, the current document may have protected formatting, a restricted editing mode, or content inside a table or text box with separate alignment settings.

Frequently Asked Questions

What is the shortcut key to center align text?

In most word processors on Windows, it is Ctrl+E. On Mac, it is Cmd+E. This works in Microsoft Word, Google Docs, and LibreOffice Writer, among others.

Does Ctrl+E center text in every program?

No. It works in programs that support paragraph alignment. Plain text fields, web forms, and some code editors do not support centering, so the shortcut does nothing there.

How do I center align in Google Docs on a phone?

Tap the Format button (the A with lines), choose Paragraph, then select Center. The keyboard shortcut is not available on mobile.

Why does Ctrl+E do something else in Excel?

In Excel, Ctrl+E is assigned to Flash Fill, not alignment. To center cell contents, use the alignment buttons on the Home tab or the Format Cells dialog.

Can I center align text in an email?

It depends on the email client. Rich-text compose windows in Gmail and Outlook usually have an alignment button in the formatting toolbar. Plain-text emails do not support centering.

Is there a universal center align shortcut?

No single shortcut works everywhere. Ctrl+E (Windows) and Cmd+E (Mac) are the most common, but always check the app's own menu or help for the exact shortcut.