How to Use the Right Pad Text Online with Custom Fill
- 1Paste the records or labels, one per line if they need independent padding.
- 2Set Target Length to the minimum length required for each line.
- 3Choose a padding character such as a period, or keep the default space.
- 4Copy the output and check that the destination preserves any trailing spaces you need.
Input & Output Examples
Set Target Length to 4 and fill with a period to show the padding added after each line.
Input Sample
A
XYZExpected Output
A...
XYZ.With length 4 and a hyphen, the first line retains its trailing space, the blank line fills, and Wide is already long enough.
Input Sample
A
WideExpected Output
A --
----
WidePractical Developer Workflows
- Reserve space after labels in a fixed-width text export.
- Use visible fill characters to inspect the boundary of a short record in a fixture.
- Normalize short values before concatenating them with a second field that starts at a known position.
Zero Server Uploads & Complete Privacy
Runs 100% in your browser; no data is uploaded to any server.
Notice a bug, calculation error, or outdated info?
Let us know directly so our engineering team can fix it.
Frequently Asked Questions
Yes. The tool measures the line as entered, so existing spaces count toward its target length. It adds only the missing padding after them. Check the source when you need all padding to use one consistent character.