Word Wrap

Word wrapping is when a line of text automatically "wraps" to the following line when it reaches the edge of a page or text field. Most text editors and word processors use word wrap to keep the text within the default margins of the page. Without word wrap enabled, the text continues on one line until the user presses "Enter" or "Return" to insert a line break. If the text extends past the window margin, the user must scroll horizontally to see the whole line.

When word wrap is enabled, the text editor takes the first word that does not fit on a line of text and moves it to the beginning of the next line. Word processing programs can also automatically hyphenate long words at the end of a line.

You can also prevent word wrap from breaking for a new line between two words by using a non-breaking space character instead of a normal space. Text editors treat two words separated by a non-breaking space as if they are a single word, instead breaking at the next available normal space.

NOTE: While it is uncommon, sometimes a word (or string of characters) will take up more than one line. In this case, the word wrap feature will break the string of characters once it reaches the end of the line and continue it onto the next one.

Updated February 16, 2023 by Brian P.

quizTest Your Knowledge

What interface element will display a flashing cursor when you click inside it?

Alert box
Dialog box
Text box
Correct! Incorrect!     View the Text Box definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Word Wrap on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.