Editing & Signing
How to Center Text in a PDF
Center text in a PDF by dragging a line until it snaps to the middle of the page, or align it within its own box. Free, in your browser, no upload.
Hamza M.
PDF Workflow Editor
Titles, section headings and short statements are meant to sit in the middle of the page, but PDFs arrive from every source with text glued to the left edge. To center text in a PDF you move the line itself so it sits mid-page, and sometimes also centre the letters inside the line. The Edit PDF tool does both live in the browser.
How do you center text in a PDF?
To center text in a PDF, open it in Edit PDF, click the line and drag it sideways. When the middle of the line comes within a few pixels of the middle of the page it snaps into place and a guide line appears. Use the Centre button when the text is shorter than its original line width.
- 1Open the Edit PDF tool and drop in your file.
- 2Press on the title or line and drag it horizontally.
- 3Let go when the vertical guide appears through the middle of the page.
- 4If you shortened the wording, click Centre in the format bar so the letters sit in the middle of the line.
- 5Click Save edited PDF.
Two kinds of centering
- Positioning moves the whole line on the page. Dragging snaps to the page's left edge, right edge and centre, and to the edges and centres of other lines and pictures on the page.
- Alignment (left, centre, right) places the letters inside the line's own width — the width the original text occupied, or the new text if it is longer.
- Only lines stored as real characters respond to either. A scan is a picture, and its OCR text layer is invisible, so neither control changes what you see.
Why did the Centre button not move my title?
Because the line's box is usually exactly as wide as its text. Centring letters inside a box they already fill changes nothing visible. The button earns its keep when you retype a line with shorter wording — the new text centres within the original width instead of hugging the left. To put the title in the middle of the page, drag it until the page-centre guide shows.
Centering vertically
Snapping works on the vertical axis too: drag a line up or down and it locks to the page's vertical middle with a horizontal guide. There is no automatic button for it, but the guide gets you there in one drag.
Centering titles across multiple pages
Each line is positioned independently. For a consistent set of chapter titles, centre the first, note the position readout, then drag each matching title to the page-centre guide and check its readout against the first. Ten minutes of this makes a report look deliberate rather than accidental. To move lines more freely, see how to move text in a PDF.
What goes wrong
| Problem | Fix |
|---|---|
| Line will not select | The page is a scan; retype the heading with Add text and centre that |
| Title is two separate lines | Centre each one to the page guide separately |
| Guide snaps to a nearby line instead | Drag more slowly near the middle — the nearest edge or centre wins |
| Centered title looks slightly off | Capitals and punctuation shift the optical centre; trust your eye over the guide |
When left-aligned is the right call
Centering works best for short headings and labels. Long centred paragraphs are tiring to read, because each line starts in a different place. Centre the titles, keep body text aligned to one edge, and if you need a brand-new centred heading, add text to the PDF and snap it to the page centre.
Do it now
Edit PDF
Change the text, headings and numbers in a PDF. It runs in this browser tab — your file is not uploaded anywhere.
Open Edit PDFFrequently asked questions
Why can I not select my heading to center it?+
The page is probably a scan or a flattened export, so there are no characters to select. Add the heading as new text with Add text and centre that instead.
Can I vertically center text on a PDF page?+
Yes. Drag the line up or down until it snaps to the page's vertical middle and a horizontal guide appears.
Does centering a heading change the body text?+
No. Moving or aligning a line affects only that line, so surrounding paragraphs and spacing are untouched.
Is the snapping exact?+
It is exact to the page geometry. Large capitals or a trailing full stop can make a mathematically centred title look slightly off, so nudge it if your eye disagrees.