Text Wrapper

Hard-wrap each line to a set width, counting characters so CJK text wraps correctly.

Tool Panel

Loading tool...
About Text Wrapper

Wraps each line at the width you choose. Counting is by character rather than by word, so scripts without spaces wrap correctly too. Words that fit stay intact; anything longer than the width (a link, or a run of text without spaces) is split hard.

  • 1

    Wrapping counts characters rather than words, so Chinese and Japanese — which have no spaces — wrap correctly. A word-based wrapper produces one giant unbroken line on such text.

  • 2

    Tokens that fit stay whole: Latin text is split on spaces and broken between words, never mid-word.

  • 3

    A token longer than the width (a URL, an unspaced CJK run) is split hard, and that is the only case where a word gets cut.

Related tools

View all
Word Counter
Text Tools

Word Counter

Count characters, words and lines as you type.

Text Tools
Case Converter
Text Tools

Case Converter

Switch between upper, lower, camel, snake and other case styles.

Text Tools
Text Diff
Text Tools

Text Diff

Compare two texts and highlight exactly what changed.

Text Tools
Find and Replace
Text Tools

Find and Replace

Replace across a whole document, with optional regular expressions.

Text Tools
Text Cleaner
Text Tools

Text Cleaner

Strip extra spaces, blank lines and stray markup in one pass.

Text Tools
Remove Duplicate Lines
Text Tools

Remove Duplicate Lines

Drop repeated lines and leave the list unique.

Text Tools