Wrap text

Wrap text at a chosen number of grapheme clusters, preserving existing lines or reflowing within paragraphs.

Each input: 128 KiB, 65,536 UTF-16 units and 5,000 lines; 256 KiB combined. Full output plus parts: at most 512 KiB, with 5,000 lines in the full text and each part, and 100 parts; 5-second deadline. Output converts CR/CRLF into LF. The original remains in the field.

This selection controls comparison, letter case and cluster boundaries; it does not change the site interface language.

1–1,000 clusters, not pixels or fixed-width columns; wrapping may occur inside a word. Reflow turns a single LF into a space and preserves paragraph breaks containing consecutive LFs.

How to use

Paste text, select its processing language and width. Choose to preserve existing line breaks or join single breaks within paragraphs. Process and review the new breaks before copying or downloading.

Try an example

At width 2, AB👩‍💻C becomes a line containing AB followed by a line containing 👩‍💻C; the joined emoji remains one cluster.

Support & limits

Width counts Intl.Segmenter grapheme clusters, not pixels or monospace columns; words may be split between clusters. Preserve mode keeps existing breaks and adds hard wraps. Reflow converts a single LF into a space while retaining paragraph breaks containing consecutive LFs. Missing segmentation support produces an error instead of splitting Unicode.

Common questions

Does a Hindi character or joined emoji stay intact?

Wrap boundaries occur between grapheme clusters, not UTF-16 units. This does not guarantee identical visual widths across fonts or languages.

Related tools