Quick

Padding Tool

Pad each line of text out to a fixed length — useful for aligning columns or fixed-width output.

Advertisement

About this tool

Each line is padded independently to the target length. If a line is already longer than the target, it's left unchanged. "Both" pads evenly on each side, favouring the right side when the padding amount is odd.