Text Column Formatter
Lay out a block of text in fixed-width columns for a README, terminal, or other monospace document. Processing stays in your browser.
Format text into fixed-width columns
A QUICK WALKTHROUGH
How to use this tool
- Enter up to 30,000 characters of text.
- Choose 2–6 columns, a width from 10–80 characters, and a gutter from 1–8 spaces.
- Format the text, review any overlong words that were truncated, then copy or download the result.
Wrap, then arrange
Whitespace separates words and is normalized to single spaces. The formatter greedily adds each word to the current line until it would exceed the selected width, then starts another line. Wrapped lines are divided as evenly as possible among columns and padded with spaces for monospace alignment.
Review long words
A single word longer than the selected width is truncated without a hyphen, matching the source tool behavior. The result status reports how many words were truncated so this loss is visible. Choose a wider column or review the output before using it.
Local text processing
Text is formatted in this browser and is not uploaded. Input is limited to 30,000 characters, columns to 2–6, width to 10–80 characters, and gutter to 1–8 spaces. Display width for some Unicode characters can vary between monospace fonts.
GOOD TO KNOW
Common questions
Does this preserve my original spaces and line breaks?
No. Whitespace is treated as word separation and normalized to single spaces before wrapping.
What happens to a word longer than the column width?
It is truncated to the selected width without a hyphen, and the result status reports the number of truncated words.
Will the columns align in every font?
The output uses spaces and is intended for monospace fonts. Some Unicode characters occupy different visual widths across fonts and terminals.