Text Wrapper
Paste text and choose the longest line you want. The text is broken at spaces so no line is longer than the limit, unless a single word does not fit.
Use the tool
Loading the tool…
About Text Wrapper
Break a long text into lines of a set width, counted in characters. Choose whether to break words that are longer than the width.
Worked example
Paste a paragraph and set 40 characters per line. The tool puts a line break every 40 characters or at the nearest space.
Limits
Wrapping at a set width does not fit text to a real screen or printed page, because letter widths vary. Check the result where it will be used.
How to use Text Wrapper
- Paste your text.
- Enter the maximum characters per line, for example 72 or 80.
- Tick the box if very long words should be broken, then copy the wrapped text.
Good to know
- Wrapping happens at spaces. A word longer than the width stays on its own line unless you tick the box to break long words.
- Each existing line is wrapped on its own, so blank lines and paragraph gaps stay where they are.
- Several spaces in a row inside a line become one space.
- Width is counted in characters, so very wide characters such as some emoji may look longer than the limit.
Frequently asked questions
What width should I use?
Plain-text emails and code comments often use 72 or 80 characters per line.
Does it join lines back together?
No. It only breaks long lines. Short lines stay as they are.
Is anything I type saved or sent?
No. The work happens in your browser on this page, and nothing is stored or sent to us.