Text Wrapper Online
Wrap or unwrap text at a specified character width.
What is Text Wrapper?
Wraps long lines of text at a specified column width, breaking at word boundaries (word wrap) or exactly at the character limit (hard wrap). Also includes an unwrap mode that joins wrapped lines back into single paragraphs.
Common Use Cases
Formatting text for email clients (72 chars), Git commit messages (72 chars body), terminal output (80 chars), code comments, and preparing text for monospaced environments.
How It Works
Splits text into words, accumulates them into lines up to the specified width, and inserts newlines at word boundaries. Hard wrap breaks at exactly the character limit.
Frequently Asked Questions
What is the standard wrap width for email?
72 characters is the traditional standard for plain text email. Some clients use 76 or 80.
What does "unwrap" do?
Unwrap joins consecutive non-empty lines into single paragraphs, preserving blank lines as paragraph separators.
Related Tools
Add Line Numbers
Add line numbers to every line of your text.
Remove Extra Spaces
Collapse multiple spaces and trim leading or trailing whitespace.
Sort Lines Alphabetically
Sort any list of lines alphabetically — A–Z or Z–A.
Word Counter
Count words, characters, sentences, and paragraphs instantly.