Text Pad Tool

Pad text or each line to a fixed width using any fill character, with left, right, or center alignment.

0 characters 0 lines

Padding Settings

space
Alignment
Pad each line On

Width Ruler

Target: 20
Copied!

Summary

Pad text or each line to a fixed width using any fill character, with left, right, or center alignment.

How it works

  1. Type or paste your text into the input area.
  2. Set the target width (minimum length) for the padded output.
  3. Choose a fill character — space is the default.
  4. Select an alignment: left, right, or center.
  5. Toggle "Pad each line" to apply padding line by line or to the whole block.
  6. Copy the padded result with one click.

Use cases

  • Align columns in plain-text tables or reports.
  • Zero-pad numeric strings for fixed-width file formats.
  • Center headings in monospace console output.
  • Right-align labels before values in log lines.
  • Pad identifiers or codes to a uniform length.
  • Prepare fixed-width data for legacy systems or CSV imports.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu