Word Wrap — Reflow Text to a Column Width
Text
Paste text and wrap it to a maximum line width. Each line is greedily filled with as many words as fit, then a line break is inserted at the next word boundary — ideal for commit message bodies, emails, code comments and plain-text formatting. Existing line breaks and blank lines are kept, and you can optionally break words longer than the width. Everything runs locally in your browser — nothing is uploaded.
Lines: 2 · Longest: 39
How to use
- Paste or type your text into the input box.
- Set the line width and choose whether to break overly long words.
- Copy the wrapped text from the output box.
Frequently asked questions
- Does it merge my existing lines?
- No. Each input line is wrapped independently, so existing line breaks and blank lines are preserved. It only adds breaks, never removes them.
- What happens to a word longer than the width?
- By default it stays on its own line and overflows the width. Turn on 'Break long words' to split such words across lines at the width.
- How is wrapping decided?
- Words are packed greedily: each line takes as many whole words as fit within the width, then the next word starts a new line. Runs of spaces within a line collapse to single spaces.
- Is my text sent anywhere?
- No. Wrapping happens entirely in your browser; nothing is uploaded.
Related tools
Markdown Table to CSV Converter
Convert a GitHub-flavored Markdown table into CSV, TSV or semicolon-separated rows, in your browser.
Markdown Table Generator
Paste CSV, TSV, or pipe-delimited data and get a properly aligned GitHub-flavored Markdown table.
Text Diff Viewer
Compare two pieces of text and see line-by-line or word-by-word additions and removals.
Lorem Ipsum Generator
Generate placeholder text by paragraphs, sentences, or words.
Case Converter
Convert text between UPPER, lower, Title, camelCase, snake_case and more.
Character & Word Counter
Count characters, words, sentences, lines, and bytes in real time.