Text Align Formatter

Calculate display width accurately (full-width = 2, half-width = 1) and pad lines with custom characters for left, right, or center alignment.

Max Width: 0

How to Use

  1. STEP 1
    Enter text with one item per line.
  2. STEP 2
    Choose alignment (Left/Right/Center) and a pad character.
  3. STEP 3
    Copy the aligned result and use it in a monospace font environment.
  • Alignment is accurate only in monospace fonts (e.g. monaco, Consolas). Proportional fonts will not align correctly.
  • Full-width characters count as width 2, half-width as width 1. Emoji widths may be inconsistent.

Tips

1

Perfect for formatting menus or lists in Slack/Discord code blocks.

2

Also useful for Markdown tables and fixed-width text formatting.

3

Use '─' as the pad character to create separator lines in text menus.

FAQ

  • Q1

    Half-width space or full-width space — which is recommended?

    Half-width space is recommended for monospace environments. Full-width spaces may render as 2 characters wide and break alignment.

  • Q2

    How is the max width determined?

    The max width is the display width of the widest line in your input. All lines are padded to this width.

  • Q3

    Will it align correctly in Excel?

    Excel cells use proportional fonts by default, so alignment will not be precise. This tool is designed for monospace terminals and text editors.

Related Articles

Related Tools