← Hashito System Home 日本語 Tools Blog
Input
Wrapped result
0
Lines
0
Widest line

When text goes into a fixed-width place, it often helps to insert the line breaks in advance. Terminal output, plain text email, comments inside source code and subtitle lines are the usual cases. This tool inserts breaks so that no line exceeds the width you set. Existing line breaks are kept as paragraph boundaries, and blank lines stay blank.

Pick the counting rule that matches your target. Use "Count full-width as 2" when columns must line up in a monospaced font, because one Japanese character occupies two half-width columns. Use "Count every character as 1" when you are matching a field that limits the number of characters. To check the amount afterwards use the Character Counter, and to change the line ending itself use the Line Ending Converter.

Frequently asked questions

How are full-width and half-width characters counted?

Choose "Count full-width as 2" and each full-width character counts as two columns and each half-width character as one. Use this when you need columns to line up in a monospaced font, for example fitting Japanese into a 76-column plain text layout. Choose "Count every character as 1" and one visible character counts as one, which matches input fields that limit the number of characters.

Can it avoid breaking words in the middle?

Yes. Choose "Keep words together" and the text wraps on spaces so words stay intact. A single word longer than the width is still split, because it cannot fit on one line. Japanese has no spaces between words, so Japanese text still wraps at the given width.

Is the text sent to a server?

No. Wrapping runs entirely in your browser with JavaScript. Nothing you paste is sent to a server.