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

  1. Paste your text.
  2. Choose Wrap and set the maximum line length, or choose Unwrap.
  3. Optionally add a line prefix and allow long words to be broken.
  4. 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.

Choose which cookies SEOpeck may use. You can change this at any time from "Cookie settings" at the bottom of every page.