You might want the column command, usually with --table / -t to produce basic tabular output:
From the man page:
-t, --tableDetermine the number of columns the input contains and create a table. Columns are delimited with whitespace, by default, or with the characāters supplied using the –output-separator option. Table output is useful for pretty-printing.
column -t [file]
# or from stdin
cat file | column -t
# For a quick demonstration, format the output of mount
mount | column -t
column has a lot of other complex options. man column for details.