Text Wrapper
Wrap long lines at a set width without breaking words, or unwrap hard-wrapped text.
Text Wrapper
Plain-text email, commit messages, code comments and README files often need lines under a set width, such as 72 or 80 characters. This tool wraps at word boundaries, can prefix each line (for example "> " for email quotes or "// " for comments), and can do the reverse: unwrap hard-wrapped text back into flowing paragraphs.
How to use Text Wrapper
- Paste your text.
- Choose Wrap and set the maximum line length, or choose Unwrap.
- Optionally add a line prefix and allow long words to be broken.
- Copy the result.
When it comes in handy
- Formatting git commit messages and plain-text emails.
- Turning paragraphs into comment blocks for code.
- Unwrapping text copied from a terminal or old email.
Frequently asked questions
- Are paragraphs kept?
- Yes. Blank lines separate paragraphs, and each paragraph is wrapped or unwrapped on its own.