Text Padding Tool
Pad every line to a fixed width with any fill character — left, right, or center aligned.
How text padding works
Text padding ensures every line is a fixed width, filling empty space with a chosen character. Left-padding (fill right) creates a ragged-right format; right-padding creates right-aligned columns like a table; center-padding centres each line. This is useful for ASCII art, generating fixed-width log output, aligning code comments, or building plain-text tables.
To split text before padding, use the String Splitter. For line-number prefixes, see Add Line Numbers.
Private & free — this tool runs entirely in your browser.
Related Text Tools tools
Case Converter
Convert between Sentence, Title, camelCase, snake_case, and more.
Word Counter
Count words, characters, and analyze keyword density.
Text to Binary
Convert text into its 8-bit binary representation.
Binary to Text
Decode 8-bit binary back into readable text.
Text Reverser
Reverse text by characters, words, or lines.
Remove Duplicate Lines
Delete repeated lines and keep your list unique.
Remove Empty Lines
Strip blank and whitespace-only lines from text.
Sort Lines Alphabetically
Sort lines A–Z or Z–A, case-sensitive or not.