Skip to main content

Text Wrap and Unwrap

Reflow text to a column width — a CJK character counts as two columns, a Latin letter as one — breaking preferably at spaces and punctuation, or strictly by width, while keeping closing punctuation off the line start. Unwrap mode rejoins hard-wrapped text from PDFs, adding spaces between English words and removing end-of-line hyphens.

Runs in your browser Real-time
Input

Width is measured in monospace columns: a CJK character is 2 columns, a Latin letter 1. So 60 columns holds about 30 Chinese characters or 60 English ones.

Result

          

About this tool

Reflow text to a column width — a CJK character counts as two columns, a Latin letter as one — breaking preferably at spaces and punctuation, or strictly by width, while keeping closing punctuation off the line start. Unwrap mode rejoins hard-wrapped text from PDFs, adding spaces between English words and removing end-of-line hyphens.

How to use

  1. Fill in the input box above, or click "Fill sample" to try it instantly
  2. Adjust the options as needed — results update as you type
  3. Click "Run" to get the result, then copy or export it in one click

Tips

  • Runs entirely in your browser — your data never leaves the device
  • Completely free, no registration, no usage limits
  • Most tools compute in real time as you type