Word Wrap
Wrap text to a maximum line width at word boundaries, great for fixed-width terminals, code comments and plain-text emails. Free and private, right in your browser.
Reflows plain text so no line runs past a character width you set, handy for tidying up commit messages, README paragraphs, code comments, or copy-pasted text that came in as one giant unbroken line. Everything happens in your browser, so nothing you paste ever leaves your machine.
How to use it
- Paste your text into the box
- Set your target line width (e.g. 80 characters)
- Copy the wrapped result
Frequently asked questions
- How does it decide where to break lines?
- It wraps at the last space before your line width, so words stay whole. If a single word is longer than the width itself, it gets cut mid-word so the line limit is never exceeded.
- Does it touch existing line breaks in my text?
- Paragraphs (text separated by blank lines) are re-wrapped as a unit. If you want your original line breaks preserved exactly, use hard-wrap mode instead of reflow, or turn off paragraph joining.
- What line width should I use?
- 80 characters is the classic default for code comments, commit messages, and plain-text emails. Use 72 for git commit bodies, or match whatever your terminal, README, or man page convention expects.
- 1
Nothing is uploaded
The file never leaves your device. There is no server to send it to, so there is nothing to leak, log, or subpoena.
- 2
No signup, no limits
No account, no email, no daily cap, no watermark, and no paid tier waiting behind the third file.
- 3
Works offline
Load the page once and it keeps working with the network off, because all the work was always happening locally.