Online Center Text
Pad each line so text is centered to a given width. Useful for ASCII art, captions, or fixed-width layouts.
Frequently Asked Questions
- How does centering work?
- You set a line width (e.g. 40). Each line is padded with spaces on the left so the line content is centered within that width.
- What if a line is longer than the width?
- Lines longer than the width are left as-is (no truncation). Shorter lines get left padding only.
- What about multi-line text?
- Each line is centered independently within the same width.
Related Text Tools
Word Counter
Count words, characters, sentences, and paragraphs. Perfect for writers and students.
Case Converter
Convert text between uppercase, lowercase, title case, and sentence case instantly.
Morse Code Translator
Translate text to Morse code and Morse code to text. Supports letters, numbers, and punctuation.
Lorem Ipsum Generator
Generate placeholder text for designs and mockups. Choose paragraphs, sentences, or words.
Diff Checker
Compare two texts side by side. Highlight differences between documents, code, or strings.
Character Counter
Count characters with and without spaces. Real-time counts for tweets, meta descriptions, and forms.