AZ Tools

Column Aligner — Align Text into Columns

Text

Paste rows of data and align their fields into clean, evenly-spaced columns — like the Unix column -t command. Choose whether fields are split by whitespace, commas or tabs, align them left or right, and set the gap between columns. Ragged rows and blank lines are preserved, and no trailing spaces are added. Everything runs locally in your browser — nothing is uploaded.

Aligned output

How to use

  1. Paste your rows into the input box, one record per line.
  2. Pick the field delimiter, alignment and column gap.
  3. Copy the aligned, monospaced output.

Frequently asked questions

What delimiters are supported?
Whitespace (any run of spaces or tabs), commas, or tabs. With whitespace, leading and trailing spaces are ignored and runs collapse to a single split point.
Does it add trailing spaces?
No. Each line is padded only as needed for alignment, and trailing padding at the end of every line is trimmed.
What about rows with different numbers of fields?
They are handled fine. Column widths are computed across all rows, and shorter rows simply stop after their last field.
Is my data sent anywhere?
No. Alignment happens entirely in your browser; nothing is uploaded.

Related tools