Text Padding Generator
Pad every line of your text to a fixed width with spaces or any character you choose.
Fills each line of your text with a character of your choice — a space, a symbol, whatever you need — until it hits the exact width you set. Handy for lining up text, formatting source code, and forcing data fields to a fixed column width.
도구를 불러오는 중…
🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.
How to use
- Paste your text into the input box.
- Choose which side to pad (left, right, or both) and set the target width.
- Enter the fill character (a space by default) and decide whether lines longer than the target width should be truncated.
- Check the live output and copy it.
FAQ
- Can I pad with characters other than spaces?
- Yes. Any character works — dashes (-), underscores (_), periods (.), or anything else you type in.
- How are emoji and CJK characters counted?
- Counting is grapheme-aware by default, so emoji and Korean characters are each counted as a single character rather than as multiple code units.
- What happens to a line that's already longer than the width I set?
- By default, a line that's already longer than your target width is left untouched — no padding is added. If you turn on the 'truncate overflow' option, though, anything past your set width gets cut off so every line ends up exactly at that fixed length.
