Text to Columns
Free online text to columns. Process data instantly in your browser. No upload, no signup, fully private.
How to Use
- Paste or type your text into the Text to Columns input area above.
- Configure any format or mode options to generate the result in real time.
- Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.
What is Text to Columns?
Text to Columns splits raw multi-line text into neatly padded, pipe-aligned monospaced table columns using either a custom delimiter (CSV, semicolon, tab) or fixed character widths. Analysts and developers use it to inspect flat files, align fixed-width mainframe exports, and format readable console tables.
How It Works
Inside your browser, `textToColumns()` splits text by `\n` and either divides each row on your delimiter string (default `,`) or slices lines into fixed character chunks (`width >= 1`). It measures the maximum length of each column across all rows, pads cells with trailing spaces via `.padEnd()`, and joins columns with ` | `.
Common Use Cases
- Readable CSV inspection — turn ragged comma- or semicolon-delimited rows into aligned `col1 | col2 | col3` columns
- Fixed-width record parsing — switch to "By fixed width" and specify column width (e.g. 10 chars) to slice legacy logs
- Markdown or Slack table prep — align raw delimited data cleanly before pasting into monospaced chat blocks
- Tab/pipe conversion — pass `\t` or `|` as delimiter to inspect TSV or pipe-separated exports locally
Technical Details
Execution: browser-local `textToColumns()` supporting `delimiter` mode (default `,`) and `fixed` width mode (integer >= 1). Computes per-column max length across rows and formats output left-padded with ` | ` separators.
FAQ
Is this Text to Columns free?
Yes, completely free. No signup required.
Does this tool upload my data?
No. All processing happens locally in your browser. Your data never leaves your device.