Trailing-fill padding to a target width
The op is JavaScript's `String.prototype.padEnd(width, char)`. Every line shorter than Width is extended on the right with the Pad char until it hits Width. Lines already at or above Width are emitted unchanged - right padding never truncates.
Only the first character of the Pad char field is used. If you type `abc`, padding uses `a`. Blank Pad char falls back to a space.
For leading-fill (numeric right-alignment, zero-padded IDs), use Left pad. Padding is not reversible - the inverse concept is trim in trailing mode, which strips trailing whitespace.
How to use right pad list items
- 1Paste your list into the input panel
- 2Set Width - the target character count (default `8`)
- 3Set Pad char - a single character used to fill (default space)
- 4Lines shorter than Width get the Pad char appended until they reach Width
- 5Lines already at or above Width are emitted unchanged
Keyboard shortcuts
Drive ListShift without touching the mouse.
What this tool actually does
Fixed-width trailing-fill. That is it.
Left-aligned fixed-width columns
Width `10`, Pad char space turns variable-length names into `apple ` / `banana ` / `cherry ` - left-aligned, constant width.
ToC-style dot leader
Width `20`, Pad char `.` produces `Chapter 1...........`. Pair with Add a suffix for a page number after the leader.
Border or rule fill
Pad char `-` or `=` can extend lines to a uniform width for ASCII-style dividers.
Only the first character of Pad char is used
If you paste `ab` into Pad char, padding uses `a`. Blank Pad char falls back to a space.
Lines at or above Width pass through
Right padding never truncates. A line longer than Width is emitted as-is.
Worked example
Width `10`, Pad char `-`. Every line padded with trailing dashes to 10 characters.
apple banana cherry
apple----- banana---- cherry----
Settings reference
How each option shapes the output using the sample above.
| Setting | What it does | Effect on the sample |
|---|---|---|
| Width: `10`, Pad char: `-` | Trailing-fill with dashes to 10 chars | `apple-----` / `banana----` / `cherry----` |
| Width: `10`, Pad char: space | Left-aligned column | `apple ` / `banana ` / `cherry ` (trailing spaces preserved) |
| Width: `4`, Pad char: space | Line already at or above 4 → unchanged | `apple` / `banana` / `cherry` (all unchanged) |
| Pad char: `abc` | Only first character used - `a` | `apple----` becomes `appleaaaaa` with Width 10, char `abc` |
| Blank-line behaviour (automatic) | Empty line becomes Width × Pad char | Empty line → `----------` (10 dashes with char `-`) |