Slate PDF

Editing & Signing

How to Center Text in a PDF

Center titles, headings and short labels in a PDF right in your browser. Align any text line or drag it into place. Free, no upload.

HM

Hamza M.

PDF Workflow Editor

September 24, 20263 min readReviewed September 24, 2026

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. Centering has two honest parts: switching the line so its letters centre inside the line box, and moving the line so the box itself sits mid-page. The Edit PDF tool does both live in the browser.

Two kinds of centering

  • Horizontal alignment centres the letters within the width of the text line — the fix for a left-justified title.
  • Positioning centres the entire text line on the page, which you reach by dragging the line into place with the alignment guides.
  • Only lines stored as real characters respond to either; a scan is a picture and needs OCR before any of this works.

Center a heading, step by step

  1. 1Open the Edit PDF tool and drop in your file.
  2. 2Click the title or line you want to center.
  3. 3Choose centre alignment in the format bar so the letters centre inside the line.
  4. 4Drag the line so the box sits visually mid-page, guided by the on-page alignment guides.
  5. 5Download the PDF.

The page preview updates as you work, so you can nudge a title until it looks optically balanced — which often differs from mathematically centered by a few pixels once ascenders and capitals are involved.

Centering across multiple pages

Each line is centered independently. For a consistent set of chapter titles, center and position the first one, note where it sits, then apply the same alignment and position to the matching titles on the other pages so the book or report looks deliberate rather than accidental.

When left-aligned is the right call

Centering works best for short headings and labels. Long paragraphs centred look amateurish and tire the eyes — body copy should stay aligned to one edge, and headings centered. When in doubt, center the titles and keep the prose left-aligned.

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 PDF

Frequently asked questions

Why is there no center option for my text?+

Clicking a line selects it as editable text only when the PDF stores real characters. For a scanned or flattened line, run OCR first to add a text layer, then the alignment controls appear on selection.

How do I center the whole text line, not just the letters?+

Line alignment centres the letters inside the line box. To position the box on the page, select the line and drag it until the alignment guides show it sitting mid-page.

Can I vertically center text on the page?+

There is no auto vertical-centre button, but you can drag the selected line to the vertical middle using the guides and the live page preview for a clean optical result.

Does centering a heading change the body text?+

No. Alignment applies to the single selected line, so surrounding paragraphs and spacing are untouched.

Can I center text in a fillable form field?+

Interactive form fields often hide their alignment settings. If the field will not recentre, delete the entry and add a fresh text line centered over the field instead.

Keep reading

HM

Hamza M. · PDF Workflow Editor

Hamza has spent a decade working with print and digital documents — from prepress production to everyday PDF cleanup — and now writes practical, tested guides for Slate PDF.

Read more about how this site is run