↩️ Word Wrap Tool
Wrap long text at a fixed line width, breaking at word boundaries where possible. Useful for formatting code comments or fitting text into a fixed-width display area.
How to use
- Enter the text you want to wrap.
- Set the maximum characters per line (width).
- Choose whether to force-break words longer than the width — the wrapped result appears automatically.
FAQ
Can I avoid breaking in the middle of a word?
Uncheck "Force-break long words" — any word longer than the specified width will be kept whole on its own line instead of being split.
How are blank lines handled?
Blank lines (paragraph breaks) in the original text are preserved as blank lines in the result.
Does this account for full-width vs half-width characters when counting width?
No, this tool uses simple character counting where every character counts as 1, regardless of its visual width.