Pad Left Text Online

Online tool for adding padding characters to the left side of each lines if it's shorter than length. Padding characters will be truncated if they exceed length.

About Pad

This tool is used to make text in each lines to have at least certain length, where padding characters are placed on the left side of the original text.

Example 1

Text:

abc
a
abcdefghij
Length:
10
Characters:
.
Output:
.......abc
.........a
abcdefghij

Example 2

Text:

abc
a
abcdefghij
Length:
10
Characters:
_-
Output:
_-_-_-_abc
_-_-_-_-ab
abcdefghij