About this tool
Reflow text so each line fits within a chosen column width, optionally breaking long words. It runs fully in your browser.
Width counts JavaScript string length per line, so an emoji counts as two. It defaults to 80, and an empty, zero or negative value is treated as 1. Text is split at existing line breaks and each line is wrapped separately, so blank lines survive. Breaks happen only at single spaces, not tabs.
With break long words off, a longer word stays on its own line and runs past the limit. With it on, the word fills the rest of the current line and is then cut into full-width pieces, without hyphens. Repeated spaces inside a line are kept, but spaces at the start of a line are dropped. The output box may fold lines on screen in a narrow window, but the copied text keeps your breaks.