Hard wrap text when the line breaks must be stored in the text itself. An editor's soft wrapping only changes how text looks in its window. Hard Wrap Text inserts real line breaks at your chosen width and keeps blank-line paragraph boundaries.

A small width makes the behavior visible

Enter alpha beta gamma and choose a width of ten. The first output line is alpha beta, which contains ten characters including its space. The second line is gamma. The tool places whole words on the next line when they will not fit.

For an email excerpt, terminal note or plain text attachment, choose the width expected by its destination. The supported range is ten to two hundred Unicode code points. A narrow width helps demonstrate the operation, but it may be unsuitable for the finished document.

Check the destination's editor settings too. An editor can apply soft wrapping on top of your stored line breaks, making a correctly wrapped file appear to have additional short lines.

What happens to the original newlines?

Within a paragraph, ordinary single newlines are joined before the text is wrapped again. Repeated spacing is also normalized. Blank lines distinguish paragraphs and are retained as paragraph boundaries.

This means a note pasted from a narrow window can be reflowed, but a poem with a deliberate break after every line would lose that arrangement. Indented code, aligned tables and whitespace-sensitive configuration are also poor inputs for prose wrapping. Preserve those in their original editor or process only the surrounding prose.

Keep a source copy. If the result seems to have merged two sections, check whether the source separated them with a single newline rather than a blank line.

Choose a policy for words wider than the line

A long URL or identifier may exceed the target width on its own. You can leave that word intact, accepting a wider line, or enable splitting of long words. Splitting a URL across stored lines can make it harder to copy or recognize as a link, so choose according to the destination.

The width count uses Unicode code points. It does not measure pixels, terminal display cells or user-perceived characters composed of multiple code points. A line containing emoji, combining marks or wide characters may therefore look different from a line of ASCII letters with the same count.

If you also need centered or padded plain text, use Text Alignment and Justification after deciding the width. Padding adds spaces, so inspect it in a monospace view.

Use Text Compare to inspect the source and result when paragraph structure matters. Expect changed whitespace, then look specifically for unintended changes to words or boundaries. The tool accepts up to two hundred thousand input characters; split a larger document at real paragraph boundaries.

Use the tools in this guide