Plain-text reading
Wrap long source lines at a chosen character width.
Wrap text lines by setting the number of characters per line
Insert line breaks to make long text easier to read in plain-text layouts, using word boundaries by default.
Wrap long source lines at a chosen character width.
Create actual line breaks for a fixed-width destination.
Allow fixed-width splits when word-boundary wrapping is not suitable.
Start with 40 characters per line or enter your own value.
Each original line is wrapped independently. The tool places words on lines that fit the requested width. With Break long words off, a single oversized word can exceed that width; turn it on to wrap at a fixed character width, allowing splits inside any word. Existing paragraph boundaries remain separate.
Choose the options before applying the transformation.
Characters per line: initially 40. Accepted range: 1 to 10000. Break long words: initially off.
A short input makes the transformation easier to inspect.
This example was checked with the current tool. The options shown apply only to this example; your editor keeps the settings you select.
Good writing starts with a clear idea.
Good writing starts with a clear idea.
Upload a text file, write directly, or try the sample.
The entry screen accepts one UTF-8 TXT, CSV, JSON, XML, HTML or HTM file and opens the editor. Imports are text content, not a PDF or Word conversion. Review the source and choose Word Wrap when ready. Editing or importing alone does not apply the transformation.
Check the report before saving or continuing with the text.
Result overview shows Target line width, the Longest line in the result and the input-to-result line totals. If the longest line exceeds the target, check for an oversized word and review Break long words. Open Show spaces and tabs to reveal spaces as ·, tabs as ⇥ and line endings as ↵. These marks are only a preview; copied and downloaded text keeps its actual whitespace. Copy the reviewed text or use the download icon to save UTF-8 TXT. Editing the result hides the calculated details until you run the tool again. Continue to offers compatible next tools for the current text and their limits. Review the transferred text before running the next operation.
Maximum input and result: 1 MB of UTF-8 text, with a 1,048,576-character input ceiling. Expanding transformations must also fit the result limit. The whitespace preview shows at most 12,000 Unicode code points. This preview limit does not shorten the editable result or its TXT download.
This text operation runs in your browser; its source and result are not sent for conversion. A draft may be kept in this browser tab when session storage is available. Clear removes the current draft; download important work before closing the tab.
See the Privacy Policy for file and data handling.
No. This tool processes text in your browser. Text-file imports and downloads stay on your device.
Yes. The result remains editable. Copy it or download a UTF-8 .txt file from the result page.
Text input and generated output are limited to 1 MB to keep your browser responsive. Split larger documents into smaller parts.
QUICK VIDEO TUTORIAL
Wrap text to a line width
Wrap text to a line width
English narration
Watch the video