Text Wrapper
Hard-wrap paragraphs at a column width such as 72 for git commit bodies or 78 for email, with an optional prefix for quotes and comments, keeping paragraph breaks.
Free · No sign-up · Your inputs stay in your browser
Input
Wrap text at a fixed width
Output
Wrapped
Longest line 71 columns
Git convention is a subject under about 50 characters and a body wrapped at 72, so git log's four-space indent still fits in 80 columns; RFC 5322 recommends 78 for email. fold -s -w 72 does the same in a shell, and fmt -w 72 also joins short lines.
Runs in this browser. Nothing you paste is sent to a server.
About this tool
Method, assumptions, practical next steps, and limits.
Where fixed widths matter
Git does not wrap commit messages, and git log indents the body by four spaces, so a body wrapped at 72 still fits in 80 columns; a long subject is truncated in many tools. Plain-text email is wrapped at 78 characters by convention from RFC 5322, and many code styles limit comments to 80 or 100.
In a shell
fold -s -w 72 wraps at spaces, and fmt -w 72 also joins short lines into paragraphs.