Align text into columns
Line up separator-delimited text into neat columns by padding every cell to the widest one.
Align text into columns
Paste lines of separator-delimited text — comma, tab, pipe, or any character you choose — and this tool lines up every column so the data reads cleanly, no matter how uneven the original values are. It measures the widest cell in each column and pads every other cell to match, so the second, third and later fields all start at the same horizontal position.
Set the separator to whatever splits your data, or leave it blank to split on runs of whitespace instead, useful for text that is already loosely spaced. Choose how each column aligns: left for names and labels, right for whole numbers, or decimal point for a mix of prices and measurements where the digits and decimals should stack correctly. Control the gap between columns with the spacing option, and pick whether padding uses plain spaces or a dotted leader, handy for menus or tables of contents. Turn on the ASCII table option to wrap the result in a bordered grid with +, - and | characters instead of plain padding.
Rows with fewer fields than the widest row are handled gracefully — missing cells are treated as empty. The keep empty cells option controls what happens when your separator appears twice in a row: on by default, so a blank field between two commas stays a real column instead of silently shifting every later value left. Both CRLF and LF line endings are accepted, and pathologically wide input is capped rather than allowed to freeze the tab.
Everything runs locally in your browser — nothing you paste is uploaded anywhere. Copy the aligned result, download it as a .txt file, or send it straight back into the input to apply another tool on top.