Free online tools

Word Wrap Text by Width

Insert hard line breaks at a chosen width for a note, plain-text email, or code comment. Keep paragraphs together or wrap each input line independently.

Enter your values

Widths count visible text clusters, including spaces.

This tool processes your input in your browser.

Result

Reflow a paragraph or keep its line boundaries

Use paragraph mode to join old hard wraps before inserting new breaks. An empty line keeps two paragraphs apart. When each existing line has its own meaning, wrap the lines independently. Spaces between words are normalized to one space.

Work with accents, emoji and long labels

The width is measured in grapheme clusters in browsers that support Unicode segmentation. A combining accent or joined emoji stays together when a long word is split. The measurement is character-based, so a wide glyph can occupy more space in a terminal font.

Frequently asked questions

Can I keep a long URL or identifier together?

Choose to keep long words intact. A value longer than the selected width stays on one line, and the result reports each such word.

Can I keep a separate line for each list item?

Yes. Select Wrap each input line independently so each list item starts on its own line.

Will the result change width when I paste it elsewhere?

The output contains line breaks at the positions shown. A narrow display can still wrap a line visually when there is less room than the line needs.