Text & String Utilities100% Client-Side

Format a List into Text Columns

Paste a vertical list to lay it out in columns using spaces. The converter trims the ends of each item, removes blank lines, and fills the resulting columns from top to bottom before moving across. It sizes each column from its longest item. This works well for a short directory, roster, or options list that will be read in a monospaced view.

Configuration Options
Input
35 chars•6 lines
Output

How to Use the Format Text into Aligned Columns Online

  1. 1Paste one item per line, keeping any spaces that belong inside an item.
  2. 2Choose the number of columns from 2 through 10.
  3. 3Set Column Spacing to the minimum number of spaces between adjoining columns.
  4. 4Inspect the layout in a monospaced editor before copying it into the destination.

Input & Output Examples

At two columns with spacing 2, the first column fills with three items and the second column has two.

Input Sample
A
BB
CCC
D
EE
Expected Output
A    D
BB   EE
CCC

At two columns with spacing 2, the blank line is skipped and Red receives one extra space to align its column with Blue.

Input Sample
  Red 

Blue
Green
Tan
Expected Output
Red   Green
Blue  Tan

Practical Developer Workflows

  • Format a roster from a vertical list into a compact plain-text block.
  • Arrange short labels for a terminal help message using a consistent column gap.
  • Preview how long and short entries affect column widths before sharing a text report.

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

It goes down the first column and then continues at the top of the next column. Read down each column in turn to recover the original list order. The last column can contain fewer entries than the earlier ones.

Explore Other Tools

12 suggested tools

View all tools