The Auto-Formatting Struggle
Google Docs is designed to intuitively guess what kind of document you are trying to create. One of the ways it does this is through automatic text alignment. For example, if you type a very short line of text at the very beginning of a document and press Enter, or if you use specific tab spacing, Docs might assume you are creating a title page or a centered header and automatically shift the alignment of your text to the center or the right.
While this heuristic approach can save time for casual users, it is incredibly frustrating when you are trying to enforce a specific, rigid document structure. If you are writing a script, pasting in blocks of pre-formatted code, or creating a complex layout where you deliberately want text to sit off-center, Google Docs jumping in and automatically “fixing” your alignment forces you to constantly hit Undo or manually re-align your paragraphs. To maintain absolute control over exactly where your words sit on the page, you must stop the auto-aligning behavior.
How to Stop Automatic Text Alignment
You can regain control of your paragraph formatting via the Preferences menu.
- Open a document in Google Docs.
- Look at the top toolbar and click on Tools.
- Select Preferences from the dropdown menu.
- In the Preferences window, make sure you are on the General tab.
- Look through the list of checkboxes. The specific setting that triggers alignment shifts is often tied to list creation and markdown. Uncheck Automatically detect Markdown (which can trigger centering for headers).
- Additionally, uncheck Automatically detect lists (which can cause unwanted indentation and alignment shifts).
- Click the blue OK button to save your changes.
From now on, your text will remain strictly left-aligned (or wherever you manually set it using the toolbar), and Google Docs will no longer attempt to guess if your text should be centered based on its length or context.